Get Recent Trades

Get the latest trade records of the specified trading pair (Authentication type:NONE, See Interface Permission)

Request Format

GET https://api-cloud.bitmart.com/spot/v1/symbols/trades

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Description
symbol string Yes Trading pair (e.g. BMX_USDT)

Request example

curl https://api-cloud.bitmart.com/spot/v1/symbols/trades?symbol=BMX_ETH

Response Data

Field Type Description
trades List List of trades

Instruction

The data order of the array is sorted and displayed according to the order from the latest to the oldest.

Depth data details field description:

Field Type Description
amount string Total trade value
order_time long Trade time (in milliseconds)
price string Trade price
count string Trade amount
type String Order type (buy or sell)

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "trades": [
       {
          "amount":"0.05768509",
          "order_time":1527057452000,
          "price":"0.004811",
          "count":"11.99",
          "type":"buy"
       },
       ...
    ]
  }
}

results matching ""

    No results matching ""