Skip to content
Indexer AccessAPI reference

Pools

Pool identity, swaps, ticks, candles, liquidity and rolling statistics, including Uniswap V4.

Pool-address routes; V4 uses manager + pool ID through parallel routes. Protocol-native V2 reserves and concentrated-liquidity depth remain separate.

20 routes · Prefix: /index/v1/{chain} · Header: x-api-key.

Shared contract.

Pools By Currency

GET /currencies/{currency}/pools

Pools containing the currency on either side.

ParameterInRequiredNotes
currencypathyes0x-prefixed 20-byte hex address.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

Pool

GET /pools/{address}

Pool identity: protocol, both currencies, fee and tick spacing, factory coordinate, embedded stats.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.

Pool ATH

GET /pools/{address}/ath

All-time high price for the pool.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.

Pool ATL

GET /pools/{address}/atl

All-time low, same shape.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.

Pool Liquidity

GET /pools/{address}/liquidity

Exact V2 reserves or V3 active depth at the current tick. liquidityUsd marks each side independently: V2 reserves or V3 current-tick-spacing range amounts. An unpriced side yields null with a reason; usdMarks records marks.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.

Pool OHLCV

GET /pools/{address}/ohlcv

Two-sided volumes and rational OHLC; 1m/1h/1d, plus retained sub-minute frames.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.
framequeryyesWidth: 1s, 30s, 1m, 1h, 1d. Sub-minute rows require durable fine-candle retention; check fineSeriesAvailable.
fromqueryyesInclusive Unix-second start, floored to frame width; must be <= to.
toqueryyesInclusive Unix-second end, floored to frame width. Span has a fixed candle-bucket cap.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

Pool Stats

GET /pools/{address}/stats

Rolling 5m/1h/4h/24h statistics for the pool.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.

Pool Swaps

GET /pools/{address}/swaps

Exact swaps for the pool with full block, transaction and log coordinates.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

Pool Ticks

GET /pools/{address}/ticks

Per-trade tick rows enriched with transaction context.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

Pool Bars

GET /pools/{address}/ticks/bars

N-trade/volume bars folded over ticks. Bar cursors resume the same tick-coordinate walk as swaps/ticks.

ParameterInRequiredNotes
addresspathyes0x-prefixed 20-byte hex address.
rulequeryyestrade or volume.
sizequeryyesDecimal-string threshold: trade count for trade; exact quote-base-unit quantity for volume (may exceed integer query types).
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

New Pools

GET /pools/new

Newest-first feed of registered pools, by creation coordinate.

ParameterInRequiredNotes
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.
GET /pools/search

Default discovery order: sort=pool_identity. sort=volume_24h matches /tokens/{address}/pools/ranked: quote-native with quote, otherwise USD with unpriced pools last. Requires token and descending order; refinement/allowScan rules apply. Rows add rank, quoteAsset, rankedVolume24hQuote, rankedVolume24hUsd; pages add rankingBasis, membership, usdMarks.

sort=liquidity returns 400; use /tokens/{address}/pools/ranked?sort=liquidity.

ParameterInRequiredNotes
allowScanquerynoRequired for refinement filters (fee_tier, protocol, created_from, created_to) that examine unreturned rows. Unfiltered anchor-currency and token+quote pages are indexed.
tokenquerynoPool currency; token, quote, or both required as the indexed anchor.
quotequerynoOther pool currency; at least one of token/quote required.
fee_tierquerynoFee-tier refinement.
protocolquerynoProtocol refinement.
factoryquerynoAlways 400: factory identity is not retained/filterable/reportable.
created_fromquerynoCreation lower-bound refinement.
created_toquerynoCreation upper-bound refinement.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

V4 Pool

GET /pools/v4/{manager}/{pool_id}

V4 identity by manager + pool ID.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.

V4 Pool Liquidity

GET /pools/v4/{manager}/{pool_id}/liquidity

V4 liquidity observation, plus liquidityUsd as for V3.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.

V4 Pool OHLCV

GET /pools/v4/{manager}/{pool_id}/ohlcv

V4 candles.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.
framequeryyesWidth: 1s, 30s, 1m, 1h, 1d. Sub-minute rows require durable fine-candle retention; check fineSeriesAvailable.
fromqueryyesInclusive Unix-second start, floored to frame width; must be <= to.
toqueryyesInclusive Unix-second end, floored to frame width. Span has a fixed candle-bucket cap.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

V4 Pool Stats

GET /pools/v4/{manager}/{pool_id}/stats

V4 rolling-window statistics.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.

V4 Pool Swaps

GET /pools/v4/{manager}/{pool_id}/swaps

V4 swaps.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

V4 Pool Ticks

GET /pools/v4/{manager}/{pool_id}/ticks

V4 per-trade ticks.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

V4 Pool Bars

GET /pools/v4/{manager}/{pool_id}/ticks/bars

V4 trade/volume bars. Bar cursors resume the same tick-coordinate walk as swaps/ticks.

ParameterInRequiredNotes
managerpathyesV4 manager; requires pool_id. Source paired contract/poolId from GET /pools/search or GET /pools/new ("protocol":"v4"). Unsupported by /pools/{address}.
pool_idpathyesStored hex V4 ID; pair with its row's contract as manager.
rulequeryyestrade or volume.
sizequeryyesDecimal-string threshold: trade count for trade; exact quote-base-unit quantity for volume (may exceed integer query types).
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

Pools By Token

GET /tokens/{currency}/pools

Pool-identity order, including pools where the currency is the quote; no ranking. Volume-ranked token markets: /pools/ranked.

ParameterInRequiredNotes
currencypathyes0x-prefixed 20-byte hex address.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.
orderquerynoSchema enum/default; asc only without reverse traversal.

View this page as Markdown