Skip to main content
PancakeSwap logoonBNB Chain logo

PancakeSwap API on BNB Chain

Pools, swaps, prices and OHLCV for PancakeSwap v2, v3 and StableSwap on BNB Chain over one REST API. Start with a free API key, no credit card.

PancakeSwap swaps on BNB Chain, newest first, from the API at .

Active pools
20K+
across 3 versions
Volume, 24h
$757.4M
all PancakeSwap versions
Versions indexed
3
each with its own dex_id
Busiest version
v3
$595.5M in 24h

Data as of , source: /networks/bsc/dexes

Your first PancakeSwap call.
One request, one credit.

The PancakeSwap v2 pool with the most volume in the last 24 hours, straight from pool search.

A free API key needs no credit card and covers pools, tokens, DEXes and candles. Swaps need a Dev plan or above. Get one at console.dexpaprika.com, or see the plans.

request
curl "https://api.dexpaprika.com/networks/bsc/pools/search?dex_name=pancakeswap_v2&order_by=volume_usd_24h&sort=desc&limit=1"
Try it sends this exact request from your browser.
response
Press Try it to send the request.

PancakeSwap v2, v3 and StableSwap in one API

PancakeSwap on BNB Chain is three DEXes in the API: v2 pairs, v3 concentrated liquidity, and StableSwap pools for pegged assets. Pool records carry dex_id. Swap rows carry factory_id, the contract the swap went through.

PancakeSwap v3

dex_id: pancakeswap_v3
0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865
$595.5M
volume, 24h
78.6%
of PancakeSwap

PancakeSwap v2

dex_id: pancakeswap_v2
0xca143ce32fe78f1f7019d7d551a6402fc5350c73
$161.1M
volume, 24h
21.3%
of PancakeSwap

PancakeSwap StableSwap

dex_id: pancakeswap_stable
0x36bbb126e75351c0dfb651e39b38fe0bc436ffd20x25a55f9f2279a54951133d503490342b50e5cd15
$727.6K
volume, 24h
0.1%
of PancakeSwap

Data as of , source: /networks/bsc/dexes

What the PancakeSwap API returns

Pools

The pools the API indexes for PancakeSwap, across every version on this page. A record carries both sides of the pair, current reserves, price in USD, and rolling volume and transaction counts.

Swaps

Individual transactions, newest first, with token symbols, USD prices at the time and the block they landed in. Reading them through the API needs a Dev plan or above.

Candles and streams

Historical OHLCV on any pool at the interval you ask for. Server-sent event streaming pushes swaps on a Dev plan or above, and prices run live on the BNB Chain streaming page.

The data is the same shape on all 36 chains DexPaprika indexes. A query written against PancakeSwap runs against any other venue once you change the network and the dex_name.

Endpoints that answer for PancakeSwap

Pools on one version
GET /networks/bsc/pools/search?dex_name=pancakeswap_v2
PancakeSwap v2 pools, sorted and filtered by volume, liquidity, transactions or age. Swap in pancakeswap_v3 and pancakeswap_stable for the other versions.
One pool in full
GET /networks/bsc/pools/{address}
Liquidity, reserves, pricing and metadata for one pool.
Swaps through a pool
GET /networks/bsc/pools/{address}/transactions
Recent swaps, liquidity adds and removes for a pool, with token symbols and USD prices. Dev plan or above.
Candles for a pool
GET /networks/bsc/pools/{address}/ohlcv
Candles for a pool at intervals from 1 minute to 24 hours.
A token's latest data
GET /networks/bsc/tokens/{address}
Latest price, metadata and summary metrics for one token.
Every venue on BNB Chain
GET /networks/bsc/dexes
Every DEX on BNB Chain, with each PancakeSwap version as its own entry.
Swaps as they land
SSE /sse/transactions
Swaps on a pool or token, pushed as they land. Dev plan or above.

What it costs

Free

A free API key, no credit card, for pools, tokens, DEXes and candles. Swaps need a Dev plan or above. Data can run a short way behind the chain.

Get your free API key

Pro

Real-time data on every endpoint, a higher ceiling on requests, and its own hosts for REST and streaming.

See the plans

One call is one credit on your plan. Quotas and rates move. The pricing page is the source, and it is the one to check.

Questions

Do I need an API key to query PancakeSwap data?

A free API key is the place to start. It needs no credit card and covers pools, tokens, DEXes and candles; swaps need a Dev plan or above. Register one at console.dexpaprika.com. Current quotas are on the pricing page.

Which PancakeSwap version is a swap from?

Read factory_id on the transaction row: 0xca14…0c73 is PancakeSwap v2, 0x0bfb…1865 is PancakeSwap v3 and 0x36bb…ffd2 and 0x25a5…cd15 are PancakeSwap StableSwap. Pool records carry dex_id directly: pancakeswap_v2 is PancakeSwap v2, pancakeswap_v3 is PancakeSwap v3 and pancakeswap_stable is PancakeSwap StableSwap.

How do I list only PancakeSwap pools on BNB Chain?

Call /networks/bsc/pools/search with dex_name=pancakeswap_v2, then with dex_name=pancakeswap_v3 and dex_name=pancakeswap_stable for the other versions. Add order_by=volume_usd_24h to get the busiest first.

How fresh is the PancakeSwap data?

On the free plan, data can run a short way behind the chain. Paid plans serve it in real time. The figures on this page were read from the API at 2026-11-03 02:07 UTC.

What counts as one request?

One call is one credit, including a call that returns many rows. Batch endpoints bill per item. Each streaming update also counts as one.

Can I stream PancakeSwap swaps instead of polling?

Yes. /sse/transactions pushes swaps on a pool or token as they land, and it needs a Dev plan or above. The transactions streaming docs cover it, and a running price stream is on the BNB Chain streaming page.

How do I send my key once I have one?

Put the key in the Authorization header on its own, with nothing in front of it.

Which host do I call?

api.dexpaprika.com with a free key. Pro and Enterprise keys go to api-pro.dexpaprika.com.

Start querying PancakeSwap on BNB Chain

The pool, token, DEX and candle calls on this page are one paste away. Plans decide how many you can make and how fresh the data is.