# Coinbase Advanced Trade API ## Docs - [Coinbase Advanced Trade API: Build on the Coinbase Exchange](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/introduction.md): The Coinbase Advanced Trade API gives you programmatic access to brokerage accounts, real-time market data, and order management for 500+ assets. - [Authenticating with the Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/authentication.md): Learn how to generate a JWT token and authorize your Coinbase Advanced Trade API requests using the Bearer token authentication scheme. - [Quickstart Guide for the Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/quickstart.md): Make your first Coinbase Advanced Trade API call in minutes. Fetch your account balances, list products, and place your first test order step by step. - [Advanced Trade API Accounts: Balances and Holdings](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/concepts/accounts.md): Accounts represent your asset balances on Coinbase. Each account holds a single currency and tracks available and held balances for trading. - [Orders: Trade Types and Lifecycle in Coinbase Advanced Trade](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/concepts/orders.md): Learn about order types, statuses, and the full lifecycle of a trade from creation to settlement in the Coinbase Advanced Trade API. - [Products and Market Pairs in Coinbase Advanced Trade](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/concepts/products.md): Products are trading pairs like BTC-USD. Learn about product types, statuses, price precision, and how to find available markets on Coinbase. - [Portfolios: Organize and Track Your Coinbase Assets](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/concepts/portfolios.md): Portfolios let you segment your Coinbase assets and orders into separate groups for strategy isolation, risk management, and performance tracking. - [Place a Crypto Order with the Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/guides/place-order.md): Learn how to place market, limit, and stop-limit crypto orders using the Coinbase Advanced Trade API POST /api/v3/brokerage/orders endpoint. - [Manage Your Coinbase Advanced Trade Portfolio via API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/guides/manage-portfolio.md): Fetch account balances, view open orders, cancel orders, and track your Coinbase portfolio performance using the Advanced Trade API. - [Fetch Real-Time and Historical Market Data from Coinbase](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/guides/market-data.md): Access live prices, order books, candlestick charts, and best bid/ask data for any Coinbase trading pair using the Advanced Trade API. - [Stream Live Market Data with the Coinbase WebSocket Feed](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/guides/websocket-feed.md): Connect to the Coinbase Advanced Trade WebSocket feed to receive real-time order book updates, ticker prices, and order status changes without polling. - [Coinbase Advanced Trade API Error Codes and Responses](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/resources/error-codes.md): Reference for all Coinbase Advanced Trade API error codes, HTTP status codes, and how to handle errors in your integration. - [Coinbase Advanced Trade API Rate Limits and Quotas](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/resources/rate-limits.md): Understand the request rate limits for the Coinbase Advanced Trade API and learn how to stay within quotas and handle 429 errors gracefully. - [Coinbase Advanced Trade API Frequently Asked Questions](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/resources/faq.md): Answers to common questions about the Coinbase Advanced Trade API: authentication, order types, rate limits, WebSocket connections, and supported assets. - [GET /api/v3/brokerage/accounts — List All Accounts](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/accounts/list-accounts.md): GET /api/v3/brokerage/accounts — returns a paginated list of all trading accounts for the authenticated user, including balances and currency. - [GET /api/v3/brokerage/accounts/{account_uuid} — Get Account](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/accounts/get-account.md): GET /api/v3/brokerage/accounts/{account_uuid} — fetch a single trading account's balance, hold, status, and metadata by its unique UUID. - [POST /api/v3/brokerage/orders — Create a New Order](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/orders/create-order.md): POST /api/v3/brokerage/orders — place a market, limit, or stop-limit order to buy or sell crypto on Coinbase Advanced Trade. Supports GTC and GTD orders. - [POST /api/v3/brokerage/orders/batch_cancel — Cancel Orders](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/orders/cancel-orders.md): POST /api/v3/brokerage/orders/batch_cancel — cancel one or more open orders in a single request by order ID. Returns per-order success or failure results. - [GET /api/v3/brokerage/orders/historical/batch — List Orders](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/orders/list-orders.md): GET /api/v3/brokerage/orders/historical/batch — retrieve a filtered list of your historical and open orders with pagination support. - [Retrieve a Single Order by ID — Coinbase Advanced Trade](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/orders/get-order.md): GET /api/v3/brokerage/orders/historical/{order_id} — fetch full details of a single order by its ID, including fill status and execution price. - [GET /api/v3/brokerage/products — List Trading Products](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/products/list-products.md): GET /api/v3/brokerage/products — returns all available trading pairs on Coinbase including price, volume, and trading status for each product. - [Get Trading Pair Details — Coinbase Advanced Trade](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/products/get-product.md): GET /api/v3/brokerage/products/{product_id} — fetch current price, volume, and trading parameters for a specific product like BTC-USD. - [Get Historical OHLCV Candles — Coinbase Advanced Trade](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/products/get-product-candles.md): GET /api/v3/brokerage/products/{product_id}/candles — fetch historical OHLCV candlestick data for any trading pair with flexible time granularity. - [GET /api/v3/brokerage/best_bid_ask — Best Bid and Ask](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/products/get-best-bid-ask.md): Retrieve the current top-of-book bid and ask prices for one or more Coinbase Advanced Trade products without pulling the full order book. - [Get Product Order Book — Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/products/get-product-book.md): GET /api/v3/brokerage/product_book — fetch a snapshot of the full order book for a product, showing aggregated bids and asks with price and size. - [GET /api/v3/brokerage/portfolios — List Portfolios](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/portfolios/list-portfolios.md): GET /api/v3/brokerage/portfolios — retrieve all portfolios for the authenticated user, including portfolio UUIDs needed for breakdown requests. - [Get Portfolio Breakdown — Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/portfolios/get-portfolio-breakdown.md): GET /api/v3/brokerage/portfolios/{portfolio_uuid} — get a detailed breakdown of holdings, spot positions, and balance metrics for a portfolio. - [Get Transaction Summary — Coinbase Advanced Trade API](https://httpscashapplaunchbitcoinzann69yc4dfud2ascom.mintlify.app/api/fees/get-transaction-summary.md): GET /api/v3/brokerage/transaction_summary — get your 30-day trading volume and applicable fee tier for maker and taker fees on Coinbase Advanced Trade. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.