PancakeSwap API: what exists, what is archived, and what to call
PancakeSwap carried 91.8% of BNB Smart Chain DEX volume on the day I measured it, and documents no REST API at all. Here is what its docs really offer, and why the top Google result leads to a 500.

The short answer. PancakeSwap does not document a REST API. The APIs section of its developer docs contains exactly one page, and that page is about subgraphs: 17 of them, split across two hosting providers, of which three concern trading data.
The REST API people remember was pancake-info-api. It was archived in November 2022. Its host is still up and still answers, which is the part that wastes an afternoon.
PancakeSwap is an unusual case among DEX data questions, because the protocol is very nearly the whole chain. On 22 September 2026 it carried 91.8% of BNB Smart Chain DEX volume. Whatever you are building on BSC, you are mostly building on PancakeSwap.
Which makes the state of its public data surface worth laying out properly. Below is what the docs actually document, what the top Google results will send you to, and what BSC looked like that day. Method at the end.
What PancakeSwap documents, and what it does not
The developer docs at developer.pancakeswap.finance have an APIs menu. It has one child page, /apis/subgraph, and there is no second entry. No REST reference, no OpenAPI document, no hosted query endpoint of PancakeSwap's own.
That page lists 17 subgraphs. Most of them are not about trading:
So the useful surface is three subgraphs, and each is scoped to one version on one chain. Exchange V2 and V3 are each listed for BSC, Ethereum, Arbitrum, zkSync, Linea, Base and opBNB. StableSwap is listed for BSC and Arbitrum only.
There is a wrinkle in where they live. BSC and opBNB point at NodeReal, everything else points at The Graph. Two providers, two sets of terms, two places to have an account, for one protocol. The docs also open with "Please refer to Github repo for the latest version", which is a reasonable thing to say and also a sign of where the source of truth really sits.
One more gap worth noting. The docs front page announces PancakeSwap Infinity as the next version of the exchange. The subgraph page does not mention Infinity at all.
The archived repo that still ranks, and the 500 it leads to
Search for the PancakeSwap API and github.com/pancakeswap/pancake-info-api is on the first page of Google. It has 329 stars and it describes itself as a "Serverless API implementation for PancakeSwap on-chain data query", which sounds exactly like what you were looking for.
It has been archived since 2022. Its last commit landed on 13 November 2022.
Here is the part that costs people time. The host it documents is still running. Calling it on 22 September 2026:
curl "https://api.pancakeswap.info/api/v2/summary"
HTTP 500
{"error":{"code":500,"message":"Network error: request to
https://error.thegraph.com/apierror.json failed, reason:
getaddrinfo ENOTFOUND error.thegraph.com"}}Read that error. It is not a 404 and it is not a maintenance page. It is a live service whose own backend went away when The Graph retired its hosted subgraphs, returning a DNS failure wrapped in a 500. If you hit that while integrating, everything about it suggests a transient problem worth retrying. It is not. Nothing is coming back.
PancakeSwap was 91.8% of BNB Smart Chain on 22 September 2026
Thirteen DEXes carried volume on BSC that day. Three of them were PancakeSwap:
For context on the remainder, the largest non-PancakeSwap venue was Uniswap v3 at $75,247,512, with Uniswap v4 close behind at $68,607,214. Between them those two are most of the other 8.2%.
One version is not enough, and it is close to a coin flip which one
V3 took 51.5% of PancakeSwap's volume that day and V2 took 48.5%. Point a V3-only subgraph at BSC and you are reading about half the protocol, with no signal that anything is missing.
The pool counts pull the other way and are worth knowing before you plan an index. V2 holds 41,305 pools against V3's 3,340. V3 concentrates similar volume into a twelfth as many pools, so a V2-only view has the long tail and a V3-only view has the depth. You want both, which means two subgraphs per chain before you have started.
One call for PancakeSwap pools
The other route is a REST call against an index that already carries every version. No key, no signup, no GraphQL:
curl "https://api.dexpaprika.com/networks/bsc/pools/search?dex_name=pancakeswap_v3&limit=3"That returns HTTP 200 and an object shaped {results, has_next_page, next_cursor, query}. Rows carry id, dex_id, dex_name, chain, volume_usd_24h, volume_usd_7d, volume_usd_30d, liquidity_usd, transactions_24h, price_usd, fee, created_at, created_at_block_number, four price_change_percentage_* windows and a tokens array.
Swap pancakeswap_v3 for pancakeswap_v2 or pancakeswap_stable and the shape does not change. Note the id, not the display name: dex_name takes the identifier, and a display name returns 200 with an empty results rather than an error.
Candles and individual swaps for any of those pools come from /networks/bsc/pools/{address}/ohlcv and /networks/bsc/pools/{address}/transactions, which is the part a subgraph gives you only if someone wrote the entity for it.
Keyless calls are enough to try this. A free key from console.dexpaprika.com raises the rate and the quota, with current numbers for every tier on the pricing page rather than in this article, because they move. Before you build on it: free-tier data can be up to 60 seconds behind, and real-time is the paid tier.
Common questions
Does PancakeSwap have an API?
Not a REST one that it documents. The APIs section of the developer docs has a single page and it covers subgraphs. For market data you query a subgraph on The Graph, or on NodeReal for BSC and opBNB, or you read PancakeSwap pools from an index that already covers them.
What are the PancakeSwap API rate limits?
There is no PancakeSwap rate limit to quote, because there is no PancakeSwap-operated API to be limited by. Your limits come from whoever hosts the subgraph you query, The Graph or NodeReal, under their terms.
Is api.pancakeswap.info still working?
No. It answers, which is the confusing part, but it answers HTTP 500 with a DNS error for error.thegraph.com. The repository behind it was archived in November 2022.
Do you need an API key for PancakeSwap data?
For the subgraph route, yes, from The Graph or from NodeReal depending on the chain. PancakeSwap itself issues no keys.
Which PancakeSwap version should I index?
Both V2 and V3, on the evidence of 22 September 2026, when they split volume 51.5% to 48.5%. StableSwap is small enough on BSC to leave until you need it, at $291,276 against the other two at roughly $800m each.
Which chains does PancakeSwap run on?
The subgraph page lists BSC, Ethereum, Arbitrum, zkSync, Linea, Base and opBNB for both Exchange V2 and Exchange V3, and BSC plus Arbitrum for StableSwap. The figures in this article are BSC only, which is where the volume is.
How these numbers were measured
Everything above was read off a live source on 22 September 2026.
The subgraph inventory and the chain lists come from developer.pancakeswap.finance/apis/subgraph, parsed rather than skimmed: 17 entries, and the claim that the APIs menu has one child is a check of every /apis/ link on that page, which returns exactly one. The Infinity gap is a word count on the same page against the announcement on the docs front page.
The archive status of pancakeswap/pancake-info-api is the GitHub API, which reports archived: true and a last push of 13 November 2022. The 500 is a real call, quoted verbatim, and I ran it against two paths rather than one.
The BSC table is one keyless GET /networks/bsc/dexes against api.dexpaprika.com, with every row and both totals from the same response so the columns add up. The pool search is quoted as it ran and returned 200.
Volume figures are a 24 hour window closing on the measurement and will have moved. The V2 against V3 split is the number most likely to look different next month, and it is the one worth re-running before you plan around it.
Full REST reference at docs.dexpaprika.com, and there is a page with a live swap feed for PancakeSwap on BSC.
The same question for two other DEXes: what the Uniswap API returns, and what the Raydium API covers on Solana.
Related articles
- Best Crypto API in 2026: Top 5 Data Providers Compared
- How to measure buy/sell pressure on a DEX pool
- How to get a token price by contract address (any chain)
- How to get live crypto prices into Claude and ChatGPT (MCP server setup)
- Free crypto historical data API: how far back can you actually go?
- How to detect liquidity drains on DEX pools
Latest articles
- Raydium API: what it covers, and what a Solana DEX API adds
- Uniswap API: what it returns, and where market data comes from
- The Stablecoin Wars: Market Share, Strategy, and What Comes Next
- CBDCs vs. Stablecoins: Two Visions for the Future of Digital Money
- Stablecoin De-Pegging Events: When the Dollar Breaks and Why
- The Global Stablecoin Regulation Wave: US GENIUS Act, EU MiCA, and Beyond
Coinpaprika education
Discover practical guides, definitions, and deep dives to grow your crypto knowledge.
Cryptocurrencies are highly volatile and involve significant risk. You may lose part or all of your investment.
All information on Coinpaprika is provided for informational purposes only and does not constitute financial or investment advice. Always conduct your own research (DYOR) and consult a qualified financial advisor before making investment decisions.
Coinpaprika is not liable for any losses resulting from the use of this information.