Trades
The trades endpoint is to return data on all recently completed trades for a given market pair.
Trades
GET
https://sapi.finextree.com/api/v0/market/trades?symbol=BTC_USDT
Parameters
market_pair
A pair such as “LTC_BTC”
Response Body
trade_id
Integer
A unique ID associated with the trade for the currency pair transaction
Note: Unix timestamp does not qualify as trade_id.
price
decimal
Last transacted price of base currency based on given quote currency
base_volume
decimal
Transaction amount in BASE currency.
quote_volume
decimal
Transaction amount in QUOTE currency.
timestamp
Integer
Unix timestamp in milliseconds for when the transaction occurred.
type
string
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.
Response
{
"status":"true",
"msg":"success",
"result": [
{
"trade_id": 12345,
"price": 70000,
"base_volume": 0,
"quote_volume": 0,
"timestamp": 1585177482652,
"type": sell,
}
]
}
Last updated