Protocol
The Protocol API allows you to easily get protocol information.
Last updated
curl -X 'GET' \
'https://pro-openapi.debank.com/v1/protocol?id=compound' \
-H 'accept: application/json' -H 'AccessKey: YOUR_ACCESSKEY'{
"id": "compound",
"chain": "eth",
"name": "Compound",
"site_url": "https://app.compound.finance",
"logo_url": "https://static.debank.com/image/project/logo_url/compound/0b792243f1f68e9ed082f5a49ee6f21d.png",
"has_supported_portfolio": true,
"tvl": 12763095483.420198
}curl -X GET "https://pro-openapi.debank.com/v1/protocol/list?chain_id=eth" \
-H "accept: application/json" -H 'AccessKey: YOUR_ACCESSKEY'[
{
"id": "0x",
"chain": "eth",
"name": "0x",
"site_url": "https://0x.org",
"logo_url": "https://static.debank.com/image/project/logo_url/0x/140b607264f4741133c35eb32c6bc314.png",
"has_supported_portfolio": true,
"tvl": 76569161.44038972
},
{
"id": "1inch",
"chain": "eth",
"name": "1inch V1",
"site_url": "https://1inch.exchange",
"logo_url": "https://static.debank.com/image/project/logo_url/1inch/ac1216f33116fd76db915cb0b0f5c666.png",
"has_supported_portfolio": false,
"tvl": 0
}
// more...
]curl -X GET "https://pro-openapi.debank.com/v1/protocol/all_list?chain_ids=eth,bsc" \
-H "accept: application/json" -H 'AccessKey: YOUR_ACCESSKEY'[
{
"id": "0x",
"chain": "eth",
"name": "0x",
"site_url": "https://0x.org",
"logo_url": "https://static.debank.com/image/project/logo_url/0x/140b607264f4741133c35eb32c6bc314.png",
"has_supported_portfolio": true,
"tvl": 76569161.44038972
},
{
"id": "1inch",
"chain": "eth",
"name": "1inch V1",
"site_url": "https://1inch.exchange",
"logo_url": "https://static.debank.com/image/project/logo_url/1inch/ac1216f33116fd76db915cb0b0f5c666.png",
"has_supported_portfolio": false,
"tvl": 0
}
// more...
]
curl -X GET "https://pro-openapi.debank.com/v1/app_protocol/list" \
-H "accept: application/json" -H 'AccessKey: YOUR_ACCESSKEY'[
{
"id": "hyperliquid",
"name": "Hyperliquid",
"site_url": "https://app.hyperliquid.xyz",
"logo_url": "https://static.debank.com/image/project/logo_url/arb_hyperliquid/98dcfcb24e1ec2ab0da74679e0bfa0bb.png",
"has_supported_portfolio": true
},
{
"id": "lighter",
"name": "Lighter",
"site_url": "https://app.lighter.xyz",
"logo_url": "https://static.debank.com/image/project/logo_url/arb_lighter/bdafdb3b7eaf487c5914d448fc559671.png",
"has_supported_portfolio": true
},
{
"id": "opinion",
"name": "Opinion",
"site_url": "https://app.opinion.trade/",
"logo_url": "https://static.debank.com/image/project/logo_url/app_opinion/03c1258a684791f0cc6042124f8ab1d4.png",
"has_supported_portfolio": true
},
{
"id": "polymarket",
"name": "Polymarket",
"site_url": "https://polymarket.com/",
"logo_url": "https://static.debank.com/image/project/logo_url/app_polymarket/265aca8cef9212e094ef24c71a01c175.png",
"has_supported_portfolio": true
}
// more...
]