Query the list of recent transactions
Type: GET
Description: /v4/public/trade/recent
Parameters
| name | type | mandatory | default | description | ranges |
|---|---|---|---|---|---|
| symbol | string | true | trading pair | ||
| limit | number | false | 200 | 1~1000 |
Limit Flow Rules
10/s/ip
Request Example
Request
curl --location --request GET 'https://sapi.xt.com/v4/public/trade/recent?symbol=XT_USDT&limit=200' \
--header 'accept: */*' \
--header 'Content-Type: application/json' \
Response Example
Response
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": [
{
"i": 0, // ID
"t": 0, // trade time
"p": "string", // trade price
"q": "string", // trade quantity
"v": "string", // trade volume
"b": true // whether buyer is the maker
}
]
}