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
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
symbol | string | yes | — | Standard pair (e.g. BTCUSDT). |
limit | integer | no | 100 | Clamped to 1..=1000. |
Response — 200
[
{
"id": 8745321456987654,
"price": "76521.340000000000000000",
"qty": "0.000500000000000000",
"quoteQty": "38.260670000000000000000000000",
"time": 1748275200320,
"isBuyerMaker": false
}
]
| Field | Notes |
|---|---|
id | Stable 63-bit derivation of the underlying trade UUID (first 8 bytes, sign bit masked). The same trade always maps to the same id. |
quoteQty | price * qty formatted as a decimal string. |
isBuyerMaker | true when the taker sold (so the buyer was the resting / maker side). |
Errors
| HTTP | code | msg |
|---|---|---|
400 | -1100 | Unknown symbol. |
400 | — | symbol or limit missing or malformed: plain-text axum rejection (Failed to deserialize query string: …), not the {code,msg} JSON shape. |
500 | -1000 | Database error. |
Also available on Rocky's native Web v1 surface:
GET /v1/markets/{symbol}/recent-trades?limit=100(default50, max200) — uses Rocky's{trade_id, price, qty, side, ts_ms}shape instead of the standard.