BSC API Documentation
In this section we will see how to fetch data on different tokens, transactions, DEXs like Uniswap, Pancakeswap, Four Meme etc via APIs and Streams.
If you need help getting data on Binance Smart Chain,reach out to support
What is BSC API?​
Bitquery BSC APIs help you fetch onchain data by writing a graphQL query.
What are capabilities of Bitquery BSC API?​
Bitquery BSC APIs are very flexible, you can fetch trade, transaction, balance information for a specific wallet and join with other information.
Difference between BSC RPC, Bitquery BSC API and Bitquery Kafka Stream?​
BSC RPC
- JSON-RPC endpoint exposing raw on-chain state & transactions
- No built-in history or analytics—any indexing/aggregation you build or outsource
- Ideal for submitting transactions
Bitquery BSC API
- GraphQL endpoint over pre-indexed, parsed BSC data (token transfers, DEX trades, NFTs, etc.)
- Historical data, joins, aggregations & real-time subscriptions
- Great for real-time data and historical backtesting without running your own indexer
Bitquery Kafka Stream
- Data & Protocol: Provides fully managed Kafka topics—
bsc.dextrades.proto
,bsc.tokens.proto
, andbsc.transactions.proto
—delivering pre-parsed, enriched Protocol-Buffers events (DEX trades, token transfers, supply/balance updates, instructions, blocks, etc.). - Infra & Maintenance: Enterprise-grade, auto-scaling Kafka streams with sub-second latency, schema-based filtering, instruction-level balance updates, built-in replication/failover—no node ops or custom parsing needed.
Read more here and contact sales via Telegram or form for a Trial.
Does Bitquery support BSC Websocket and BSC Webhooks?​
Bitquery supports websocket and webhooks, you can convert most of the graphQL APIs into graphQL streams by changing the word query
to subscription
. You can monitor this data via a websocket. More code samples available here
BSC DEX APIs​
- BSC Dex Trades
- BSC NFT Trade API
- Uniswap Trades API
- Pancakeswap Trades API
- Four Meme Trade API
- GRA Fun API
- Building Four Meme Trading Bot
Other BSC APIs​
- BSC Balance Updates API
- BSC Mempool API
- BSC Transfers API
- BSC Events API
- BSC Calls API
- Binance Exchange Wallet Monitoring