API ReferenceToken APIGet Pairs & LiquidityGet Token Pairs by AddressGet Token Pairs by Address Mainnet OnlyLooking for token pairs by address on Solana?Access token pairs data on Solana using our API.Explore Solana APIGEThttps://deep-index.moralis.io/api/v2.2/erc20/:token_address/pairsGet the supported pairs for a specific token address.PATH PARAMStoken_addressstringrequiredThe address of the token contractQUERY PARAMSchainstringThe chain to queryeth0x1sepolia0xaa36a7holesky0x4268polygon0x89polygon amoy0x13882bsc0x38bsc testnet0x61avalanche0xa86afantom0xfacronos0x19arbitrum0xa4b1gnosis0x64gnosis testnet0x27d8chiliz0x15b38chiliz testnet0x15b32base0x2105base sepolia0x14a34optimism0xalinea0xe708linea sepolia0xe705moonbeam0x504moonriver0x505moonbase0x507flow0x2ebflow-testnet0x221ronin0x7e4ronin-testnet0x7e5lisk0x46flisk-sepolia0x106apulse0x171limitnumberThe desired page size of the result.cursorstringThe cursor returned in the previous response (used for getting the next page).Responses200Returns the supported pairs for the token.400Bad Request404Not Found429Too Many Requests500Internal Server ErrorAPI KEYTest Live APIcURLNode.jsPythonGoPHPcurl --request GET \ --url 'https://deep-index.moralis.io/api/v2.2/erc20/0x6982508145454ce325ddbe47a25d4ec3d2311933/pairs?chain=eth&limit=25' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' // Node.js v18+ has native fetch support// No additional dependencies requiredconst options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' },};fetch('https://deep-index.moralis.io/api/v2.2/erc20/0x6982508145454ce325ddbe47a25d4ec3d2311933/pairs?chain=eth&limit=25', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));# Dependencies to install:# $ python -m pip install requestsimport requestsurl = "https://deep-index.moralis.io/api/v2.2/erc20/0x6982508145454ce325ddbe47a25d4ec3d2311933/pairs?chain=eth&limit=25"headers = { "Accept": "application/json", "X-API-Key": "YOUR_API_KEY"}response = requests.request("GET", url, headers=headers)print(response.text)package mainimport ( "fmt" "net/http" "io")func main() { url := "https://deep-index.moralis.io/api/v2.2/erc20/0x6982508145454ce325ddbe47a25d4ec3d2311933/pairs?chain=eth&limit=25" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://deep-index.moralis.io/api/v2.2/erc20/0x6982508145454ce325ddbe47a25d4ec3d2311933/pairs?chain=eth&limit=25', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns the supported pairs for the token.{ "cursor": "string", "page_size": 100, "page": 2, "pairs": [ { "exchange_address": "0x1f98431c8ad98523631ae4a59f267346ea31f984", "exchange_name": "Uniswap v3", "exchange_logo": "https://entities-logos.s3.us-east-1.amazonaws.com/uniswap.png", "pair_label": "USDC/WETH", "pair_address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "from_address_entity_logo": "https://opensea.io/favicon.ico", "usd_price": 1.0006209353320241, "usd_price_24hr_percent_change": -0.060345507380585806, "usd_price_24hr_usd_change": -0.0006041943845493947, "liquidity_usd": 147124866.6, "base_token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "quote_token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "pair": [ { "token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "token_name": "USD Coin", "token_symbol": "USDC", "token_logo": "https://logo.moralis.io/0x1_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48_d021d841dc113e213b32a0cb11ec2f86", "token_decimals": "6", "pair_token_type": "token0", "liquidity_usd": 81480213.24 } ] } ]}