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
The ID(s) of order(s).
The ID(s) of the trades of fills.
The ID(s) of the product(s) to filter fills by.
Only fills with a trade time after the specified start date are returned.
Only fills with a trade time before the specified end date are returned.
(Deprecated) Only fills 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 fills to be returned (default is 100).
For paginated responses, returns all responses that come after this value.
Sort results by a field, results use unstable pagination. Default is sort by creation time
UNKNOWN_SORT_BY
, PRICE
, TRADE_TIME
Only returns the fills where the quote, base or underlying asset matches the provided asset filter(s) (e.g. 'BTC').
Only returns fills for orders matching the specified order types (e.g. 'MARKET', 'LIMIT').
- MARKET: A market order
- LIMIT: A limit order
- STOP: A stop order is an order that becomes a market order when triggered
- STOP_LIMIT: A stop order is a limit order that doesn't go on the book until it hits the stop price
- BRACKET: A bracket order is a way to mitigate potential losses in volatile markets, consisting of a limit price leg and a stop trigger price.
- TWAP: TWAP order is a way to split large buy/sell orders to smaller chunks to reduce market impact
- ROLL_OPEN: ROLL_OPEN order is the open step order of a contract roll
- ROLL_CLOSE: ROLL_CLOSE is the close step order in a contract roll
- LIQUIDATION: LIQUIDATION is a special order type that is used to liquidate a position
Only returns fills for orders matching the specified side ('BUY' or 'SELL'). By default, returns all sides.
BUY
, SELL
Only returns fills for orders matching the specified product types (e.g. 'SPOT', 'FUTURE'). By default, returns all product types.