Market

Old Trade Lookup

Changed on

Get older market trades.

Weight(IP): 10

get/api/v3/historicalTrades

Request

  • Base URL
    https://api.binance.com
  • URL
    https://api.binance.com/api/v3/historicalTrades
  • Auth
    none declared

Query parameters

symbolstring required
Example:BNBUSDT

Trading symbol, e.g. BNBUSDT

limitinteger
Example:5

Default 500; max 1000.

fromIdinteger

Trade id to fetch from. Default gets most recent trades.

Response

Trade list

idinteger required

trade id

pricestring required

price

qtystring required

amount of base asset

quoteQtystring required

amount of quote asset

timeinteger required

Trade executed timestamp, as same as T in the stream

isBuyerMakerboolean required
isBestMatchboolean required

Example response

[
  {
    "id": 345196462,
    "price": "9638.99000000",
    "qty": "0.02077200",
    "quoteQty": "0.02077200",
    "time": 1592887772684
  }
]

Changes

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • breaking

      for the query request parameter fromId, the format changed from no format to int64

    • breaking

      for the query request parameter limit, the format changed from no format to int32

    • 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

    • info

      the response property became required for the status