Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Historical open interest data for crypto futures
GET https://api.marketdataset.ai/crypto/open-interest
symbol
BTCUSDT
ETHUSDT
exchange
binance
interval
5m
1h
1d
start_date
end_date
limit
100
1000
cursor
curl "https://api.marketdataset.ai/crypto/open-interest?symbol=BTCUSDT&interval=1h&limit=10" \ -H "X-API-KEY: sk_your_key"
import requests response = requests.get( "https://api.marketdataset.ai/crypto/open-interest", params={"symbol": "BTCUSDT", "interval": "1h", "limit": 10}, headers={"X-API-KEY": "sk_your_key"}, ) print(response.json())
{ "open_interest": [ { "symbol": "BTCUSDT", "exchange": "binance", "interval": "1h", "open_interest": 84231.45, "open_interest_value": 5743821234.12, "timestamp": "2024-11-01T15:00:00+00:00" } ], "next_page_url": null, "meta": { "request_id": "req_abc123", "credits_used": 0.01, "credits_remaining": 49.99 } }
open_interest
open_interest_value