Order Manipulation
Get Order
Get information about an existing order
This endpoint requires a L2 Header.
Get single order by id.
HTTP REQUEST
GET /<clob-endpoint>/data/order/<order_hash>
Request Parameters
Name | Required | Type | Description |
---|---|---|---|
id | no | string | id of order to get information about |
Response Format
Name | Type | Description |
---|---|---|
order | OpenOrder | order if it exists |
An OpenOrder
object is of the form:
Name | Type | Description |
---|---|---|
associate_trades | string[] | any Trade id the order has been partially included in |
id | string | order id |
status | string | order current status |
market | string | market id (condition id) |
original_size | string | original order size at placement |
outcome | string | human readable outcome the order is for |
maker_address | string | maker address (funder) |
owner | string | api key |
price | string | price |
side | string | buy or sell |
size_matched | string | size of order that has been matched/filled |
asset_id | string | token id |
expiration | string | unix timestamp when the order expired, 0 if it does not expire |
type | string | order type (GTC, FOK, GTD) |
created_at | string | unix timestamp when the order was created |