Recent Trades List
GET
/api/v1/gateway/public/tradesModified at: 2 个月前
Recent Trades List allows users to retrieve information about the most recent trades executed on our platform.
请求参数
Query Params
symbol
string
required
The trading pair symbol for which recent trade information is requested.
Example:
WBTCUSDT
limit
integer
optional
Default 500; max 1000.
Example:
2
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
error
boolean
required
Indicates whether the API request encountered any errors.
trades
array [object {7}]
required
An array containing details of the most recent trades.
id
integer
required
A unique identifier for the trade.
symbol
string
required
The trading pair symbol for the trade.
price
string
required
The price at which the trade was executed.
qty
string
required
The quantity of the base asset executed in the trade.
quoteQty
string
required
The quantity of the quote asset executed in the trade.
time
integer
required
The timestamp when the trade was executed (Unix timestamps in milliseconds & UTC).
isBuyerMaker
boolean
required
Indicates whether the buyer is the maker of the executed trade.
Example
{
"error": false,
"trades": [
{
"id": 91108,
"symbol": "WBTCUSDT",
"price": "33415.39000000",
"qty": "0.01000000",
"quoteQty": "334.15390000",
"time": 1700805766320,
"isBuyerMaker": false
},
{
"id": 91107,
"symbol": "WBTCUSDT",
"price": "33407.53000000",
"qty": "0.09000000",
"quoteQty": "3006.67770000",
"time": 1700805766320,
"isBuyerMaker": false
}
]
}
Modified at 2 个月前