Get Trades
- GET
/capi/v2/market/trades
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | Yes | Trading pair |
| limit | String | No | The size of the data ranges from 1 to 1000, with a default of 100 |
Request example
curl "https://api-contract.weex.com/capi/v2/market/trades?symbol=cmt_btcusdt&limit=100"
Response parameters
| Parameter | Type | Description |
|---|---|---|
| ticketId | string | Filled order ID |
| time | long | The time at which the order was filled |
| price | string | The price at which the order was filled |
| size | string | The quantity that was filled |
| value | string | Filled amount |
| symbol | string | Trading pair |
| isBestMatch | boolean | Fully matched or not |
| isBuyerMaker | boolean | Order direction indicator |
Response example
[
{
"ticketId": "124b129e-3999-4d14-a4b5-9bdda68e5e26",
"time": 1716604853286,
"price": "68734.8",
"size": "0.001",
"value": "68.7348",
"symbol": "cmt_btcusdt",
"isBestMatch": true,
"isBuyerMaker": true
}
]