DEXs List by Network
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks/{network}/dexes \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "uniswap_v2",
"type": "dex",
"attributes": {
"name": "Uniswap V2"
}
},
{
"id": "sushiswap",
"type": "dex",
"attributes": {
"name": "SushiSwap"
}
}
]
}ID Map
DEXs List by Network
To query all the supported decentralized exchanges (DEXs) based on the provided network on GeckoTerminal
GET
/
onchain
/
networks
/
{network}
/
dexes
DEXs List by Network
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks/{network}/dexes \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "uniswap_v2",
"type": "dex",
"attributes": {
"name": "Uniswap V2"
}
},
{
"id": "sushiswap",
"type": "dex",
"attributes": {
"name": "SushiSwap"
}
}
]
}Use this endpoint to get DEX IDs for other endpoints that require a
dex parameter.SDK Examples
const response = await client.onchain.networks.dexes.get('eth');
console.log(JSON.stringify(response, null, 2));
Authorizations
headerAuthqueryAuth
Learn how to set up your API key
Path Parameters
Network ID.
*refers to /onchain/networks.
Query Parameters
Page through results. Default value: 1
Response
200 - application/json
List of supported DEXs on a network
Show child attributes
Show child attributes
Was this page helpful?
⌘I

