Skip to main content

Old Trades Lookup(MARKET_DATA)

API Description

Get older market historical trades.

HTTP Request

GET /dapi/v1/historicalTrades

Request Weight

20

Request Parameters

NameTypeMandatoryDescription
symbolSTRINGYES
limitINTNODefault 500; max 1000.
fromIdLONGNOTradeId to fetch from. Default gets most recent trades.
  • Market trades means trades filled in the order book. Only market trades will be returned, which means the insurance fund trades and ADL trades won't be returned.

Response Example

[
{
"id": 595103,
"price": "9642.2",
"qty": "1",
"baseQty": "0.01037108",
"time": 1499865549590,
"isBuyerMaker": true,
}
]