Derivatives history

Open interest, funding and long/short history back to 2020 on every bar size from 5 minutes to 1 day, plus 1-minute and 3-minute bars for the last 30 days, with CSV download.

API

GET /api/open-interest/{coin}?from=2020-01-01&interval=4h
GET /api/funding-history/{coin}?from=2020-01-01&venue=okx
GET /api/positioning?symbol={coin}&from=2021-01-01&interval=1d
GET /api/derivatives-minute/{coin}?metric=oi&interval=1m
add &format=csv for CSV
JSON with a free account (your session or an API key). Exchange archives (Binance, OKX) and the Hyperliquid API, checked against the exchanges' own numbers.