Skip to main content
GET
Finds tokens, pools or assets that match a text or address. With an empty input, type=pools and type=all return the current top pools instead, which is useful for a default list before the user types.

Query parameters

string
Search text or address, at most 100 characters. Leading and trailing spaces are trimmed. Required (non-empty) unless type is pools or all. See How input is matched.
string
default:"tokens"
What to search. One of tokens, pools, assets, all. The shape of data depends on it (see Response).
string
Comma-separated chain IDs to search, for example 1,8453 or evm:1,evm:8453. Defaults to all chains. See Chains and identifiers. For type=assets it only filters each asset’s tokens list, not the assets themselves.
integer
default:"10"
Maximum number of results. Between 1 and 20. With type=all, the limit applies to tokens and pools separately.

How input is matched

The input is classified in this order:
  • Matching is case-insensitive. %, _ and \ are treated as literal characters.
  • Token searches look at both the token’s own name and symbol and the name and symbol of the cross-chain asset it belongs to. Word-inside-name matching uses the asset’s name when the token has an asset, and the token’s own name otherwise.
  • Remember to URL-encode the input, for example %22PEPE%22 for "PEPE" and wrapped%20ether for a space.

Results by type

type=tokens

Returns an array of SearchTokenOutput.
  • Liquidity floor. Text searches only return tokens with at least $1,000 of liquidity. Address searches have no floor.
  • One result per asset. Tokens are de-duplicated per chain and asset (or per chain and address, for tokens without an asset), keeping the one with the most liquidity. Searching usdc returns one USDC per chain, not every bridged copy.
  • LP tokens are excluded. Tokens whose address is itself a pool, for example LP share tokens, are left out.
  • Ranking for text searches. Results are sorted by tier × 1.5 − log10(max(liquidityUSD, 1)), then by liquidity and 24h volume (both descending). tier is 0 for an exact (case-insensitive) symbol or name match and 1 otherwise. Exact matches get a boost, but a partial match with much more liquidity can still rank above them.
  • Ranking for address searches. The token at that address comes first, then tokens deployed by that address, each group sorted by liquidity and 24h volume.

type=pools

Returns an array of MarketDetailsOutput. For top pools and direct address matches, baseToken is the pool’s own base token.

type=assets

Returns an array of SearchAssetOutput. input is required.
  • Text input matches the asset’s symbol and name with the rules above. An address returns the assets that have a token at that address.
  • Only assets with a price above 0 are returned.
  • Sorted by exact symbol or name match first, then market cap and liquidity (both descending).
For assets, chains does not filter which assets are returned. It only filters each asset’s tokens list, which can therefore be empty. Drop assets with an empty tokens array on the client if you only want assets on the given chains.

type=all

Returns an object { tokens: SearchTokenOutput[], pools: MarketDetailsOutput[] }:

Response

string
Always "success".
SearchTokenOutput[] | MarketDetailsOutput[] | SearchAssetOutput[] | object
An array for tokens, pools and assets. An object with tokens and pools arrays for all. Empty arrays when nothing matches.

SearchTokenOutput

string
Token address, lowercase.
string
Chain in evm:<id> form.
string
Token name.
string
Token symbol.
number
Token decimals.
number | null
Cross-chain asset ID, or null when the token has no asset.
Logo URL, chosen as in GET /token.
number
USD price. 0 when unknown.
string | null
Total supply as a raw integer string in base units.
string | null
Circulating supply as a raw integer string in base units.
number
Market cap in USD. 0 when unknown.
number
Fully diluted market cap in USD. 0 when unknown.
number
Token liquidity in USD, as in GET /token. 0 when unknown.
number
Total liquidity of the token’s top pools, both sides. 0 when unknown.
string | null
Address that deployed the token.
string | null
Launchpad ID, or null. See Protocols and launchpads.
object | null
Launchpad display data.
string | null
Token description.
object
Social links: twitter, website, telegram, each a URL string or null.
boolean
true when the token is listed on DexScreener.
number
Token volume over the last 24 hours, in USD.
number
Price change over the last 24 hours, in percent (6.42 means +6.42%).
string | null
Address of the token’s most active pool, or null. Pass it to GET /market/details.

SearchAssetOutput

number
Asset ID. Use it with GET /asset/ohlcv and GET /asset/history.
string
Asset name.
string
Asset symbol.
string | null
Asset logo URL.
number
Asset USD price.
number
Asset market cap in USD. 0 when unknown.
number
Asset liquidity in USD. 0 when unknown.
object[]
The asset’s tokens, ordered by chain ID. Filtered by chains when you pass it.

MarketDetailsOutput

Pool results use the same object as GET /market/details.
string
Pool address (20 bytes) or 32-byte pool id, lowercase.
string
Chain in evm:<id> form, for example evm:1.
string | null
Chain display name, for example Ethereum or Base. null if the chain has no configuration.
string
Pool type id, for example uniswap-v2, uniswap-v3, uniswap-v4, pancakeswap-infinity-cl, clanker-v4 or fourmeme. See Protocols and launchpads and GET /protocols for the list per chain.
object | null
Exchange that runs the pool. null when it can’t be identified.
string | null
Factory contract that created the pool.
string | null
Originating factory, for example a launchpad factory, when it differs from the DEX factory.
number | null
Swap fee as a fraction, not a percentage: 0.003 means a 0.3% fee and 0.0005 means 0.05%. null when the fee is unknown.
string | null
Address that deployed the pool.
string | null
Pool creation time, ISO 8601 (UTC).
boolean
true once a launchpad token has completed its bonding curve. false for ordinary pools.
number | null
Bonding-curve progress on a 0 to 100 scale.
string | null
Address of the pre-bonding curve pool, for launchpad tokens that graduated to this pool.
string
Address of the base token. Prices in this object are prices of the base token.
string
Address of the quote token (the other token in the pool).
string | null
Base token symbol.
string | null
Base token name.
number
USD price of the base token as implied by this pool. Same value as base.priceUSD, or 0 when base is null.
number
Price of one base token in quote-token units. Same value as base.priceToken, or 0 when base is null.
string | null
Exact pool price of the base token in quote-token units, as a decimal string with 32 fractional digits (for example "3512.07000000000000000000000000000000"). It is computed from the pool’s on-chain price and both tokens’ decimals. Use it when float precision matters. null when it can’t be computed, for example when either token’s details are unknown.
number
Pool liquidity in USD. 0 when the pool has no stats yet.
number
Market cap from the pool’s stats. 0 when the pool has no stats.
number
Fully diluted market cap from the pool’s stats. 0 when the pool has no stats.
string | null
Time of the pool’s latest trade, ISO 8601 (UTC).
number
Price change of the pool’s base token over window W, in percent (2.5 means +2.5%). W is one of 1min, 5min, 1h, 4h, 6h, 12h, 24h. There is no 15min price change. 0 when there is no earlier price.
number
Total, buy and sell volume in USD over window W. W is one of 1min, 5min, 15min, 1h, 4h, 6h, 12h, 24h.
number
Number of trades, buys and sells over window W.
number
Number of distinct buying, selling and trading wallets over window W.
number
Gas fees paid by traders for the pool’s trades over window W, in USD.
string | null
Base token description.
object | null
Base token social links.
boolean
Whether the base token is listed on DEX Screener.
object | null
Pool-type-specific state, such as sqrtPriceX96 or tickSpacing for concentrated-liquidity pools. Large integers are sent as strings. The keys depend on the pool type and may change, so treat this object as opaque and don’t rely on specific keys. null when there is nothing to report.
MarketTokenOutput | null
Details of the base token. null if the token’s details are not stored.
MarketTokenOutput | null
Details of the quote token, with the same fields as base. Here priceUSD is the quote token’s global USD price and priceToken is the price of one quote token in base-token units. null if the token’s details are not stored.

Behavior

  • Never 404. No match gives 200 with an empty array (or empty tokens and pools for type=all).
  • Slow searches return empty results. Each search query has a time limit of about 3 seconds. If it runs out, that part of the result is returned empty with 200, not an error. If a broad search such as a 3-letter prefix comes back empty unexpectedly, retry or narrow it with chains or a longer input.
  • Fewer results than limit. Tokens whose details aren’t stored are dropped after ranking, and tokens without a top pool produce no pool result, so you can get fewer than limit items.
  • Only indexed data. Search covers tokens and pools ChainQuery has already indexed. It doesn’t look addresses up on-chain.

Errors