Skip to main content
Version: V3

Get Recent Trades

  • GET /api/v3/market/trades

Weight(IP): 25

Request parameters

ParameterTypeRequired?Description
symbolStringYesTrading pair, e.g. BTCUSDT.
limitIntegerNoNumber of trades to return. Range 11000, default 100.

Request example

curl "https://api-spot.weex.com/api/v3/market/trades?symbol=BTCUSDT&limit=50"

Response parameters

FieldTypeDescription
idStringTrade identifier.
priceStringTrade price.
qtyStringExecuted quantity (base asset).
quoteQtyStringExecuted amount (quote asset).
timeLongTrade time (milliseconds).
isBuyerMakerBooleantrue if the buyer was the maker side.
isBestMatchBooleantrue if the trade matched the best price level.

Response example

[
{
"id": "120045678901",
"price": "68950.00",
"qty": "0.002",
"quoteQty": "137.90000",
"time": 1764506000456,
"isBuyerMaker": true,
"isBestMatch": true
}
]