Old Trades Lookup(MARKET_DATA)
API Description
Get older market historical trades.
HTTP Request
GET /dapi/v1/historicalTrades
Request Weight
20
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | YES | |
limit | INT | NO | Default 500; max 1000. |
fromId | LONG | NO | TradeId 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,
}
]