Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

The Advanced Trade API lets you manage orders, portfolios, products, and fees with our new v3 endpoints.

Advanced Trade Endpoints

Advanced Trade endpoint URL: https://api.coinbase.com/api/v3/brokerage/{resource}

Private Endpoints

Consult the Authentication guide for more information on CDP API keys.
APIMethodResourceAPI Key Permission
List AccountsGET/accountsview
Get AccountGET/accounts/:account_idview
Create OrderPOST/orderstrade
Cancel OrdersPOST/orders/batch_canceltrade
List OrdersGET/orders/historical/batchview
List FillsGET/orders/historical/fillsview
Get OrderGET/orders/historical/{order_id}view
Preview OrdersPOST/orders/previewview
Get Best Bid/AskGET/best_bid_askview
Get Product BookGET/product_bookview
List ProductsGET/productsview
Get ProductGET/products/{product_id}view
Get Product CandlesGET/products/{product_id}/candlesview
Get Market TradesGET/products/{product_id}/tickerview
Get Transactions SummaryGET/transaction_summaryview
Create Convert QuotePOST/convert/quotetrade
Commit Convert TradePOST/convert/{trade_id}trade
Get Convert TradeGET/convert/{trade_id}view
List PortfoliosGET/portfoliosview
Create PortfolioPOST/portfoliosview (any portfolio)
Move Portfolio FundsPOST/portfoliostransfer (for source portfolio)
Get Portfolio BreakdownGET/portfoliosview (for that portfolio)
Delete PortfolioDELETE/portfoliostrade (for that portfolio)
Edit PortfolioPUT/portfoliostrade (for that portfolio)
Get Futures Balance SummaryGET/cfm/balance_summaryview
List Futures PositionsGET/cfm.positionsview
Get Futures PositionGET/cfm/positions/{product_id}view
Schedule Futures SweepPOST/cfm/sweeps/scheduletransfer
List Futures SweepsGET/cfm/sweepsview
Cancel Futures SweepDELETE/cfm/sweepstransfer
Get Intraday Margin SettingGET/cfm/intraday/margin_settingview
Set Intraday Margin SettingPOST/cfm/intraday/margin_settingtrade
Get Current Margin WindowGET/cfm/intraday/current_margin_windowview
Get Perpetuals Portfolio SummaryGET/intx/portfolioview (for intx portfolio)
List Perpetuals PositionsGET/intx/positionsview (for intx portfolio)
Get Perpetuals PositionGET/intx/positionsview (for intx portfolio)
Get Perpetuals Portfolio BalancesGET/intx/balancesview (for intx portfolio)
Opt-In Multi Asset CollateralPOST/intx/multi_asset_collateraltrade (for intx portfolio)
Allocate PortfolioPOST/intx/allocatetransfer (for intx portfolio)
List Payment MethodsGET/payment_methodsview
Get Payment MethodGET/payment_methods/{payment_method_id}view
Get Api Key PermissionsGET/key_permissionsview

Public Endpoints

Public endpoints do not require authentication.
1s cache is enabled for all public endpoints. If you need real-time data, please choose one of the following options:
  • Use the WebSocket (recommended as this will provide the fastest product and market trades updates).
  • Set cache-control: no-cache header on the API requests to bypass caching.
  • Use the authenticated endpoints.
APIMethodResource
Get Server TimeGET/time
Get Public Product BookGET/market/product_book
List Public ProductsGET/market/products
Get Public ProductGET/market/products/{product_id}
Get Public Product CandlesGET/market/products/{product_id}/candles
Get Public Market TradesGET/market/products/{product_id}/ticker