v1

latestOpenAPI 3.1.02026-07-265385123.6 KB
User

Get single order details

Retrieve details of a specific order by order_id or client_order_id.

Possible Details Field Values

DetailsExplanation
PostOnlyViolationOrder would take liquidity but was marked post-only
IOCViolationImmediate-or-cancel order could not be fully executed
PositionUpdateViolationOrder violates position update constraints
ReduceOnlyViolationReduce-only order would increase position size
ClearinghouseSettleViolationOrder conflicts with clearinghouse settlement
MaxFillLimitViolationOrder exceeds maximum fill limit
DuplicateClientOrderIdViolationClient order ID already exists
OrderPreCancelledOrder was cancelled before execution
PlaceMakerOrderViolationMaker order placement rules violated
DeadMansSwitchExpiredDead man's switch timeout triggered
DisallowedSelfTradingSelf-trading is not permitted
OrderCancelledByUserUser manually cancelled the order
OrderCancelledBySystemSystem automatically cancelled the order
OrderCancelledBySystemDueToErrorSystem cancelled due to an error condition
get/api/v1/orders

Query parameters

marketstring required

Market address

accountstring required

Account address

order_idstring

Order ID (provide either this or client_order_id)

client_order_idstring

Client order ID (provide either this or order_id)

Response

Order details retrieved successfully

detailsstring required
statusstring required