Skip to content
Mikhail Mazurov edited this page Feb 12, 2021 · 1 revision

Trades

/trades/{market_pair}

The trades endpoint is to return data on all recently completed trades for a given market pair.

Parameters

Name Type Status Description
market_pair string Mandatory A pair such as LTC_BTC.

Response

Name Type Status Description
trade_id integer Mandatory A unique ID associated with the trade for the currency pair transaction
Note: Unix timestamp does not qualify as trade_id
price decimal Mandatory Last transacted price of base currency based on given quote currency
base_volume decimal Mandatory Transaction amount in BASE currency.
quote_volume decimal Mandatory Transaction amount in QUOTE currency.
timestamp Integer (UTC timestamp in ms) Mandatory Unix timestamp in milliseconds for when the transaction occurred.
type string Mandatory Used to determine whether or not the transaction originated as a buy or sell.
Buy – Identifies an ask was removed from the order book.
Sell – Identifies a bid was removed from the order book.

Clone this wiki locally