Skip to main content

Recent Trades

Type: NONE

Weight: 5

GET /fapi/v1/trades

Most-recent public trades for a symbol, newest first.

Request

GET /fapi/v1/trades?symbol=BTCUSDT&limit=100

Query params

NameTypeRequiredDefaultNotes
symbolstringyes—Standard pair (e.g. BTCUSDT).
limitintegerno100Clamped to 1..=1000.

Response — 200

[
{
"id": 8745321456987654,
"price": "76521.340000000000000000",
"qty": "0.000500000000000000",
"quoteQty": "38.260670000000000000000000000",
"time": 1748275200320,
"isBuyerMaker": false
}
]
FieldNotes
idStable 63-bit derivation of the underlying trade UUID (first 8 bytes, sign bit masked). The same trade always maps to the same id.
quoteQtyprice * qty formatted as a decimal string.
isBuyerMakertrue when the taker sold (so the buyer was the resting / maker side).

Errors

HTTPcodemsg
400-1100Unknown symbol.
400—symbol or limit missing or malformed: plain-text axum rejection (Failed to deserialize query string: …), not the {code,msg} JSON shape.
500-1000Database error.

Also available on Rocky's native Web v1 surface: GET /v1/markets/{symbol}/recent-trades?limit=100 (default 50, max 200) — uses Rocky's {trade_id, price, qty, side, ts_ms} shape instead of the standard.