Open Interest history (aggregated)
GET/api/v1/open-interest/history-aggregated
Historical Open Interest time series for a single token, broken down per exchange and aggregated to a fixed bucket (avg within bucket). The default lookback depends on the requested interval — 7 days for 1h, 30 days for 4h, 1 year for 1d — so callers don't have to hand-tune from/to for typical queries. The response also includes token metadata (icon, symbol, name) so a single call paints the whole header strip.
Request
Query Parameters
Token id
Possible values: [5m, 15m, 1h, 4h, 1d]
Aggregation interval
1hStart unix-ms (default: depends on interval — 7d for 1h, 30d for 4h, 1y for 1d)
End unix-ms (default: now)
Header Parameters
Your DataMaxi+ API key
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
Data is keyed by exchange id → time-series points ordered by t asc.
property name*
object[]
exchange_url
object
token
object
specifies cmc id of the token
specifies the token icon url path
specifies the unique id
specifies the name of token
specifies the token symbol
{
"data": {},
"exchange_url": {},
"token": {
"cmc_id": "string",
"icon": "string",
"id": "string",
"name": "string",
"symbol": "string"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error specifies the error message
{
"error": "string"
}