BSC API Documentation
In this section we will see how to fetch data on different tokens, transactions, DEXs like Uniswap, Pancakeswap, Four Meme, liquidity pools, and slippage data 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 like trades, transactions, balances, liquidity pools, and slippage 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, liquidity, and slippage information for a specific wallet and join with other information.
Difference between BSC RPC, Bitquery BSC API and Bitquery Kafka Stream?
| BSC RPC | Bitquery BSC API | Bitquery Kafka Stream |
|---|---|---|
| JSON-RPC endpoint exposing raw EVM on-chain state and transactions | GraphQL endpoint over pre-indexed, parsed BSC chain data (token transfers, DEX trades, logs, calls, etc.) | Provides fully managed Kafka topics (bsc.dextrades.proto, bsc.tokens.proto, bsc.transactions.proto) |
| No built-in history or analytics—any indexing/aggregation you build or outsource | Historical data, joins, aggregations & real-time subscriptions | Delivers pre-parsed, enriched Protocol-Buffers events (DEX trades, token transfers and transactions) |
| Ideal for submitting transactions | Great for real-time data and historical backtesting without running your own indexer | Great for Enterprise usage with built-in replication/failover and no node ops or custom parsing needed |
Read more about Kafka streams 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
BSC Slippage API
Get slippage and price impact data for BSC DEX pools. Understand price impact and liquidity depth for token swaps, calculate maximum input amounts at different slippage tolerances, and monitor real-time slippage data across all DEX pools on BSC.
BSC Liquidity API
Monitor real-time liquidity changes, track pool reserves, and analyze liquidity depth for token pairs on BSC DEX pools. Track when liquidity is added or removed, monitor pool health and depth, and analyze liquidity patterns across different pools.
Other BSC APIs
- BSC Balance Updates API
- BSC Mempool API
- BSC Transfers API
- BSC Events API
- BSC Calls API
- Binance Exchange Wallet Monitoring