Get Order Detail

Get order detail (Authentication type:SIGNED, See Interface Permission)

Request Format

GET https://api-cloud.bitmart.com/spot/v1/order_detail

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Required? Description
symbol string Yes Trading pair (e.g. BTC_USDT)
order_id long Yes Order id

Request example

curl https://api-cloud.bitmart.com/spot/v1/order_detail?symbol=BTC_USDT&order_id=1736871726781

Response Data

Field Type Description
order_id long Order ID
symbol string Trading pair (e.g. BMX_USDT)
create_time long Timestamp, accurate to milliseconds
side string Side
buy=Buy order
sell=Sell order
type string Order type
limit=Limit order
market=Market order
price string Order price
price_avg string Average filled price
size string Order size (Base currency)
notional string Trade amount, unit is quote currency (special case: base currency when selling market orders)
filled_notional string Filled notional amount
filled_size string Filled amount
status string Status
1=Order failure
2=Placing order
3=Order failure, Freeze failure
4=Order success, Pending for fulfilment
5=Partially filled
6=Fully filled
7=Canceling
8=Canceled

Example of returned data format

{
    "message":"OK",
    "code":1000,
    "trace":"a27c2cb5-ead4-471d-8455-1cfeda054ea6",
    "data":{
        "order_id":1736871726781,
        "symbol":"BTC_USDT",
        "create_time":1591096004000,
        "side":"sell",
        "type":"market",
        "price":"0.00",
        "price_avg":"0.00",
        "size":"0.02000",
        "notional":"0.00000000",
        "filled_notional":"0.00000000",
        "filled_size":"0.00000",
        "status":"8"
    }
}

results matching ""

    No results matching ""