Skip to main content

Returns

ListPairsForTokenResponse!
See ListPairsForTokenResponse

Arguments

Int
The maximum number of pairs to return.
Int!
required
The network ID the token is deployed on.
String!
required
The contract address of the token.

Example

Test this query in the Explorer →

Usage Guidelines

  • Query using tokenAddress (contract address) and networkId (chain ID)
  • Returns up to 250 pairs (default 10). Larger limit values return 250.
  • Results are not sorted by liquidity, so sort by liquidity yourself to find the main pair.
  • token is always the token you queried (tokenAddress)
  • backingToken is the other token in the pair (for example WETH or USDC)
  • quoteToken indicates which token (token0 or token1) is the quote token for price calculations
  • Use the exchange field to get DEX information including trade URLs

Troubleshooting Tips

In each result, token is always the token you queried (tokenAddress), and backingToken is the other token in the pair (for example WETH or USDC). This tells you which side of the pair is which.
listPairsWithMetadataForToken returns pairs for a specific token with rich metadata including exchange info. filterPairs is more flexible for searching across all pairs with various filters but returns less detailed metadata per result.
Only pairs with sufficient liquidity and trading activity are indexed. Very new pairs or those with minimal liquidity may not appear immediately.
This query returns liquidity and volume but not current prices. Use pairMetadata with the pair ID from the results to get detailed price and stats data.
This query returns all pairs for a token across all exchanges. To filter by specific exchanges, use filterPairs with the exchangeAddress filter instead.
  • Detailed Token Page: Build a comprehensive token detail page with price, holders, trades, and real-time updates
Last modified on October 2, 2026