BNB CHAIN (BSC) API · GraphQL · WebSocket · Kafka · gRPC

BNB Chain (BSC) API for trades, transfers, holders & balances

Skip running a BSC archive node and decoding BEP-20 logs yourself. We've already indexed every PancakeSwap swap, token transfer, holder balance and Four.meme launch on BNB Chain — so DEX trades, transfers, holders, balances and contract events are one query away, or a live stream.

Trusted for onchain data byBinance logoNansen logoCoinMarketCap logo3Commas logo
EVM.DEXTradesReal-time PancakeSwap, BiSwap & Thena swaps on BNB Chain, decoded with USD price.Docs
bsc_dex_trades.graphqlCopy
subscription {
  EVM(network: bsc) {
    DEXTrades(
      where: {Trade: {Dex:
        {ProtocolName: {is: "pancake_swap_v3"}}}}
    ) {
      Trade {
        Buy { Price Amount
          Currency { Symbol } }
        Dex { ProtocolName }
      }
    }
  }
}
responseSTREAMING
Pair · DEXSidePriceAmount
200 · gRPC · 88msstreaming.bitquery.io
Trusted by 40,000+ developers & teams like
Binance logoChainalysis logoTRM Labs logoNansen logo0x logoCoinMarketCap logoCoin Metrics logoBybit logoLukka logo3Commas logoNexo logoTether logo
40+
Chains supported
1PB+
Blockchain data indexed
10B+
API calls / month
99.9%
Production uptime
01
Forget the archive node

Raw BNB Chain data wasn't built for the questions you're asking.

Reading BNB Chain data yourself means a BSC archive node, a hand-written decoder for every BEP-20 and DEX contract, and a pipeline you babysit through every redeploy. We did the indexing, so trades, transfers, holders and balances are one GraphQL query — or a live stream.

What you're doing
Build it yourself
Bitquery BSC API
A token's full transfer history
Replay logs on a BSC archive node
A single GraphQL query
PancakeSwap V2 and V3 trades
A decoder per version
Decoded for every version
Token holders & distribution
Crawl balances block by block
Ranked holders, built in
Four.meme new launches
Poll the factory and decode
Streamed the moment they trade
BNB & BEP-20 balances
Track every transfer yourself
Live balance per address
USD value on every transfer
Join an external price feed
Priced at the row, on-chain
02
Delivery channels

Four ways to get BNB Chain data — one schema underneath.

Design your query once in GraphQL, then read the exact same fields as GraphQL streams, Kafka, gRPC or a bulk cloud export. Pick the channel that fits your latency and volume — no second pipeline.

03
BNB Chain DEX coverage

Every major BNB Chain venue, decoded into one feed.

A single DEXTrades query spans every DEX on BNB Chain. Filter by token, pair, pool, wallet or protocol — and aggregate to OHLCV candles, liquidity events, top traders or pool volume.

VenueTypeWhat you get
PcPancakeSwapV2 · V3BNB Chain's #1 DEX — swaps, pools, OHLCV and LP events decoded
BiBiSwapAMMLow-fee BNB Chain AMM — trades, pairs and liquidity in one feed
FmFour.memeLaunchpadMeme-token launches and first trades the moment they go live
ApApeSwapAMMBNB Chain swaps, farms and pool events on one schema
ThThenave(3,3)BNB Chain ve(3,3) DEX — concentrated-liquidity and v1 trades
UniUniswapV3 · V4Uniswap deployments on BNB Chain — swaps, pools and hooks
+ MDEX, BabySwap, Nomiswap, SushiSwap & every BNB Chain DEX
05
Build it this weekend

The BNB Chain products people ship on us.

Each one is a filter on the same indexed data — subscribe over Kafka or gRPC for bots, or query GraphQL for dashboards.

gRPC · Kafka

Snipe Four.meme & PancakeSwap launches

Stream the first trade and first liquidity on PancakeSwap or Four.meme the moment a BNB Chain pair goes live, filtered by deployer or market cap.

subscribe DEXTrades
  where: { Trade: { Dex: { ProtocolName: "pancake_swap_v3" } } }
Read the docs
GraphQL

Token holder & whale tracking

Rank holders for any BEP-20 token by balance and follow whale wallets across BNB Chain to power leaderboards and alerts.

TokenHolders
  orderBy: { descending: Balance_Amount }
Read the docs
GraphQL · WebSocket

Wallet portfolio & balances

Pull live BNB and BEP-20 balances for any address and stream every transfer in and out — the feed behind wallets and portfolio trackers.

BalanceUpdates {
  balance: sum(of: BalanceUpdate_Amount)
}
Read the docs

What teams say about our data

"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."

A
Alexander Karsten
Nansen
20+
BNB Chain DEXs decoded into one schema
<100ms
Kafka & gRPC stream latency
EVM
Full BSC history in one V2 schema

Bitquery does the hard work of parsing blockchain transaction data into a usable form so that we don't have to. We use their interface to diagnose issues with complex transactions and their analytics as a starting point for our own.

0x Protocol logo
Alex Knaggs
0x Protocol

They proved they had the technology to deliver sophisticated data solutions. We extended our support through the Binance X fellowship — building an open-source library of visualization widgets on their blockchain data.

Director, Binance X logo
Flora Sun
Director, Binance X

The complex raw data is available at different levels of detail and from different viewpoints — whether we need simple aggregated transfers or parameters for failed contract calls. The support is responsive, friendly and quick.

Backend Developer, Blockpit logo
Jan Dreske
Backend Developer, Blockpit

Partnering with Bitquery has been highly cost-effective — leveraging their established infrastructure rather than building our own let us rapidly expand our blockchain support and reach a much broader segment of on-chain users.

Co-Founder, Syla logo
Nick Christie
Co-Founder, Syla

Bitquery's products are very intuitive and easy to use. We currently use their products to obtain DEX-related trading and liquidity information, which saves us the manpower and tedious technical details required to develop our own system. Their excellent technical team deserves special praise; they provide near-24/7 support and resolve issues quickly. I greatly appreciate their products and work ethic.

Ourbit logo
Data Team
Ourbit

Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.

Webacy
Webacy
webacy.com
06
Pricing

Start free. Scale when you ship.

Query every blockchain on every plan — no chain is paywalled. Move to commercial when you need volume, SLAs and bulk datashares.

Developer
$0 / month
Free plan for developers or small projects.
  • All blockchains, all plans
  • 10 requests / minute
  • 2 streams for testing
  • GraphQL IDE access
Get started free
Most popular
Commercial
Custom
Tailored solutions for business and enterprise.
  • Scalable calls, no throttling
  • SQL, Cloud, Kafka & more
  • 24/7 engineering access
  • Dedicated onboarding & SLA
Talk to sales
Datashares
Custom
Bulk historical & real-time data on your cloud.
  • Snowflake, BigQuery, S3, Azure
  • No setup or infrastructure
  • Structured for AI agents & MCP
  • Audit data for custodians
Talk to sales
FAQ

BNB Chain data questions, answered.

How do I get BNB Chain (BSC) data with Bitquery?
Query BNB Chain through our GraphQL API with EVM(network: bsc) — over GraphQL, WebSocket subscriptions, Kafka streams or gRPC. Sign up at ide.bitquery.io for an API key, then pull DEX trades, BEP-20 transfers, holders, balances and contract events from a single endpoint.
Which BNB Chain DEXs and datasets are supported?
PancakeSwap (V2/V3), BiSwap, ApeSwap, Thena, Uniswap and 20+ other BNB Chain DEXs — plus BEP-20 transfers, token holders, balances, Four.meme launches and decoded smart contract events — all in one V2 schema.
Can I get BEP-20 token holders and balances?
Yes. Rank holders for any BEP-20 token by balance with TokenHolders, and read live BNB and BEP-20 balances for any address with BalanceUpdates — historical snapshots included.
Can I stream BNB Chain data in real time?
Yes. Subscribe over WebSocket, Kafka or gRPC with sub-100ms latency for new trades, transfers, token launches and contract events — built for trading bots, scanners and alerting on BNB Chain.
Do you support Four.meme token launches on BNB Chain?
Yes. Stream Four.meme token launches and first trades on BNB Chain the moment a new market goes live — filter by deployer, token or market cap to power snipers and discovery feeds.
Is BNB Chain (BSC) EVM-compatible in your schema?
Yes. BNB Chain is fully EVM-compatible, so the same EVM V2 schema you use for Ethereum works for BSC — switch network: bsc and reuse the exact same DEX, transfer, holder and event queries.

Ship your BNB Chain product this week.

Free API key, all of BNB Chain unlocked, no node to run. Query historical trades and stream live BSC data in your first call.

No credit card · 10K free points for your first month · All 40+ chains included