Skip to main content
GET
Returns one market (a liquidity pool) with its base/quote orientation, prices, pool-level stats over rolling windows, and details for both tokens. To fetch up to 100 markets in one request, use Batch market details.

How the pool is resolved

The address you pass is resolved in this order:
  1. Pool. If address matches a pool on chain (a pool contract address, or a 32-byte pool id for pools identified by an id rather than a contract, such as Uniswap V4, PancakeSwap Infinity and Ekubo pools), that pool is returned.
  2. Token. Otherwise address is treated as a token. Up to 25 of the token’s pools are considered, and the one with the highest 24h volume is returned (the token’s “best pool”).
  3. If neither matches, the response is 404 POOL_NOT_FOUND.

Base and quote orientation

Every market has a baseToken and a quoteToken. Prices such as priceUSD, priceToken and priceTokenString are prices of the base token, and tokenSymbol, tokenName, description and socials describe the base token. The base side is chosen like this:
  1. If you pass baseToken and it is one of the pool’s two tokens, it becomes the base.
  2. Otherwise the pool’s default base is used. Typically a stablecoin or the chain’s native/wrapped coin is the quote side, so in a WETH/USDC pool WETH is the base.
  3. If the pool has no default base, the pool’s first token (token0) is the base.
A baseToken that is not in the pool is ignored, not rejected.
When you pass a token address, the resolved pool keeps its default orientation, so the base is not guaranteed to be the token you asked for. For example, passing a stablecoin’s address usually returns a pool where the stablecoin is the quote. To get prices for the token you asked about, pass the same address as baseToken:/market/details?address=0xa0b8…eb48&chain=1&baseToken=0xa0b8…eb48

Query parameters

string
required
Pool address (0x + 40 hex), 32-byte pool id (0x + 64 hex), or token address (0x + 40 hex). Case-insensitive; responses use lowercase.
string
required
Chain id, as a number (1) or with the evm: prefix (evm:1). Chain names such as ethereum are rejected. See Chains and identifiers.
string
Token address (0x + 40 hex) to use as the base side. Only applied if it is one of the pool’s two tokens; otherwise ignored.

Response

"success"
Always success for a 2xx response.
MarketDetailsOutput
The market.
Unlike token details, a market has no top-level liquidityMaxUSD. Token-level liquidityUSD and liquidityMaxUSD are available inside base and quote. The top-level liquidityUSD, marketCapUSD, marketCapDilutedUSD and all windowed stats are measured for this pool only.
poolFeePercentage is a fraction (0.0005 = 0.05%), while priceChange{W}Percentage and bondingPercentage are on a 0 to 100 scale.

Stats windows

Windowed stats are rolling windows that end at the time of the last stats update. They do not align to calendar boundaries. No priceChange15minPercentage field exists. Every other combination of metric and window does. Field names are built as <metric><window><suffix>:

Errors

See Responses and errors for the error envelope.