List Orders
Get a list of orders filtered by optional query parameters (product_id
, order_status
, etc).
Query Parameters
ID(s) of order(s).
Optional string of the product ID(s). Defaults to null, or fetch for all products.
Returns orders matching this product type. By default, returns all product types.
UNKNOWN_PRODUCT_TYPE
, SPOT
, FUTURE
Only returns orders matching the specified order statuses.
Only orders matching this time in force(s) are returned. Default is to return all time in forces.
Only returns orders matching the specified order types (e.g. MARKET). By default, returns all order types.
Only returns the orders matching the specified side (e.g. 'BUY', 'SELL'). By default, returns all sides.
BUY
, SELL
The start date to fetch orders from (inclusive). If provided, only orders created after this date will be returned.
The end date to fetch orders from (exclusive). If provided, only orders with creation time before this date will be returned.
Only returns the orders matching this placement source. By default, returns RETAIL_ADVANCED placement source.
UNKNOWN_PLACEMENT_SOURCE
, RETAIL_SIMPLE
, RETAIL_ADVANCED
Only returns the orders matching the contract expiry type. Only applicable if product_type is set to FUTURE.
UNKNOWN_CONTRACT_EXPIRY_TYPE
, EXPIRING
, PERPETUAL
Only returns the orders where the quote, base or underlying asset matches the provided asset filter(s) (e.g. 'BTC').
(Deprecated) Only orders matching this retail portfolio id are returned. Only applicable for legacy keys. CDP keys will default to the key's permissioned portfolio.
The number of orders to display per page (no default amount). If has_next
is true, additional pages of orders are available to be fetched. Use the cursor
parameter to start on a specified page.
For paginated responses, returns all responses that come after this value.
Sort results by a field, results use unstable pagination. Default is to sort by creation time.
UNKNOWN_SORT_BY
, LIMIT_PRICE
, LAST_FILL_TIME
(Deprecated) Native currency to fetch order with. Default is USD
.
Response
A successful response.
The response is of type object
.