Get open interest history (Deprecated)
Deprecated: use /v1/hyperliquid/openinterest/{symbol}, which serves the same Hyperliquid data. Responses carry Deprecation: true and Link: </v1/hyperliquid/>; rel="successor-version". No removal date is set.
Get historical open interest data with associated market context (mark price, oracle price, volume, etc.).
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/openinterest/{symbol}
- Auth: API key in header X-API-Key
Path parameters
Trading pair symbol (e.g., BTC, ETH, SOL)
Query parameters
Start timestamp. Defaults to 24h ago. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.
End timestamp. Defaults to now. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.
Opaque pagination cursor: pass meta.next_cursor from the previous page unchanged, with the same filters. Omit it for the first page. If not provided, starts from the beginning of the range.
Maximum number of results (default: 100, max: 1000)
Response
Open interest data
Example response
{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"timestamp": "2025-01-21T10:30:00.000Z",
"open_interest": "500000.00",
"mark_price": "42500.50",
"oracle_price": "42498.25",
"day_ntl_volume": "10000000.00",
"prev_day_price": "42000.00",
"mid_price": "42500.75"
}
],
"meta": {
"symbol": "BTC",
"venue": "hyperliquid"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.