GET
/
dex
/
exchanges
Information - DEX Protocols
curl --request GET \
  --url https://api.amberdata.com/market/defi/dex/exchanges \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "exchangeName": "uniswapv2",
      "exchangeId": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
      "numPairs": "329843"
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Query Parameters

exchange
string

[Optional] The exchange for which to retrieve the requested data (address or name).<BR/>[Examples] 0x1f98431c8ad98523631ae4a59f267346ea31f984 | uniswapv3

sortBy
string
default:numPairs

[Optional] Sorting criteria for exchanges.<BR/>[Defaults] name* | numPairs

Response

200 - application/json

200

The response is of type object.