Actions51
- Accounts Actions
- Products Actions
- Orders Actions
- Portfolio Actions
- List Portfolios
- Create Portfolio
- Move Portfolio Funds
- Get Portfolio Breakdown
- Delete Portfolio
- Edit Portfolio
- Get Futures Balance Summary
- Get Intraday Margin Setting
- Set Intraday Margin Setting
- Get Current Margin Window
- List Futures Positions
- Get Futures Position
- Schedule Futures Sweep
- List Futures Sweeps
- Cancel Pending Futures Sweep
- Allocate Portfolio
- Get Perpetuals Portfolio Summary
- List Perpetuals Positions
- Get Perpetuals Position
- Get Portfolios Balances
- Opt Inor Outof Multi Asset Collateral
- Fees Actions
- Converts Actions
- Public Actions
- Payment Methods Actions
- Data Actions
Public → Get Public Product Book
AI-generatedSummary
Fetches the public product order book for a specified product on Coinbase.
Inputs
- product_id (required) — The unique identifier for the product you want to get the order book for.
- limit — The maximum number of entries to return in the order book.
- aggregation_price_increment — The price increment for aggregating order book entries.
- requestOptions — Collection of request options to customize the request behavior.
Output shape
a JSON object containing the order book details for the specified product.
Returned data includes bids, asks, and any optional fields based on the request. If 'limit' is used, only that number of entries will be returned.
Examples
Example 1: Fetch order book for Bitcoin
Set product_id to 'BTC-USD' and specify a limit of 5.