Exchange Ticker Price
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/priceimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"ask": 123,
"bid": 123,
"change_24h_pct": 123,
"exchange": "<string>",
"high_24h": 123,
"last": 123,
"low_24h": 123,
"pair": "<string>",
"timestamp": 123,
"volume_24h_base": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangePriceItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Exchange
Ticker Price
GET
/
gateway
/
v1
/
exchange
/
price
Exchange Ticker Price
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/priceimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"ask": 123,
"bid": 123,
"change_24h_pct": 123,
"exchange": "<string>",
"high_24h": 123,
"last": 123,
"low_24h": 123,
"pair": "<string>",
"timestamp": 123,
"volume_24h_base": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangePriceItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}