Skip to main content

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
NameTypeRequiredDescription
pagenumber noDefault: 1.
page_sizenumber noDefault: 10 ; Max: 100
created_startnumber noStart time (unix timestamp, inclusive)
created_endnumber noEnd time (unix timestamp, exclusive)
directionstring noDirection: DESC|ASC Default: DESC
statusnumber nostatus

Request

{
"page": 1,
"page_size": 10
}
Response
NameTypeDescription
codeintBusiness status code
totalinttotal
dataArrayorder data
chainstringChain name
abbrstringCoin name
addressstringWallet Address
exchange_modelstringExchange mode [ float | fixed ]
nostringOrder number
payfor_atintPayment Time
pricefloatPrice
query_codestringQuery code
odr_volumefloatOrder quantity
rel_volumefloatActual quantity
statusintStatus, 1:Waiting to send; 2:Sent; 3:Waiting to receive; 4:Completed; 5:Refunded; 7:Frozen; 8:Expired; 9:Abandoned
create_atintCreation time
delete_atintDelete time
expire_atintExpiration time
finish_atintCompletion time
freeze_atintFreeze time
accept_atintAcceptance time
childrenArrayReceives
chainstringReceive asset chain name
abbrstringReceive asset tokens
ratiofloat64Asset Receipt Ratio
amountfloat64Received asset value in USDT
pricefloat64Real-time exchange rate (USDT)
volumenumberReceive quantity
addressstringWallet Address
inputArrayInput list
chainstringChain name
abbrstringCoin name
txidstringTransaction Hash
to_addrstringReceiving Address
volumenumberTransfer amount
update_atnumberConfirmation time
outputArrayOutput list
chainstringChain name
abbrstringCoin name
txidstringTransaction Hash
to_addrstringReceiving Address
volumenumberTransfer amount
order_nostringMain order number
statusnumberStatus, 1:Confirming 2:Confirmed
update_atnumberConfirmation time
msgstringBusiness message

Example Response

{
"code": 0,
"msg": "success",
"total": 1,
"data":[
{
"no": "1aS***UQ",
"query_code": "FL4E****TGEE",
"chain": "TRON",
"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,
"children":[
{
"chain":"TRON",
"abbr":"TRX",
"ratio":1,
"amount":6.15,
"price":0.283116,
"address": "TWe9oL3HY******JzwiZciyHUHhSUYvV"
}],
"input": [
{
"chain": "TRON",
"abbr": "TRX",
"txid": "48409d63001c97******63e57d6ec327845",
"to_addr": "TPKJvL4Je******XL5TiVzK6ujkWj",
"volume": 66,
"update_at": 1775101696
}
],
"output": [
{
"chain": "TRON",
"abbr": "TRX",
"txid": "a04ce1a4c4678******66673363fe04202fc",
"to_addr": "TWe9oL3HYa6******iyHUHhSUYvV",
"volume": 63.57359485,
"order_no": "******",
"status": 2,
"update_at": 1775101709
}
]
}]
}