/binance/trades/aggregated
Get aggregate (compressed) trades for a trading pair
Price: 1 credit
💡 AI Hint: Get aggregate trades for a Binance spot trading pair (e.g. ‘BTCUSDT’). Aggregate trades compress all individual trades that filled at the same price from a single order into one record, making them ideal for volume analysis. Each record carries the aggregate id, price, quantity, the first and last underlying trade ids it covers, execution time, whether the buyer was the maker, and the best-match flag. By default the most recent trades are returned; pass from_id to start at a specific aggregate id, or start_time/end_time (unix milliseconds) for a time range. Ordered oldest to newest.
⚠️ Common errors: 412: Trading pair not found
Authorizations
API token from the dashboard
Headers
Body
Trading pair symbol, uppercase, no separator
"BTCUSDT"
"ETHUSDT"
Number of aggregate trades to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Return aggregate trades starting from this aggregate id
x >= 0Start of the range, unix milliseconds
x >= 0End of the range, unix milliseconds
x >= 0