> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get OI Exchange Chart

Get historical Open Interest data across all exchanges formatted for chart visualization. Returns time-series data per exchange for building OI comparison charts. Supports various time intervals. Ideal for: OI trend charts, exchange OI comparison, market structure analysis, dashboard visualizations.

![Get OI Exchange Chart logo](https://ai-icon.b3.fun/logo/coinglass)
Catalog action Blockchain Data

Get historical Open Interest data across all exchanges formatted for chart visualization. Returns time-series data per exchange for building OI comparison charts. Supports various time intervals. Ideal for: OI trend charts, exchange OI comparison, market structure analysis, dashboard visualizations.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-get-oi-exchange-chart` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `open-interest`, `chart`, `exchange`, `historical`, `futures`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | `string` | Yes | Coin symbol \(e.g., 'BTC', 'ETH'\). Get historical open interest chart data across exchanges. |
| `interval` | `string` | No | Data aggregation time interval. Supported values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 1w. |
| `limit` | `number` | No | Maximum number of data points to return. |
| `startTime` | `number` | No | Start timestamp in seconds \(e.g., 1641522717\). |
| `endTime` | `number` | No | End timestamp in seconds \(e.g., 1641522717\). |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | `string` | Yes | Coin symbol. |
| `interval` | `string` | Yes | Time interval. |
| `exchanges` | `array` | Yes | Array of exchange data with historical chart points |
| `priceData` | `array` | No | Price data points \(if available\) |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-get-oi-exchange-chart",
  "payload": {
    "symbol": "ETH"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-get-oi-exchange-chart/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "symbol": "ETH"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.