Get Order

Retrieve an order under exchange client

GET https://api.ajaib.co.id/coin/internal/v1/order

Functionality: Retrieves a single order, based on input search parameters, belonging to the exchange client's trading account

Authentication: Required

Request Param

Name
Type
Mandatory
Description

order_id

long

The order id

symbol

string

Symbol of trading pair. Refer to this

Response Body

Name
Type
Description

order_id

long

Unique identifier generated by Ajaib exchange for orders submitted successfully

side

string

The order book side. Refer to this

status

string

Status of order. Refer to this

symbol

string

Symbol of trading pair. Refer to this

type

string

Type of order. Refer to this

price

decimal

Price of order

quantity

decimal

Quantity of order

avg_price

decimal

Average matched or executed price of trades under order. Returns 0 if no trade or match

executed_quantity

decimal

Total order quantity already matched or executed. Value is always less than or equal to quantity

created_at

long

Timestamp when order is generated. Using UTC timezone in unix epoch

updated_at

long

Timestamp when order is updated. Using UTC timezone in unix epoch

{
    "order_id": 123, 
    "side": "BUY", 
    "status": "OPEN",
    "symbol": "BTC_USDT", 
    "type": "LIMIT", 
    "price": 27074.16, 
    "quantity": 0.0001, 
    "avg_price": 27074.16
    "executed_quantity": 0.0001,
    "created_at": 1722844008183,
    "updated_at": 1722844008183
}

Last updated