Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.27 KB

get_trades_data.md

File metadata and controls

38 lines (30 loc) · 1.27 KB

Get Trades Data

Get a list of the most recent trades for the given symbol.

If you require real-time updates or a high-frequency trading environment, we recommend using the websocket trade api. For more details, please refer to this link.

Api Request

GET /trades/{pair}

Parameters:

Header Path Query Type Required Description Default Range Example
pair string Yes The trading pair in format {BASE}_{QUOTE}, Please follow the link to check the pair list. bito_eth

Api Response

Response Example:

{
  "data": [
    {
      "amount": "0.11000000",
      "isBuyer": false,
      "price": "126709.00000000",
      "timestamp": 1551753875
    },
    {
      "amount": "0.10000000",
      "isBuyer": false,
      "price": "126787.00000000",
      "timestamp": 1551753796
    }
  ]
}

Back