Advanced Trade REST API Overview
The Advanced Trade API lets you manage orders, portfolios, products, and fees with our new v3
endpoints. For core Coinbase functions for account deposits, withdrawals, and transaction, you will still need Sign In with Coinbase API v2
endpoints.
Most v3 endpoints require authentication unless otherwise noted
The Advanced Trade REST API comprises all v3
endpoints. It does not duplicate the Sign In With Coinbase v2
endpoints for core Coinbase functions (some of which need authentication as well).
Postman Collections
The following Postman collections and environments are available for download:
Advanced Trade Endpoints
Advanced Trade endpoint URL: https://api.coinbase.com/api/v3/brokerage/{resource}
Consult the Authentication guide for more information on Cloud API keys vs legacy API keys.
API | Method | Resource | Cloud API key permission | Legacy key scope |
---|---|---|---|---|
List Accounts | GET | /accounts | view | wallet:accounts:read |
Get Account | GET | /accounts/:account_id | view | wallet:accounts:read |
Create Order | POST | /orders | trade | wallet:buys:create , wallet:user:read |
Cancel Orders | POST | /orders/batch_cancel | trade | wallet:buys:create |
List Orders | GET | /orders/historical/batch | view | wallet:transactions:read |
List Fills | GET | /orders/historical/fills | view | wallet:transactions:read |
Get Order | GET | /orders/historical/{order_id} | view | wallet:transactions:read |
Preview Orders | POST | /orders/preview | view | wallet:buys:create |
Get Best Bid/Ask | GET | /best_bid_ask | view | wallet:user:read |
Get Product Book | GET | /product_book | view | wallet:user:read |
List Products | GET | /products | view | wallet:user:read |
Get Product | GET | /products/{product_id} | view | wallet:user:read |
Get Product Candles | GET | /products/{product_id}/candles | view | none |
Get Market Trades | GET | /products/{product_id}/ticker | view | wallet:user:read |
Get Transactions Summary | GET | /transaction_summary | view | wallet:transactions:read |
Create Convert Quote | POST | /convert/quote | trade | wallet:trades:create |
Commit Convert Trade | POST | /convert/{trade_id} | trade | wallet:trades:create |
Get Convert Trade | GET | /convert/{trade_id} | view | wallet:trades:read |
Get Server Time | GET | /time | N/A: public endpoint | N/A: public endpoint |
List Portfolios | GET | /portfolios | view | |
Create Portfolio | POST | /portfolios | view (any portfolio) | |
Move Portfolio Funds | POST | /portfolios | transfer (for source portfolio) | |
Get Portfolio Breakdown | GET | /portfolios | view (for that portfolio) | |
Delete Portfolio | DELETE | /portfolios | trade (for that portfolio) | |
Edit Portfolio | PUT | /portfolios | trade (for that portfolio) | |
Get Futures Balance Summary | GET | /cfm/balance_summary | view | wallet:transactions:read |
List Futures Positions | GET | /cfm.positions | view | wallet:transactions:read |
Get Futures Position | GET | /cfm/positions/{product_id} | view | wallet:transactions:read |
Schedule Futures Sweep | POST | /cfm/sweeps/schedule | transfer | wallet:transactions:transfer |
List Futures Sweeps | GET | /cfm/sweeps | view | wallet:transactions:read |
Cancel Futures Sweep | DELETE | /cfm/sweeps | transfer | wallet:transactions:transfer |
Get Perpetuals Portfolio Summary | GET | /intx/portfolio | view (for intx portfolio) | |
List Perpetuals Positions | GET | /intx/positions | view (for intx portfolio) | |
Get Perpetuals Position | GET | /intx/positions | view (for intx portfolio) | |
Allocate Portfolio | POST | /intx/allocate | transfer (for intx portfolio) | |
List Payment Methods | GET | /payment_methods | view | wallet:payment-methods:read |
Get Payment Method | GET | /payment_methods/{payment_method_id} | view | wallet:payment-methods:read |
See Also: