Head to head · Exchange spot trading · October 2026 research run
Coinbase Advanced Trade API vs HTX trading API
Coinbase Advanced Trade API scores 61.7 (C) on agent readiness against HTX trading API's 43.3 (E), and leads in 6 of 7 scored categories. Both do exchange spot trading.
Best crypto exchange APIs and MCP servers for AI agents · All 210 exchanges comparisons
Which one, for what
Best for An agent trading a person's or a treasury's Coinbase account with its own key, where the person wants sandbox tests and portfolio scoping.
Ahead on
- Reliability, 58 against 38
- Schema & documentation, 80 against 40
- Security & auth, 68 against 51
- Payments & pricing, 20 against 15
- Transparency & trust, 67 against 25
Also in its favour
- Free to start without a card
Watch for
No REST rate limit numbers found; the old rate-limits page answers 404 and only the WebSocket limit of 8 per second per IP is published
Best for Spot and USDT-margined derivatives for agents that can hold an HTX key, with no MCP server and no testnet.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
No official MCP server; the only one in the MCP registry is a third party's read-only ticker server
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Transparency & trust Coinbase Advanced Trade API +42
Coinbase Advanced Trade API 67
The editorial half. A closed service whose user agreement answered a bot check; the OpenAPI spec is public and the Python SDK is open on GitHub (12 of 30). Privacy facts per the coinbase-cdp-agentkit check of 1 October 2026 (Coinbase, Inc., processing countries, retention tied to need without numbers), not re-read (10 of 30). INTX endpoints retired on 1 October 2026 with a dated notice and a read-only grace period (12 of 20). Processing countries and provider categories per the same earlier check, no subprocessor list (8 of 20). 12 + 10 + 12 + 8 = 42.
HTX trading API 25
The editorial half. A closed service whose user agreement exists but couldn't be read (script-drawn pages), so the licence clarity is unknown rather than unclear (10 of 30). The privacy policy was not read (0 of 30, unchecked). The testnet shutdown and the 2022 changelog entries are dated, with no deprecation policy (5 of 20). No subprocessor or data-location statement read (0 of 20). 10 + 0 + 5 + 0 = 15.
Schema & documentation Coinbase Advanced Trade API +40
Coinbase Advanced Trade API 80
Public OpenAPI 3.1 spec (45 paths, 51 operations) and an AsyncAPI document (25). llms.txt and a Markdown twin of every docs page (10). Every operation has a summary and description, some one line, several with multi-sentence guidance for equities (14 of 20). Enums on product_type, granularity, order_status, time_in_forces, order_types, order_side and sort_by, with defaults (13 of 15). Examples in the docs and the sandbox's simulated errors, but the spec documents only a default error referencing grpc.gateway.runtime.Error, with no 4xx or 429 shapes (8 of 15). Paths carry /api/v3, the CDP changelog is dated, and the INTX retirement was announced with a date, but the spec's info.version is 0.1 and the October gateway change has no changelog entry (10 of 15). 25 + 10 + 14 + 13 + 8 + 10 = 80.
HTX trading API 40
No OpenAPI or other machine-readable contract found in the docs or the GitHub accounts (0). No llms.txt on htx.com, and the readable reference is a static page (0). Each endpoint states its purpose and parameters, without when-to-use guidance (12 of 20). Parameter tables carry types, required flags and enums for order types and states (10 of 15). Request and response examples throughout and error-code tables with messages (11 of 15). Versions v1 and v2 are mixed in one reference whose last changelog entry is 24 June 2022, while HTX's newer docs on htx.com couldn't be read (7 of 15). 0 + 0 + 12 + 10 + 11 + 7 = 40.
Reliability Coinbase Advanced Trade API +20
Coinbase Advanced Trade API 58
Read with the hosted lines. status.coinbase.com is a Statuspage site with Coinbase Advanced Trade, API, US Derivatives and International Derivatives components (20). The incidents feed we could read runs from 16 September to 3 November 2026. In it Advanced Trade was degraded for 25 minutes on 21 September, the website had a 3-minute major on 14 October, converts were down 1 hour 4 minutes on 26 October, and no incident named the API; 5 August to 15 September was beyond the feed, so minor only for the seven weeks read (15 of 30). No REST rate limit with numbers was found; the older rate-limits page answers 404 and llms.txt lists none, while the WebSocket page gives 8 connections and 8 unauthenticated messages per second per IP (5 of 15). Orders take a client_order_id, but no 429 or Retry-After guidance was found for Advanced Trade (8 of 15). No SLA (0). REST and WebSocket are generally available; the Global Derivatives gateway is a month old and not marked beta (10). 20 + 15 + 5 + 8 + 0 + 10 = 58.
HTX trading API 38
Read with the hosted lines. No status page found; status.htx.com does not resolve and nothing on htx.com was readable (0). No readable incident history (5). Rate limits documented per endpoint with numbers, 100 order calls per 2 seconds per UID and so on, with remaining-quota headers (15). No 429 or Retry-After behaviour is documented and the only limit error named is 1006 for conditional orders; a client-order-id unique within 8 hours and an idempotent withdrawal id give safe retries on writes (8 of 15). No SLA found (0). The spot and swap APIs are generally available (10). 0 + 5 + 15 + 8 + 0 + 10 = 38.
Security & auth Coinbase Advanced Trade API +17
Coinbase Advanced Trade API 68
CDP keys with view, trade and transfer permissions, a portfolio restriction, an optional IP allowlist, revocation in the portal, ES256 JWTs that expire after 2 minutes, and OAuth2 with wallet:* scopes for other people's accounts; no key expiry (28 of 30). View-only keys and portfolio scoping limit an agent, and transfer is a separate permission, but no withdrawal address allow-list for API keys and no confirmation step were found (14 of 20). The API returns no untrusted content (10). key_permissions reports a key's scope and account activity shows in the app, but no per-call log was found (6 of 15). HackerOne bug bounty named in a security.txt that expired on 1 June 2024; certifications unread behind a bot check (10 of 20). 28 + 14 + 10 + 6 + 10 = 68.
HTX trading API 51
HMAC-signed keys with Read, Trade and Withdraw permissions, sub-user keys without Withdraw, up to 20 bound IPs, revocation in the account and a 90-day expiry without IP binding. The AccessKeyId and the HMAC signature travel as query parameters; the secret does not, so no deduction for a secret in the URL (24 of 30). Read-only keys and withdraw-free keys exist; no server-side confirmation for orders or withdrawals (14 of 20). The API returns the exchange's own data, no untrusted content (10). No per-call log or key-use history found for the operator (3 of 15). No security.txt, disclosure policy or certification found on the pages that loaded (0 of 20). 24 + 14 + 10 + 3 + 0 = 51.
Payments & pricing Coinbase Advanced Trade API +5
Coinbase Advanced Trade API 20
No machine payment protocol on the API (0). The fee schedule answered a bot check on 3 November 2026, so no per-trade price was read, and the docs give none (0 of 20, unchecked). Six public market endpoints and the sandbox need no key or card (20). A person signs up, passes verification and mints a key in the portal (0). 0 + 0 + 20 + 0 = 20.
HTX trading API 15
No machine payment protocol (0). The fee schedule at htx.com/fee is drawn by script and answered no text, so no price is recorded first-hand (0 of 20, unchecked). Public market data needs no key, card or account; trading needs a verified and funded account. Judgement call (15 of 20). A person must sign up in a browser and pass identity checks (0). 0 + 0 + 15 + 0 = 15.
Score by category
| Category | Weight this run | Coinbase Advanced Trade API | HTX trading API | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 58 | 38 | Coinbase Advanced Trade API +20 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 80 | 40 | Coinbase Advanced Trade API +40 |
| Agent ergonomics | 13%16.2 | 73 | 69 | Coinbase Advanced Trade API +4 |
| Security & auth | 14%17.5 | 68 | 51 | Coinbase Advanced Trade API +17 |
| Payments & pricing | 10%12.5 | 20 | 15 | Coinbase Advanced Trade API +5 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 57 | 57 | even |
| Transparency & trust | 7%8.8 | 67 | 25 | Coinbase Advanced Trade API +42 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 61.7/100 | E 43.3/100 |
Facts side by side
| Fact | Coinbase Advanced Trade API | HTX trading API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Coinbase, Inc. | HTX |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | 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 | none |
| Tools exposed | none | 0 |
| Read-only variant documented | yes | no |
| llms.txt | yes | no |
| Last release | 2026-10-01 | 2026-10-21 |
| Terms last updated | couldn't be read | no date given |
| Privacy policy last updated | 2026-05-27 | no document linked |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | yes |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | none | 684 stars |
Verdicts
Coinbase Advanced Trade API
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.
HTX trading API
HTX's API has per-endpoint rate limits, read, trade and withdraw key permissions with IP binding, and SDKs in five languages. No official MCP server exists, the testnet is closed, the public reference is still Huobi's with a 2022 changelog, and the fee schedule, terms and restricted countries are on script-drawn pages we couldn't read.
Before you call either
Coinbase Advanced Trade API
- Mint a fresh ES256 JWT for every request; tokens expire after 2 minutes and Ed25519 keys are rejected
- Send a unique client_order_id on every order and reuse it on retry so a dropped connection does not place a second order
- Develop against api-sandbox.coinbase.com first; its responses are static, so do not read prices or fills from it
- Use a key with view only, or trade without transfer, and restrict it to a portfolio funded for the agent
- For perpetuals call the Global Derivatives JSON-RPC gateway at drb.coinbase.com; the /intx/* endpoints are retired
HTX trading API
- Ask the operator for a key with Read and Trade only and bound to your IP addresses; a key without IP binding expires after 90 days
- Send a fresh client-order-id of up to 64 characters with every order and reuse it only on retry; a repeat within 8 hours answers invalid.client.order.id
- Watch X-HB-RateLimit-Requests-Remain and pace at under 100 order calls per 2 seconds per UID; limits are shared by every key on the account
- There is no testnet; try order logic with the smallest size the market allows
- Confirm the person's country is served before trading; the restricted list in the user agreement couldn't be read here
Questions
Which is better for AI agents, Coinbase Advanced Trade API or HTX trading API?
Coinbase Advanced Trade API scores 61.7 (C) on agent readiness against HTX trading API's 43.3 (E), and leads in 6 of 7 scored categories.
Do Coinbase Advanced Trade API and HTX trading API need an API key?
Coinbase Advanced Trade API takes an API key or an OAuth sign-in. HTX trading API needs an API key.
Can an agent call Coinbase Advanced Trade API and HTX trading API without installing anything?
No hosted endpoint is listed for Coinbase Advanced Trade API. No hosted endpoint is listed for HTX trading API.
Other comparisons with Coinbase Advanced Trade API or HTX trading API
- Bitfinex API vs Coinbase Advanced Trade API
- Bitfinex API vs HTX trading API
- Bitget vs Coinbase Advanced Trade API
- Bitget vs HTX trading API
- Bithumb Open API vs Coinbase Advanced Trade API
- Bithumb Open API vs HTX trading API
- Bitstamp API vs Coinbase Advanced Trade API
- Bitstamp API vs HTX trading API
- Bybit vs Coinbase Advanced Trade API
- Bybit vs HTX trading API
- Crypto.com Exchange API vs HTX trading API
- Gate vs HTX trading API
- Gemini Exchange API vs HTX trading API
- HTX trading API vs Hyperliquid
- HTX trading API vs Kraken API
- HTX trading API vs KuCoin
- HTX trading API vs MEXC API
- HTX trading API vs OKX API
- HTX trading API vs Uniswap Trading API
- HTX trading API vs Upbit Open API
- Binance API vs Coinbase Advanced Trade API
- Binance API vs HTX trading API
- Coinbase Advanced Trade API vs Coinbase MCP server (Coinbase for Agents)
- Coinbase Advanced Trade API vs Crypto.com Exchange API
- Coinbase Advanced Trade API vs Deribit
- Coinbase Advanced Trade API vs Gate
- Coinbase Advanced Trade API vs Gemini Exchange API
- Coinbase Advanced Trade API vs Hyperliquid
- Coinbase Advanced Trade API vs Kraken API
- Coinbase Advanced Trade API vs KuCoin
- Coinbase Advanced Trade API vs MEXC API
- Coinbase Advanced Trade API vs OKX API
- Coinbase Advanced Trade API vs Uniswap Trading API
- Coinbase Advanced Trade API vs Upbit Open API
- Coinbase MCP server (Coinbase for Agents) vs HTX trading API
- Coinbase Advanced Trade API vs dYdX
- Deribit vs HTX trading API
- dYdX vs HTX trading API
Machine-readable
- This page as Markdown
/compare/coinbase-advanced-trade-vs-htx.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/coinbase-advanced-trade.json·/api/v1/tools/htx.json - From a terminal
anchor compare coinbase-advanced-trade htx(the CLI) - Over MCP
compare_tools {"a": "coinbase-advanced-trade", "b": "htx"}at/mcp, no key