Get The Latest Trading Records In Ticker
Description
Get the latest trading records in ticker
HTTP Request
- GET /open/api/get_trades
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | String | Yes | coin pair, example: btcusdt |
Request Example
http
curl 'https://openapi.100ex.com/open/api/get_trades?symbol=btcusdt'Response Parameters
| Parameter | Type | Description |
|---|---|---|
| >amount | Decimal | trading volume |
| >price | Decimal | trading price |
| >ctime | Long | deal time |
| >id | Long | trading record id |
| >type | String | trading type: buy, sell |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": [
{
"amount": 0.0001100000000000,
"price": 99569.9700000000000000,
"ctime": 1736146512910,
"id": 14978463,
"type": "buy"
},
{
"amount": 0.0001800000000000,
"price": 99569.9700000000000000,
"ctime": 1736146512340,
"id": 14978462,
"type": "sell"
}
],
"message": null,
"traceId": null
}Status Code
| Code | Description |
|---|---|
| 0 | success |
| 1 | system error |
