# Coinbase Advanced Trade API (slim)

> Coinbase's Advanced Trade API is the trading API of a Coinbase account, with REST, WebSocket feeds and a static sandbox for spot, US futures and, since October 2026, perpetuals on a Deribit-based gateway, authenticated by CDP API keys.

- Full: https://www.anchorterminal.com/tools/coinbase-advanced-trade.md (~8,450 tokens) · this version ~1,930 tokens · JSON https://www.anchorterminal.com/tools/coinbase-advanced-trade.json · canonical https://www.anchorterminal.com/tools/coinbase-advanced-trade
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-04 · pricing https://www.anchorterminal.com/tools/coinbase-advanced-trade#pricing · reviews https://www.anchorterminal.com/tools/coinbase-advanced-trade#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**C · 61.7/100 · rank #493 of 1349 · #7 in Crypto exchanges · not agent-ready · confidence medium**


Assessment: Advanced Trade has a public OpenAPI spec, keys limited to view, trade or transfer and to one portfolio, and a keyless static sandbox. No REST rate limit is published, the fee schedule, user agreement and country list sit behind a bot check, and an agent that wants an MCP route uses the separate coinbase-mcp listing.

## Facts

- Kind: HTTP API · vendor: Coinbase, Inc. · category: Crypto exchanges · legal entity: Coinbase, Inc. · provenance 92/100
- Packages: pypi `coinbase-advanced-py`
- Auth: OAuth or key · pricing: Pay per use · x402: no · licence: Proprietary hosted service under the Coinbase User Agreement, which answered a bot check and wasn't read. The official Python SDK coinbase-advanced-py is on GitHub
- Probe metrics: not measured yet (probes haven't run)
- Surface listed: The Advanced Trade REST API at api.coinbase.com/api/v3/brokerage, its WebSocket feeds and the Global Derivatives gateway, read from docs.cdp.coinbase.com, the OpenAPI spec, status.coinbase.com and GitHub on 3 November 2026. No account was made and no private call was sent
- MCP server: An official server for a person's Coinbase account at https://agents.coinbase.com/mcp (Streamable HTTP, OAuth with ten mcp:* scopes, 29 tools per the docs, not in the official MCP registry), listed as coinbase-mcp under agent wallets. Its orders execute on Advanced Trade. No MCP server is published for the API as such
- Key permissions: view, trade and transfer (deposits and withdrawals), set per key with a portfolio restriction and an optional IP allowlist. No withdrawal address allow-list for API keys was found in the docs
- Rate limits: WebSocket connections and unauthenticated messages 8 per second per IP. No REST rate limit numbers found on 3 November 2026; public REST responses are cached for 1 second
- Sandbox: api-sandbox.coinbase.com/api/v3/brokerage, no credentials, static responses for accounts, orders, portfolios and perpetuals, with an X-Sandbox header to simulate errors
- Countries: Not read. The supported-countries and eligibility pages on coinbase.com and help.coinbase.com answered a bot check. The docs say US futures are for eligible US clients and Global Derivatives for eligible non-US clients
- Fees: Not read. coinbase.com/advanced-fees and help.coinbase.com answered 403 on 3 November 2026
- FIX and WebSocket: No FIX for Advanced Trade in the docs read. WebSocket market data at wss://advanced-trade-ws.coinbase.com and user data at wss://advanced-trade-ws-user.coinbase.com, JWT per message for private channels; Global Derivatives takes orders over WebSocket JSON-RPC
- Terms on automated trading: Not read. The Coinbase User Agreement answered a bot check. The agents docs carry a disclaimer that the person is responsible for every trade an agent makes
- Products: Spot pairs, CFTC-regulated US dated futures, and perpetuals on the Deribit-based Global Derivatives gateway since 1 October 2026 (options and dated futures not yet on it)
- SDKs: Official Python (coinbase-advanced-py, v2.0.0rc1 on 30 September 2026); TypeScript, Go and Java are sample SDKs
- Status: status.coinbase.com, a Statuspage site, with Coinbase Advanced Trade, API, US Derivatives and International Derivatives components
- Legal entity: Coinbase, Inc., per the CDP terms read for coinbase-cdp-agentkit; a subsidiary of Coinbase Global, Inc. (Nasdaq ticker COIN)

- Scores: Reliability 58, Performance pending, Schema & documentation 80, Agent ergonomics 73, Security & auth 68, Payments & pricing 20, Task success pending, Maintenance & community 57, Transparency & trust 67 · total over the 7 assessed categories
- Why: Reliability, Read with the hosted lines. · Schema & documentation, Public OpenAPI 3.1 spec (45 paths, 51 operations) and an AsyncAPI document (25). · Agent ergonomics, Product lists filter by product_type and product_ids with limit and offset, candles take a granularity, but fields cannot be selected and th… · Security & auth, CDP keys with view, trade and transfer permissions, a portfolio restriction, an optional IP allowlist, revocation in the portal, ES256 JWTs… · Payments & pricing, No machine payment protocol on the API (0). · Maintenance & community, Read as a closed hosted service. · Transparency & trust, The editorial half.
- Sources: 20, open questions: 8, both in the full twin
- Capabilities: exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto
- JSON: https://www.anchorterminal.com/api/v1/tools/coinbase-advanced-trade.json
- Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/coinbase-advanced-trade.svg` or a link to https://www.anchorterminal.com/tools/coinbase-advanced-trade from a page on coinbase.com or one of its subdomains, or the README at the root of github.com/coinbase/coinbase-advanced-py, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin.
- Support: Discord https://discord.com/invite/cdp; https://docs.cdp.coinbase.com/advanced-trade/docs/welcome; https://help.coinbase.com/; more in the full twin

## Before you call it

1. Mint a fresh ES256 JWT for every request; tokens expire after 2 minutes and Ed25519 keys are rejected
2. Send a unique client_order_id on every order and reuse it on retry so a dropped connection does not place a second order
3. Develop against api-sandbox.coinbase.com first; its responses are static, so do not read prices or fills from it
4. Use a key with view only, or trade without transfer, and restrict it to a portfolio funded for the agent
5. For perpetuals call the Global Derivatives JSON-RPC gateway at drb.coinbase.com; the /intx/* endpoints are retired

## Connect

```bash
pip install coinbase-advanced-py
```

```bash
curl https://api.coinbase.com/api/v3/brokerage/market/products/BTC-USD/ticker?limit=1
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/coinbase-advanced-trade

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Gemini Exchange API | BB | 74.6 | exchange.market-data, exchange.spot-trading, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/gemini-exchange.min.md |
| Kraken API | BB | 71 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/kraken.min.md |
| OKX API | B | 64.3 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/okx.min.md |
| Binance API | B | 63.2 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/binance.min.md |
| Deribit | C | 59 | exchange.derivatives, exchange.market-data, exchange.spot-trading, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/deribit.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

