Perpetuals API
How big is the options market next to futures, for BTC and ETH, by day?
Options open interest as a percentage of futures open interest for bitcoin and ether, one point per day since June 2020.
/api/external/perps/options-futures-oi-ratioWhat it returns
How large the options market is next to the futures market, one point per UTC day, oldest first: btcPct is bitcoin's options open interest across every options venue as a percentage of its futures open interest across every futures venue, and ethPct the same for ether. Daily from June 2020 to today; a few days are missing, and a missing day is simply absent. Only BTC and ETH are published. For one coin's options open interest venue by venue use options-history; for its futures open interest, derivatives-open-interest-history.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/perps/options-futures-oi-ratio"
| Parameter | Description |
|---|---|
limitquery · integer · optional | How many of the most recent days to return, 1 to 3000. Defaults to 100; 3000 answers the whole history. limit ≤ 600 keeps the answer under 32 KB. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
points | object[] | Oldest first; the last is today. |
points[].at | integer | The day's 00:00 UTC, unix seconds. |
points[].btcPct | number | null | BTC options open interest as a percentage of BTC futures open interest that day (e.g. 86.5 means options hold 86.5 % as much open interest as futures). null when there is no reading. |
points[].ethPct | number | null | ETH options open interest as a percentage of ETH futures open interest that day (e.g. 86.5 means options hold 86.5 % as much open interest as futures). null when there is no reading. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key