BNB DEX Trades API
For real-time + last ~30 days, use the Trading cube — Trading.Trades gives you clean, MEV-filtered swaps with USD price, market cap, and supply on every row across 8 chains in one API (filter with Pair.Market.Network: Binance Smart Chain). Use this page when you need historical BNB / BSC data older than ~30 days (with dataset: combined or archive), raw per-swap detail, or call / event context.
Bitquery provides BSC DEX trade data through APIs, Streams, and Data Dumps.
The examples below show how to access real-time and historical trade data across BSC-based DEXs using GraphQL APIs and subscriptions.
Read DEXTrades vs DEXTradeByTokens vs Trades cube to get a better understanding on when to use which cube.
If you're looking for other data points or have integration questions, reach out to support.
Need zero-latency BSC trade data?
Explore our Kafka Streams and request a trial ➤
You may also be interested in:
To query or stream data via GraphQL outside the Bitquery IDE, you must generate an API access token.
Follow these steps: How to generate Bitquery API token ➤
Live DEX swap stream (BNB Chain)
Crypto Trades API: one row per swap, with USD and supply. Filter Pair.Market.Network: Binance Smart Chain. When to use this vs chain DEX APIs.
Run this subscription in the Bitquery IDE.
subscription {
Trading {
Trades(where: { Pair: { Market: { Network: { is: "Binance Smart Chain" } } } }) {
Side
Supply {
MaxSupply
TotalSupply
FullyDilutedValuationUsd
CirculatingSupply
MarketCap
}
Trader {
Address
}
TransactionHeader {
Fee
FeePayer
Sender
To
Hash
Index
}
Amounts {
Base
Quote
}
AmountsInUsd {
Base
Quote
}
Block {
Date
Time
Timestamp
}
Pair {
Currency {
Id
Name
Symbol
}
Market {
Address
Program
Network
}
QuoteCurrency {
Id
Name
Symbol
}
Token {
Address
Id
IsNative
Symbol
TokenId
Network
}
QuoteToken {
Address
Id
IsNative
Symbol
TokenId
Network
}
}
Price
PriceInUsd
}
}
}