Query Order
Get specified order information
Http Request
GET
/api/v1/spot/order_info
Request Frequency Restriction:
- 1times / 1second
Postman
pay attention to replace "restful_base_endpoint"、"your_api_key"、"your_signature_result"
curl --location 'restful_base_endpoint/api/v1/spot/order_info?order_id=2526022618780315648' \
--header 'ACCESS-KEY: your_api_key' \
--header 'ACCESS-SIGN: your_signature_result' \
--header 'ACCESS-TIMESTAMP: 1706759792.245' \
--data ''
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| order_id | string | YES | order id. |
Response fields description
| Name | Type | Description |
|---|---|---|
| order_id | string | order ID |
| base_ asset | string | transaction currency, such as BTC |
| quote_asset | string | valuation currency, such as usdt |
| direction | string | single direction |
| quantity | string | order quantity |
| amount | string | order amount |
| filled_amount | string | transaction amount |
| taker_fee_rate | string | taker |
| maker_fee_rate | string | maker |
| order_type | string | order type limit indicates price limit order |
| price | string | order price |
| status | string | order status, unsettled: open, complete, cancelled, partially cancelled |
| order_time | string | order time |
| fee | string | handling fee |
| trade_pair_name | string | coin pair name |
Response
{
"code":200,
"data":{
"order_id":"2257824251095171072",
"base_asset":"BTC",
"quote_asset":"USDT",
"direction":"buy",
"quantity":"0.1",
"filled_quantity":"0",
"amount":"3000",
"filled_amount":"0",
"average_price":"0",
"status":"Cancelled",
"order_time":1642816050000,
"fee":"0",
"taker_fee_rate":"0.001",
"maker_fee_rate":"0.001",
"trade_pair_name":"BTC/USDT",
"price":"30000",
"order_type":"limit"
}
}