v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03113163377.5 KB
Algos

Get algo order by id

Get an algo order by id. Only return algo order in OPEN or NEW status.

get/algo/orders/{algo_id}

Path parameters

algo_idstring required

Algo ID

Response

OK

accountstring

Account identifier (user's account address)

algo_paramsobject

Type-specific algo parameters

algo_type'' | 'TWAP'
avg_fill_pricestring

Average fill price of the order

cancel_reasonstring

Reason for algo cancellation if it was closed by cancel

created_atinteger

Algo creation time

end_atinteger

Algo end time

idstring

Unique algo identifier

last_updated_atinteger

Algo last update time. No changes once status=CLOSED

marketstring

Market to which algo belongs

remaining_sizestring

Remaining size of the algo

side'BUY' | 'SELL'
sizestring

Algo size

status'NEW' | 'UNTRIGGERED' | 'OPEN' | 'CLOSED'

Example response

{
  "account": "0x4638e3041366aa71720be63e32e53e1223316c7f0d56f7aa617542ed1e7512",
  "avg_fill_price": "26000",
  "cancel_reason": "NOT_ENOUGH_MARGIN",
  "created_at": 1681493746016,
  "end_at": 1681493746016,
  "id": "123456",
  "last_updated_at": 1681493746016,
  "market": "BTC-USD-PERP",
  "remaining_size": "0",
  "size": "0.05"
}