---
title: "Recent Trades"
method: GET
path: "/api/v4/public/trades/{market}"
tags: ["Public API V4"]
---

# Recent Trades

`GET /api/v4/public/trades/{market}`

The endpoint retrieves the [trades](/glossary#deal-trade) that have been executed recently on the requested [market](/glossary#market).

<Note>
The API caches the response for 1 second
</Note>

<Note>
  Public trade data can include executions that originate from RPI orders. Public order book feeds (`depth`, `bookTicker`) exclude RPI orders. RPI orders appear only in private active orders and in the exchange UI order book (web and mobile).
</Note>


<Warning>
Rate limit 2000 requests/10 sec.
</Warning>

## Path parameters

- `market` string, required

## Query parameters

- `type` 'buy' | 'sell'

## Response `200`

Successful response

- object[]
  - `tradeID` integer, required — A unique ID associated with the trade for the currency pair transaction Note: Unix timestamp does not qualify as trade_id.
  - `price` string, required — Transaction price in quote pair volume.
  - `quote_volume` string, required — Transaction amount in the quote (stock) currency. In a BTC_USDT market, the value is the BTC amount. Note: WhiteBIT uses a reversed naming convention compared to standard exchange terminology — the stock/asset currency is called 'quote' here.
  - `base_volume` string, required — Transaction amount in the base (money) currency. In a BTC_USDT market, the value is the USDT amount. Note: WhiteBIT uses a reversed naming convention compared to standard exchange terminology — the settlement/pricing currency is called 'base' here.
  - `trade_timestamp` integer, required — Unix timestamp in seconds (UTC). Identifies when the transaction occurred.
  - `type` 'buy' | 'sell', required — 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.
  - `rpi` boolean — Indicates that the trade originates from a Retail Price Improvement (RPI) order.

## Other responses

- `422` — Validation error. Returned when the `market` path parameter is unknown or not enabled for trading.

---

[API](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4.md) · [All operations](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whitebit/whitebit-private-http-api-v4/revisions/76c9def9942f/schema)
