curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/openinterest/{symbol} \
--header 'X-API-Key: <api-key>'{
"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",
"impact_bid_price": "<string>",
"impact_ask_price": "<string>"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Get historical open interest data with associated market context (mark price, oracle price, volume, etc.). Data available from May 2023.
curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/openinterest/{symbol} \
--header 'X-API-Key: <api-key>'{
"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",
"impact_bid_price": "<string>",
"impact_ask_price": "<string>"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get yours at https://www.0xarchive.io/dashboard/
Trading pair symbol (e.g., BTC, ETH, SOL)
"BTC"
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination
Maximum number of results (default: 100, max: 1000)
x <= 1000Aggregation interval. When omitted, returns raw ~1 min resolution data.
5m, 15m, 30m, 1h, 4h, 1d Open interest data
true
Hide child attributes
Trading pair symbol
"BTC"
Trading pair symbol (deprecated, use symbol instead)
"BTC"
Snapshot timestamp (UTC)
"2025-01-21T10:30:00.000Z"
Total open interest in contracts
"500000.00"
Mark price used for liquidations
"42500.50"
Oracle price from external feed
"42498.25"
24-hour notional volume
"10000000.00"
Price 24 hours ago
"42000.00"
Current mid price
"42500.75"
Impact bid price for liquidations
Impact ask price for liquidations
Was this page helpful?