Exchange Long/Short Ratio History
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/long-short-ratioimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/long-short-ratio"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/long-short-ratio', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"exchange": "<string>",
"long_short_ratio": 123,
"pair": "<string>",
"timestamp": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangeLongShortRatioItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Exchange
Long/Short Ratio History
GET
/
gateway
/
v1
/
exchange
/
long-short-ratio
Exchange Long/Short Ratio History
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/long-short-ratioimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/long-short-ratio"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/long-short-ratio', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"exchange": "<string>",
"long_short_ratio": 123,
"pair": "<string>",
"timestamp": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangeLongShortRatioItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}