Compressed/Aggregate Trades List
Changed onGet compressed, aggregate trades. Trades that fill at the time, from the same order, with the same price will have the quantity aggregated.
-
If fromId, startTime, and endTime are not sent, the most recent aggregate trades will be returned.
-
Note that if a trade has the following values, this was a duplicate aggregate trade and marked as invalid:
p = '0' // price
q = '0' // qty
f = -1 // first_trade_id
l = -1 // last_trade_id
Weight(IP): 2
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/api/v3/aggTrades
- Authnone declared
Query parameters
Trading symbol, e.g. BNBUSDT
Trade id to fetch from. Default gets most recent trades.
UTC timestamp in ms
UTC timestamp in ms
Default 500; max 1000.
Response
Trade list
Example response
[
{
"a": 26129,
"p": "0.01633102",
"q": "4.70443515",
"f": 27781,
"l": 27781
}
]Changes
- breaking
for the
queryrequest parameterendTime, the format changed from no format toint64 - breaking
for the
queryrequest parameterfromId, the format changed from no format toint64 - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
for the
queryrequest parameterstartTime, the format changed from no format toint64 - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status
- breaking