Market data
Get recent trades
The latest trades for any instrument, newest first, with the side that took them.
GET
/ api/ v1 / markets/ tradescurl --request GET \
--url "https://reirex.com/api/v1/markets/trades?symbol=BTC" \
--header "Accept: application/json"200 OKapplication/json
{
"symbol": "BTC",
"trades": [
{
"id": "BTC-1791994457757-5747",
"t": 1791994457757,
"price": 72766,
"amount": 0.0007,
"side": "sell"
},
{
"id": "BTC-1791994457694-5746",
"t": 1791994457694,
"price": 72765,
"amount": 0.0055,
"side": "buy"
},
{
"id": "BTC-1791994457631-5745",
"t": 1791994457631,
"price": 72764,
"amount": 0.0103,
"side": "buy"
},
// 57 more
]
}side is the taker's side: buy means a buyer lifted an ask, sell means a seller hit a bid.
Query parameters
symbolstringrequiredThe instrument's symbol, such as
BTC,ASML,EURUSDorXAU.limitintegerDefault: 60How many trades, newest first.
From 1 to 200
Response
symbolstringThe instrument's symbol.
tradesobject[]The trades, newest first.

