curl --request GET \
--url https://www.sharpe.ai/api/v1/market/derivatives-overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/market/derivatives-overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/market/derivatives-overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"total_oi_usd": 123,
"avg_funding_rate": 123,
"oi_weighted_funding_rate": 123,
"top_coins_oi": [
{
"coin": "<string>",
"open_interest_usd": 123,
"exchange_count": 123
}
],
"exchange_count": 123,
"coin_count": 123,
"oi_excluded_venues": [
{
"exchange": "<string>",
"reason": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z"
},
"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
}
}Market-wide derivatives overview
Returns aggregated derivatives metrics: total open interest, average and OI-weighted 8-hour-equivalent funding rates, top coins by open interest, exchange count, coin count, and update timestamp. Open interest is one-sided USD notional per venue (each contract counted once); venues listed in oi_excluded_venues are left out of every open-interest total and weight. total_oi_usd is the market-wide open interest GET /v1/global/overview publishes (metrics.openInterestUsd): every crypto asset holding at least $100K plus the RWA perps. The funding averages are over each (venue, asset) primary contract with a fresh rate (600 s), an asset being the funding grid’s row (PEPE, 1000PEPE and KPEPE are one asset), exactly as GET /api/funding/rates?stats=1 computes them; the OI-weighted average weights each rate by that contract’s own open interest. The request fails closed when either source dataset is unavailable.
curl --request GET \
--url https://www.sharpe.ai/api/v1/market/derivatives-overview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/market/derivatives-overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/market/derivatives-overview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"total_oi_usd": 123,
"avg_funding_rate": 123,
"oi_weighted_funding_rate": 123,
"top_coins_oi": [
{
"coin": "<string>",
"open_interest_usd": 123,
"exchange_count": 123
}
],
"exchange_count": 123,
"coin_count": 123,
"oi_excluded_venues": [
{
"exchange": "<string>",
"reason": "<string>"
}
],
"updated_at": "2023-11-07T05:31:56Z"
},
"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
}
}
