Skip to main content
GET
/
onchain
/
networks
/
{network}
/
dexes
DEXs List by Network
curl --request GET \
  --url https://api.coingecko.com/api/v3/onchain/networks/{network}/dexes \
  --header 'x-cg-demo-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

x-cg-demo-api-key
string
header
required

Path Parameters

network
string
default:eth
required

Network ID. *refers to /onchain/networks.

Query Parameters

page
integer

Page through results. Default value: 1

Response

200 - application/json

List of supported DEXs on a network

data
object[]
required