Options open interest
curl --request GET \
--url https://www.sharpe.ai/api/v1/options/open-interest \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/options/open-interest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/options/open-interest"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"coin": "<string>",
"total": {
"oi": 123,
"call_oi": 123,
"put_oi": 123,
"put_call_ratio": 123
},
"venues": [
{
"exchange": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"oi": 123,
"call_oi": 123,
"put_oi": 123
}
],
"expiries": [
{
"expiry": "2023-11-07T05:31:56Z",
"oi": 123,
"call_oi": 123,
"put_oi": 123,
"put_call_ratio": 123,
"max_pain": 123
}
],
"strikes": [
{
"strike": 123,
"call_oi": 123,
"put_oi": 123
}
],
"history": [
{
"timestamp": "2023-11-07T05:31:56Z",
"exchange": "<string>",
"oi": 123,
"call_oi": 123,
"put_oi": 123
}
],
"futures_ratio": [
{
"timestamp": "2023-11-07T05:31:56Z",
"options_oi": 123,
"futures_oi": 123,
"ratio": 123
}
]
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}Derivatives
Options open interest
Returns a coin’s options open interest on Deribit, OKX, Bybit and Binance, read every hour: each venue’s latest reading summed, by expiry (with put/call ratio and max pain) and by strike, each venue’s hourly totals, and the ratio of options to futures open interest. Open interest is one side in US dollars; Deribit publishes it 8 hours late, so its reading is 8 hours older than the others’. History starts on 2026-11-17, when capture began.
GET
/
v1
/
options
/
open-interest
Options open interest
curl --request GET \
--url https://www.sharpe.ai/api/v1/options/open-interest \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/options/open-interest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/options/open-interest"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"coin": "<string>",
"total": {
"oi": 123,
"call_oi": 123,
"put_oi": 123,
"put_call_ratio": 123
},
"venues": [
{
"exchange": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"oi": 123,
"call_oi": 123,
"put_oi": 123
}
],
"expiries": [
{
"expiry": "2023-11-07T05:31:56Z",
"oi": 123,
"call_oi": 123,
"put_oi": 123,
"put_call_ratio": 123,
"max_pain": 123
}
],
"strikes": [
{
"strike": 123,
"call_oi": 123,
"put_oi": 123
}
],
"history": [
{
"timestamp": "2023-11-07T05:31:56Z",
"exchange": "<string>",
"oi": 123,
"call_oi": 123,
"put_oi": 123
}
],
"futures_ratio": [
{
"timestamp": "2023-11-07T05:31:56Z",
"options_oi": 123,
"futures_oi": 123,
"ratio": 123
}
]
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}Authorizations
BearerAuthApiKeyAuth

