Token Price History
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/priceimport requests
url = "https://api.asksurf.ai/gateway/v1/market/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"timestamp": 123,
"value": 123,
"metric": "<string>",
"symbol": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketMetricPoint.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Market
Token Price History
GET
/
gateway
/
v1
/
market
/
price
Token Price History
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/priceimport requests
url = "https://api.asksurf.ai/gateway/v1/market/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"timestamp": 123,
"value": 123,
"metric": "<string>",
"symbol": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketMetricPoint.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}