Get DEX token pair address

Fetch the pair data of the provided token0+token1 combination.
The token0 and token1 options are interchangable (ie. there is no different outcome in "token0=WETH and token1=USDT" or "token0=USDT and token1=WETH")

Path Params
string
required

The token0 address

string
required

The token1 address

Query Params
string
enum
Defaults to eth

The chain to query

string

The block number to get the reserves from

string

Get the reserves up to this date (any format that is accepted by momentjs)

  • Provide the param 'to_block' or 'to_date'
  • If 'to_date' and 'to_block' are provided, 'to_block' will be used.
string
enum
required

The factory name or address of the token exchange

Allowed:
Response

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json