Skip to main content
GET
/
api
/
v4
/
public
/
trades
/
{market}
Recent Trades
curl --request GET \
  --url https://whitebit.com/api/v4/public/trades/{market}
[
  {
    "tradeID": 158056419,
    "price": "9186.13",
    "quote_volume": "0.0021",
    "base_volume": "9186.13",
    "trade_timestamp": 1594391747,
    "type": "sell"
  }
]

Path Parameters

market
string
required

Market pair name

Example:

"BTC_USDT"

Query Parameters

type
enum<string>

Can be buy or sell

Available options:
buy,
sell
Example:

"sell"

Response

Successful response

tradeID
integer

A unique ID associated with the trade for the currency pair transaction Note: Unix timestamp does not qualify as trade_id.

Example:

158056419

price
string

Transaction price in quote pair volume.

Example:

"9186.13"

quote_volume
string

Transaction amount in quote pair volume.

Example:

"0.0021"

base_volume
string

Transaction amount in base pair volume.

Example:

"9186.13"

trade_timestamp
integer

Unix timestamp in milliseconds, identifies when the transaction occurred.

Example:

1594391747

type
enum<string>

Used to determine whether or not the transaction originated as a buy or sell. Buy – Identifies an ask that was removed from the order book. Sell – Identifies a bid that was removed from the order book.

Available options:
buy,
sell
Example:

"sell"