Recent Trades
Get the latest public trades for a symbol
Get Recent Trades
GET /v1/trades?symbol=BTCUSDT&limit=20Query Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | - | Trading pair |
limit | number | No | 20 | Number of trades to return |
Response:
{
"ok": true,
"trades": [
{
"id": 123456,
"price": "71034.5",
"qty": "0.123",
"time": 1711756800000,
"isBuyerMaker": false
}
]
}| Field | Description |
|---|---|
id | Unique trade ID |
price | Trade price |
qty | Trade quantity |
time | Trade timestamp (Unix ms) |
isBuyerMaker | true if the buyer was the maker (sell aggressor) |
