Skip to main content

Set up your API key

Build faster with AI

TL;DR
Use /onchain/…/token_price for onchain pricing, /onchain/…/pools/…/ohlcv for DEX charts, /onchain/…/pools/…/trades for trade history, and /onchain/…/tokens/…/top_holders for wallet distribution.
Replace YOUR_API_KEY in the examples below with your actual key. Get one here β†’

Token Analytics

1

Onchain token pricing β€” /onchain/.../token_price/{addresses}

Real-time prices for any onchain token by contract address β€” including tokens not listed on Coingecko. Batch multiple addresses in one call.
Onchain Simple Price β†’
Use /onchain/networks to get the full list of 200+ supported network IDs.
2

Token market data β€” /onchain/.../tokens/{address}

Price, volume, FDV, market cap, price changes, and transaction counts for a token.
Token Data β†’
3

Token metadata β€” /onchain/.../tokens/{address}/info

Description, socials, websites, Coingecko ID, and GeckoTerminal analytics score.
Token Info β†’
The coingecko_coin_id field bridges onchain data to Coingecko’s main API β€” use it with /coins/{id} for community and developer metrics.

Pool Discovery & Liquidity

1

Pool details β€” /onchain/.../pools/{address}

Reserve (TVL), volume, price, transaction counts, and price changes for a specific pool.
Pool Data β†’
reserve_in_usd is your liquidity indicator β€” total value locked in the pool.
2

Trending pools β€” /onchain/networks/trending_pools

Hottest liquidity pools across all networks β€” spot early DeFi momentum.
Trending Pools β†’ | By Network β†’
3

Advanced screening β€” /onchain/pools/megafilter

Filter pools by volume, liquidity, age, network, DEX, and more β€” the most powerful pool discovery endpoint.
Pools Megafilter β†’

DEX Charts & Trades

1

Pool OHLCV β€” sub-minute candles

OHLCV for a specific pool with second, minute, hour, and day timeframes.
Pool OHLCV β†’
Response format: [timestamp, open, high, low, close, volume].
2

Token OHLCV β€” by token address

Same format as pool OHLCV, but queried by token address β€” returns data from the token’s top (most liquid) pool, so you don’t need to look up the pool address first.
Token OHLCV β†’
Use Top Pools by Token Address to check which pool is used, or Pool OHLCV to chart a specific pool.
3

Pool trades

Recent swap activity for a specific pool β€” monitor execution or trigger alerts on large trades.On Analyst & above, set trading_period to 7d or 30d to look further back than the 24-hour default, and page through the results with cursor.
Pool Trades β†’
Use Token Trades for a cross-pool view of all trading activity for a token (Pro only).

Token Holder Analytics

1

Top holders β€” /onchain/.../tokens/{address}/top_holders

Wallet addresses, balances, and ownership percentages for the largest holders. The wallet_tag field identifies known entities (exchanges, protocols, treasuries).
Top Holders β†’
2

Holder count over time β€” /onchain/.../tokens/{address}/holders_chart

Historical holder count β€” rising count signals adoption, declining count may indicate distribution concerns.
Holders Chart β†’
Combine top holders with the holders chart β€” top holders shows current concentration, the chart reveals adoption trends over time.