For the complete documentation index, see llms.txt. This page is also available as Markdown.

Spot Recent trades

Returns up to the latest 500 trades for a specified spot market, ordered from newest to oldest.

Request

GET /sapi/v4/market/v1/public/cmc/trades/{market_pair}

Path parameter

Parameter
Location
Type
Required
Description

market_pair

path

string

Yes

Spot market identifier, such as BTC_USDT

Example request

https://dex.bbx.com/sapi/v4/market/v1/public/cmc/trades/BTC_USDT

cURL

curl -s \
  'https://dex.bbx.com/sapi/v4/market/v1/public/cmc/trades/BTC_USDT'

Response fields

Field
Type
Requirement
Description

trade_id

integer

Required

Unique trade identifier

price

string

Required

Trade price

base_volume

string

Required

Trade quantity in the base asset

quote_volume

string

Required

Trade amount in the quote asset

timestamp

integer

Required

Trade time in Unix milliseconds

type

string

Required

Aggressor side: buy or sell

Trade-side definition

  • buy: an ask order was matched; the aggressor was the buyer.

  • sell: a bid order was matched; the aggressor was the seller.

Example response