GET
/
dex
/
pairs
Information - Pairs in DEX Protocols
curl --request GET \
  --url https://api.amberdata.com/market/defi/dex/pairs \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "metadata": {
      "next": "https://api.amberdata.com/market/defi/dex/pairs?size=10&exchange=uniswapv3&format=json&page=1"
    },
    "data": [
      {
        "exchangeName": "uniswapv3",
        "exchangeId": "0x1f98431c8ad98523631ae4a59f267346ea31f984",
        "pairName": "RALPH_WETH",
        "pairAddress": "0x0000d36ab86d213c14d93cd5ae78615a20596505",
        "baseAddress": "0x60f99e81d7e9634d1de93af5301e3321c960a575",
        "baseName": "Rekt Ralph",
        "baseSymbol": "RALPH",
        "baseDecimals": "18",
        "quoteAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "quoteName": "Wrapped Ether",
        "quoteSymbol": "WETH",
        "quoteDecimals": "18",
        "poolFees": "0.01",
        "poolAddresses": [
          "0x60f99e81d7e9634d1de93af5301e3321c960a575"
        ],
        "poolNames": [
          "Rekt Ralph"
        ],
        "poolSymbols": [
          "RALPH"
        ],
        "poolDecimals": [
          "18"
        ]
      }
    ]
  }
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Query Parameters

exchange
string
default:uniswapv3
required

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

pair
string

The pair for which to retrieve the request data (address).<BR/>[Example] 0x5777d92f208679db4b9778590fa3cab3ac9e2168

asset
string

The asset for which to retrieve the requested data (address or symbol).<BR/>[Examples] 0x6b175474e89094c44da98b954eedeac495271d0f | DAI

size
integer
default:1000

[Optional] Maximum number of items in payload.data.<BR/>

Response

200 - application/json

200

The response is of type object.