PancakeSwap API on BNB Chain
PancakeSwap on BNB Chain is three DEXes in the API: v2 pairs, v3 concentrated liquidity, and StableSwap pools for pegged assets. Pools, prices, OHLCV candles and individual swaps come back over REST, with streaming in preview.
Data as of 2026-09-17 14:31 UTC, source: /networks/bsc/dexes
Your first PancakeSwap call
Find the busiest pools for one version, then read the swaps going through one of them. Token symbols come back in every transaction row, so there is no second lookup.
# top PancakeSwap v2 pools by 24h volume
curl "https://api.dexpaprika.com/networks/bsc/pools/search?dex_name=pancakeswap_v2&order_by=volume_usd_24h&sort=desc&limit=5"
# newest transactions through one pool
curl "https://api.dexpaprika.com/networks/bsc/pools/{pool_address}/transactions?limit=5"PancakeSwap v2, v3 and StableSwap in one API
Pool records carry dex_id. Swap rows carry factory_id, the contract the swap went through.
| Version | dex_id | factory_id | Volume, 24h | Share |
|---|---|---|---|---|
| PancakeSwap v3 | pancakeswap_v3 | 0x0bfbcf…091865 | $726.7M | 62.3% |
| PancakeSwap v2 | pancakeswap_v2 | 0xca143c…350c73 | $439.9M | 37.7% |
| PancakeSwap StableSwap | pancakeswap_stable | 0x36bbb1…36ffd20x25a55f…e5cd15 | $373,988.62 | 0% |
Data as of 2026-09-17 14:31 UTC, source: /networks/bsc/dexes
Endpoints that answer for PancakeSwap
The same paths work on every chain we index. Full reference in the docs.
| Endpoint | Returns | Docs |
|---|---|---|
| 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. | reference |
| GET /networks/bsc/pools/{address} | Liquidity, reserves, pricing and metadata for one pool. | reference |
| GET /networks/bsc/pools/{address}/transactions | Recent swaps, liquidity adds and removes for a pool, with token symbols and USD prices. | reference |
| GET /networks/bsc/pools/{address}/ohlcv | Candles for a pool at intervals from 1 minute to 24 hours. | reference |
| GET /networks/bsc/tokens/{address} | Latest price, metadata and summary metrics for one token. | reference |
| GET /networks/bsc/dexes | Every DEX on BNB Chain, with each PancakeSwap version as its own entry. | reference |
| SSE /sse/transactions | Swaps on a pool or token, pushed as they land. In preview. | reference |
Streaming PancakeSwap swaps
Streaming over server-sent events is in preview. /sse/transactions pushes swaps on a pool or token as they land, and each update counts as one request. See the showcase streams for access, or watch a running price stream on the BNB Chain streaming page.
What it costs
One call is one credit on your plan. Current quotas and rates are on the pricing page.
- A free API key, no credit card
- Every endpoint on this page
- Data can run a short way behind the chain
- Real-time data on every endpoint
- Higher request ceilings
- Its own hosts: api-pro and streaming-pro
PancakeSwap API 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 works on every endpoint on this page: 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-09-17 14:31 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?
Streaming over server-sent events is in preview. /sse/transactions pushes swaps on a pool or token as they land. Access is described in the showcase streams docs, 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
Every call on this page is one paste away. Plans decide how many you can make and how fresh the data is.