9. Order list
Order list
This API is used to query a list of orders. By calling this API, you can obtain a list of orders, including order status, quantity, price, and other detailed information.
GET
/openapi/order/list
Request
| Name | Type | Required | Description |
|---|---|---|---|
| page | number | no | Default: 1. |
| page_size | number | no | Default: 10 ; Max: 100 |
Request
{
"page": 1,
"page_size": 10
}
Response
| Name | Type | Description |
|---|---|---|
| code | int | Business status code |
| total | int | total |
| data | Array | order data |
| abbr | string | Coin name |
| accept_at | int | Acceptance time |
| address | string | Wallet Address |
| chain | string | Chain name |
| create_at | int | Creation time |
| delete_at | int | Delete time |
| exchange_model | string | Exchange mode [ float | fixed ] |
| expire_at | int | Expiration time |
| finish_at | int | Completion time |
| freeze_at | int | Freeze time |
| no | string | Order number |
| odr_volume | float | Order Quantity |
| payfor_at | int | Payment Time |
| price | float | Price |
| query_code | string | Query code |
| rel_volume | float | Actual quantity |
| status | int | Status, 1:to be transferred; 2:already transferred; 3:exchange; 4:completed; 5:Refunded; 7:frozen; 8:expired; 9:abandoned |
| type | string | Source Asset Agreement |
| msg | string | Business message |
Example Response
{
"code": 0,
"msg": "success",
"total": 1,
"data":[
{
"no": "1aS***UQ",
"query_code": "FL4E****TGEE",
"chain": "TRON",
"type": "",
"abbr": "TRX",
"address": "TWr1wuWH******XGgMmtVJNSi1p5",
"exchange_model": "float",
"odr_volume": 17660.605547,
"rel_volume": 6.15,
"addr_num": 1,
"price": 0.283116,
"status": 4,
"create_at": 1776859589,
"expire_at": 1777945989,
"payfor_at": 1767860156,
"accept_at": 0,
"finish_at": 1767861622,
"freeze_at": 0,
"delete_at": 0
}]
}