Futures Market Overview
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/futuresimport requests
url = "https://api.asksurf.ai/gateway/v1/market/futures"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/futures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"funding_rate": 123,
"long_short_ratio": 123,
"open_interest": 123,
"symbol": "<string>",
"updated_at": 123,
"volume_24h": 123,
"volume_change_24h": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketFuturesItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Market
Futures Market Overview
GET
/
gateway
/
v1
/
market
/
futures
Futures Market Overview
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/futuresimport requests
url = "https://api.asksurf.ai/gateway/v1/market/futures"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/futures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"funding_rate": 123,
"long_short_ratio": 123,
"open_interest": 123,
"symbol": "<string>",
"updated_at": 123,
"volume_24h": 123,
"volume_change_24h": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketFuturesItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}