order = clob_client.get_order("0xb816482a5187a3d3db49cbaf6fe3ddf24f53e6c712b5a4bf5e01d0ec7b11dabc")
print(order)
This endpoint requires a L2 Header.

Get single order by id.

HTTP REQUEST

GET /<clob-endpoint>/data/order/<order_hash>

Request Parameters

NameRequiredTypeDescription
idnostringid of order to get information about

Response Format

NameTypeDescription
orderOpenOrderorder if it exists

An OpenOrder object is of the form:

NameTypeDescription
associate_tradesstring[]any Trade id the order has been partially included in
idstringorder id
statusstringorder current status
marketstringmarket id (condition id)
original_sizestringoriginal order size at placement
outcomestringhuman readable outcome the order is for
maker_addressstringmaker address (funder)
ownerstringapi key
pricestringprice
sidestringbuy or sell
size_matchedstringsize of order that has been matched/filled
asset_idstringtoken id
expirationstringunix timestamp when the order expired, 0 if it does not expire
typestringorder type (GTC, FOK, GTD)
created_atstringunix timestamp when the order was created
order = clob_client.get_order("0xb816482a5187a3d3db49cbaf6fe3ddf24f53e6c712b5a4bf5e01d0ec7b11dabc")
print(order)