Skip to main content

Get Order

Fetch the current state of a single order by order_id.

HTTP

MethodGET
Endpoint/trade/api/v2/order

Request Parameters

ParameterTypeMandatoryDescription
order_idstringYesThe order_id of the order you want to fetch.

Example

import requests

headers, path = sign_request("GET", "/trade/api/v2/order",
params={"order_id": "698ed406-8ef5-4664-9779-f7978702a447"})
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())

Response

{
"data": {
"order_id": "698ed406-8ef5-4664-9779-f7978702a447",
"symbol": "BTC/USDT",
"price": 27000,
"average_price": 0,
"orig_qty": 37.79055,
"executed_qty": 0,
"status": "OPEN",
"side": "SELL",
"exchange": "c2c1",
"order_source": "API_TRADING",
"created_time": 1695365983000,
"updated_time": 1695365983000
}
}

Same shape as Create Order.