DeFi Protocol Ranking
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/project/defi/rankingimport requests
url = "https://api.asksurf.ai/gateway/v1/project/defi/ranking"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/project/defi/ranking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"name": "<string>",
"fees": 123,
"logo_url": "<string>",
"revenue": 123,
"symbol": "<string>",
"tvl": 123,
"users": 123,
"volume": 123
}
],
"meta": {
"cached": true,
"credits_used": 123,
"limit": 123,
"offset": 123,
"total": 123
},
"$schema": "https://example.com/schemas/DataResponseProjectTopRankItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Project
DeFi Protocol Ranking
GET
/
gateway
/
v1
/
project
/
defi
/
ranking
DeFi Protocol Ranking
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/project/defi/rankingimport requests
url = "https://api.asksurf.ai/gateway/v1/project/defi/ranking"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/project/defi/ranking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"name": "<string>",
"fees": 123,
"logo_url": "<string>",
"revenue": 123,
"symbol": "<string>",
"tvl": 123,
"users": 123,
"volume": 123
}
],
"meta": {
"cached": true,
"credits_used": 123,
"limit": 123,
"offset": 123,
"total": 123
},
"$schema": "https://example.com/schemas/DataResponseProjectTopRankItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}