PancakeSwap

Claude ↗ChatGPT ↗
Client-executable: 46

PancakeSwap multi-chain DEX analytics: v2, v3, Infinity CL/Bin and Solana pools, OHLCV rate charts, ticks, bins, farms and stats.

Independent service, not affiliated with PancakeSwap. PancakeSwap is a trademark of its owner.

What you can get

  • PancakeSwap v2, v3, StableSwap and Infinity (CL & Bin) pools across EVM chains and Solana
  • Pool rate candlesticks, TVL and volume time series, APR estimates and active farm catalogs
  • Multi-chain pool discovery and candidate routing (also unified via /unified/dex/pools/{chain}/{pool}/ohlcv)

First request

Example: GET /cached/pools/list. Send your key in the X-Hub-Key header.

curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
  "https://openapihub.dev/run/pancakeswap/cached/pools/list?protocols=v3&chains=bsc"

Response

The provider's JSON arrives unchanged in data. Abridged example; values change with the market.

{
  "source": "pancakeswap",
  "status": 200,
  "data": {
    "rows": [{"id": "0x26deb2...", "protocol": "v3", "chainId": 56, "tvlUSD": "8420000"}]
  }
}

Limits and key

80 requests per second per key, bursts up to 160, 60 requests in flight. On 429, wait for Retry-After. Limits · Pricing · OpenAPI JSON

Get a free key in the Telegram bot: one key per account, issued in a few seconds.

Use cases

All endpoints

Discovery
GET/cached/hot/pairs — Trending pairs ranked by volume, TVL, or price change across chains and classifications.
GET/cached/hot/tokens — Trending tokens ranked by volume, TVL, or price change across chains.
GET/cached/hot/launches — Trending newly launched and recently graduated tokens.
Farms
GET/configs/cached/farms — Active universal farm catalog for an EVM chain (pid, protocol, token0, token1, feeAmount).
GET/configs/cached/stableswaps — StableSwap pool configuration catalog for an EVM chain (lpAddress, stableSwapAddress, tokens).
GET/configs/cached/syrup-pools — Syrup single-token staking pool catalog for an EVM chain.
Liquidity & Ticks
GET/cached/pools/ticks/{protocol}/{chainName}/{pool} — Initialized tick distribution for v3 and Infinity CL pools (tickIdx, liquidityGross, liquidityNet, price0, price1) with cursor pagination.
GET/cached/pools/infinityBin/{chainName}/liquidity/{pool} — Discrete bin liquidity distribution for an Infinity Bin pool (binId, liquidity, reserveX, reserveY, totalShares).
Pool Charts
GET/cached/pools/chart/{protocol}/{chainName}/{address}/rate — Per-pool OHLCV price/rate candles (bucket, open, high, low, close) for v3, infinityCl, and infinityBin pools across 1H, 1D, 1W, 1M, and 1Y windows.
GET/cached/pools/chart/{protocol}/{chainName}/{address}/tvl — Historical per-pool TVL USD time series across v2, v3, stable, infinityCl, and infinityBin.
GET/cached/pools/chart/{protocol}/{chainName}/{address}/volume — Historical per-pool USD trading volume time series across v2, v3, stable, infinityCl, and infinityBin.
GET/cached/pools/chart/{protocol}/{chainName}/{address}/fees — Historical per-pool USD trading fees time series.
Pools
GET/cached/pools/list — Cursor-paginated list of EVM pools filtered by chains, protocols, tokens, or pool IDs, ordered by TVL or volume.
GET/cached/pools/aggregated — Unified multi-chain and multi-protocol pool directory with TVL, 24h volume, fees, APR, farm flags, and keyword/token filtering.
GET/cached/pools/tvl-refs — Compact cursor-paginated list of pool IDs and TVL USD reference values.
GET/cached/pools/{protocol}/{chainName}/list/top — Top pools by TVL and volume for a specific protocol (v2, v3, stable, or infinity) and chain.
GET/cached/pools/{protocol}/{chainName}/{address} — Detailed metrics for one pool (reserves, prices, TVL, 24h/48h/7d volume, fees, and fee tier).
GET/cached/pools/{chainName}/{id} — Protocol-agnostic pool lookup by chain and pool address or 32-byte Infinity pool ID.
GET/cached/pools/apr/{protocol}/{chainName}/{address} — 24h and 7d LP fee APR and volume metrics for a single pool.
GET/cached/pools/candidates/infinity/{chainName}/{addressA}/{addressB} — Candidate Infinity CL and Bin pools for a token pair on an EVM chain.
GET/cached/hooks/stats — Infinity hook contract statistics across supported chains (pool count and aggregate TVL).
Protocol
GET/cached/protocol/{protocol}/{chainName}/stats — Protocol-level TVL, cumulative volume, 24h/48h/30d fees, and transaction totals for one protocol and EVM chain.
GET/cached/protocol/chart/{protocol}/{chainName}/tvl — Historical protocol TVL time series in USD for one protocol and chain.
GET/cached/protocol/chart/{protocol}/{chainName}/volume — Historical protocol trading volume time series in USD for one protocol and chain.
GET/cached/protocol/{protocol}/{chainName}/search — Search tokens and pools by symbol, name, or address on one protocol and chain.
GET/site/home — Cross-chain PancakeSwap summary stats including per-chain TVL and aggregate metrics.
GET/site/earn/header-stats — Total TVL and 24h volume broken down by V2, V3, Infinity, and StableSwap groups.
Solana
GET/sol/cached/v1/pools/stats/overview — Overview statistics for PancakeSwap Solana pools (totalPools, totalVolume24h, totalTvlUsd).
GET/sol/cached/v1/pools/info/list — Paginated list of PancakeSwap Solana CLMM pools with TVL, volume, APR, and mint metadata.
GET/sol/cached/v1/pools/info/ids — Lookup one or more PancakeSwap Solana pools by comma-separated pool IDs.
GET/sol/cached/v1/pools/line/position — Tick-level liquidity position curve (price, liquidity, tick) for a PancakeSwap Solana CLMM pool.
GET/sol/cached/v1/pools/line/tvl — Daily historical TVL time series for a PancakeSwap Solana CLMM pool.
GET/sol/cached/v1/tokens/price — Current USD prices for one or more Solana token mints.
GET/sol/cached/v1/tokens/price24h — 24-hour-ago reference USD prices for one or more Solana token mints.
GET/sol/cached/v1/tokens/metadata/{mint} — Token metadata (name, symbol, decimals, logo, extensions) for a Solana mint.
GET/sol/cached/v1/tokens/birdeye/defi/multi_price — Multi-token Solana USD price and 24h change lookup for a list of mints.
Token Charts
GET/cached/tokens/chart/{chainName}/{address}/{protocol}/price — Historical OHLC USD price candles for a single token on a protocol and chain.
GET/cached/tokens/chart/{chainName}/{address}/{protocol}/tvl — Historical token TVL USD time series for one protocol and chain.
GET/cached/tokens/chart/{chainName}/{address}/{protocol}/volume — Historical token trading volume USD time series for one protocol and chain.
GET/cached/tokens/chart/{chainName}/rate — Historical OHLC exchange-rate candles between two tokens on an EVM chain.
Tokens
GET/site/home/tokens — Featured cross-chain tokens keyed by chainId-address with price and metadata.
GET/site/token-types — Supported token classification taxonomy used to filter pools and trending lists.
GET/cached/tokens/{protocol}/{chainName}/list/top — Top tokens by TVL and volume for a protocol (v2, v3, stable, or infinity) and chain.
GET/cached/tokens/{protocol}/{chainName}/{address} — Detailed token analytics (priceUSD, 24h/48h/7d volume, TVL, and transaction counts).
GET/prices/list/{keys} — Batch USD spot prices for EVM tokens keyed by '{chainId}:{address}'.
Transactions
GET/cached/tx/{protocol}/{chainName}/recent — Recent swaps, liquidity adds, and removals for a protocol and chain, optionally filtered by pool or token.