List Orders
Get a list of orders filtered by optional query parameters (product_ids, order_status, etc.).
Equities: Set product_type to EQUITY to return only equity orders. Each equity order includes its time in force in displayed_order_config and execution session in equity_trading_session.
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Creating API Keys section of our Coinbase App Authentication docs for information on how to generate your Bearer Token.
Query Parameters
ID(s) of order(s).
Optional canonical product ID(s) to filter by. For equities, use product_id rather than the display ticker. If omitted, orders for all products are returned.
Returns orders matching this product type. Use EQUITY for equity orders. By default, returns all product types.
UNKNOWN_PRODUCT_TYPE, SPOT, FUTURE, EQUITY, OPTION_GROUP, FUTURE_GROUP Only returns orders matching the specified order statuses.
PENDING, OPEN, FILLED, CANCELLED, EXPIRED, FAILED, UNKNOWN_ORDER_STATUS, QUEUED, CANCEL_QUEUED, EDIT_QUEUED Only orders matching this time in force(s) are returned. Default is to return all time in forces.
UNKNOWN_TIME_IN_FORCE, GOOD_UNTIL_DATE_TIME, GOOD_UNTIL_CANCELLED, IMMEDIATE_OR_CANCEL, FILL_OR_KILL Only returns orders matching the specified order types (e.g. MARKET). By default, returns all order types.
UNKNOWN_ORDER_TYPE, MARKET, LIMIT, STOP, STOP_LIMIT, BRACKET, TWAP, ROLL_OPEN, ROLL_CLOSE, LIQUIDATION, SCALED 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, RETAIL_ADMIN, RETAIL_RAISE 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, LAST_UPDATE_TIME (Deprecated) Native currency to fetch order with. Default is USD.
Optional boolean to use simplified total value calculation. Default is true.
Optional proof token for 2FA validation when accessing transaction history (EU SCA compliance).
Response
A successful response.
A list of orders matching the query.
Whether there are additional pages for this query.
true
(Deprecated) The sequence of the db at which this state was read.
For paginated responses, returns all responses that come after this value.
"789100"
Indicates that a valid proof token is required to access this data (EU SCA compliance).
true