Token Rankings
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/rankingimport requests
url = "https://api.asksurf.ai/gateway/v1/market/ranking"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/ranking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"change_24h_pct": 123,
"high_24h": 123,
"low_24h": 123,
"market_cap_usd": 123,
"name": "<string>",
"price_usd": 123,
"rank": 123,
"symbol": "<string>",
"volume_24h_usd": 123,
"ath": 123,
"atl": 123,
"circulating_supply": 123,
"fdv": 123,
"image": "<string>",
"max_supply": 123,
"total_supply": 123
}
],
"meta": {
"cached": true,
"credits_used": 123,
"limit": 123,
"offset": 123,
"total": 123
},
"$schema": "https://example.com/schemas/DataResponseMarketTopCoinItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Market
Token Rankings
GET
/
gateway
/
v1
/
market
/
ranking
Token Rankings
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/rankingimport requests
url = "https://api.asksurf.ai/gateway/v1/market/ranking"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/ranking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"change_24h_pct": 123,
"high_24h": 123,
"low_24h": 123,
"market_cap_usd": 123,
"name": "<string>",
"price_usd": 123,
"rank": 123,
"symbol": "<string>",
"volume_24h_usd": 123,
"ath": 123,
"atl": 123,
"circulating_supply": 123,
"fdv": 123,
"image": "<string>",
"max_supply": 123,
"total_supply": 123
}
],
"meta": {
"cached": true,
"credits_used": 123,
"limit": 123,
"offset": 123,
"total": 123
},
"$schema": "https://example.com/schemas/DataResponseMarketTopCoinItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Query Parameters
Field to sort by. market_cap sorts by total market capitalisation, change_24h sorts by 24-hour price change percentage (fetches top 250 by market cap then sorts client-side), volume_24h sorts by 24-hour trading volume.
Available options:
market_cap, change_24h, volume_24h Example:
"market_cap"
Optional token category filter. When provided, results are limited to coins in that category. Supported values: MEME, AI, AI_AGENTS, L1, L2, DEFI, GAMING, STABLECOIN, RWA, DEPIN, SOL_ECO, BASE_ECO, LST.
Available options:
MEME, AI, AI_AGENTS, L1, L2, DEFI, GAMING, STABLECOIN, RWA, DEPIN, SOL_ECO, BASE_ECO, LST Example:
"MEME"