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 — aggregated across pools

Same format as pool OHLCV, but aggregated across all pools for a token — broader market view.
Token OHLCV →
Pool OHLCV reflects a single pool’s price action. Token OHLCV aggregates across all pools — use it for a broader market view.
3

Pool trades — last 300 trades

Recent swap activity for a specific pool — monitor execution or trigger alerts on large trades.
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.