Head to head · Exchange market data · October 2026 research run

HTX trading API vs Hyperliquid

Hyperliquid scores 50 (D) on agent readiness against HTX trading API's 43.3 (E), and leads in 6 of 7 scored categories. HTX trading API leads on maintenance & community. Both do exchange market data.

Best crypto exchange APIs and MCP servers for AI agents · All 210 exchanges comparisons

Which one, for what

HTX trading API E

Best for Spot and USDT-margined derivatives for agents that can hold an HTX key, with no MCP server and no testnet.

Ahead on

  • Maintenance & community, 57 against 39

Watch for

No official MCP server; the only one in the MCP registry is a third party's read-only ticker server

Hyperliquid D

Best for An agent trading perpetuals or spot on chain from its own wallet with no account, or acting for a master account through an approved API wallet.

Ahead on

  • Security & auth, 64 against 51
  • Payments & pricing, 55 against 15

Watch for

No official MCP server; the 23 registry entries are all third parties, several selling data by x402

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.

Payments & pricing Hyperliquid +40

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.

Hyperliquid 55

No machine payment protocol (0). Fees published per tier without login (20). No card anywhere; public info endpoints are free and the testnet faucet gives 1,000 mock USDC, though only to an address that has deposited on mainnet (15 of 20). No signup; an agent with a funded EVM wallet deposits USDC on a bridged chain and trades, subject to the unread terms (20). Total 55.

Maintenance & community HTX trading API +18

HTX trading API 57

Read as a closed service. The readable changelog ends on 24 June 2022, but the official contract SDKs were pushed on 21 October 2026 and the spot SDKs in April and July 2026, so the API surface is still being maintained; judgement call (20 of 30). SDK pushes on 30 July, 23 August and 21 October 2026 are commits, not releases (10 of 20). A Telegram group for API support and a support centre, neither tested; GitHub issues not read (8 of 15). Official SDKs in five languages (15). No CI seen, dependencies not checked (4 of 10). 20 + 10 + 8 + 15 + 4 = 57.

Hyperliquid 39

Read as a closed hosted service with open SDKs. The API has no dated changelog, so the last dated change is the Python SDK's 0.24.0 on 4 June 2026, 152 days before this check; the node repository was pushed on 10 August 2026 and the docs describe newer actions (HIP-4 outcome markets, borrow and lend) without dates. Judgement call (10 of 30). No three dated releases in 90 days (0). Support through Discord and the docs' FAQ, 112 open issues on the SDK whose replies couldn't be read (8 of 25). Official Python and Rust SDKs, the Rust one last pushed 21 October 2025; no MCP registry entry (15). CI on Python 3.9 and 3.13 with Poetry, Dependabot badge, a lock file (6 of 10). Total 39.

Security & auth Hyperliquid +13

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.

Hyperliquid 64

No shared secrets. Actions are signed by the wallet key or by an API wallet the master approves with a name and optional expiry; API wallets can only sign, withdrawals and external sends are user-signed, and approving a new wallet deregisters the old. No IP allow-list or address allow-list (24 of 30). An API wallet is a trading-only credential and info needs no key, but nothing limits order size or marks an action as needing approval (10 of 20). The API returns no untrusted content (10). Fills, historical orders, userRole and nonces are queryable per account; no per-wallet action log (8 of 15). A bug bounty run by the Hyper Foundation with rewards up to under 1 million USDC, a Zellic audit of the bridge contract, a SECURITY.md on the SDK; no security.txt (403), no SOC 2 (12 of 20). Total 64.

Score by category

CategoryWeight this runHTX trading APIHyperliquidEdge
Reliability16%203840Hyperliquid +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.24042Hyperliquid +2
Agent ergonomics13%16.26970Hyperliquid +1
Security & auth14%17.55164Hyperliquid +13
Payments & pricing10%12.51555Hyperliquid +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.85739HTX trading API +18
Transparency & trust7%8.82526Hyperliquid +1
Negative events≤1500
TotalE 43.3/100D 50/100

Facts side by side

FactHTX trading APIHyperliquid
KindHTTP APIHTTP API
VendorHTXHyperliquid Labs
Hosted endpointno (local only)no (local only)
Transports
AuthAPI keyOAuth or key
PricingPay per usePay per use
x402nono
LicencenoneThe exchange runs on the Hyperliquid chain (HyperCore), whose node is distributed as a binary under an Apache-2.0 repository; the Python and Rust SDKs are MIT. The API servers and front end are closed
Tools exposed00
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-212026-06-04
Terms last updatedno date givencouldn't be read
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessnot found in the textcouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waiveryescouldn't be read
Popularity684 stars1.9k stars, 167k PyPI/wk

Verdicts

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.

Hyperliquid

Hyperliquid's API needs no signup or key, an approved API wallet can trade but not withdraw, fees and rate limits are published with numbers, and a testnet mirrors mainnet. There is no official MCP server, OpenAPI file, status page, changelog or readable terms, and signing uses two schemes the docs say to leave to an SDK.

Before you call either

HTX trading API

  1. 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
  2. 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
  3. 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
  4. There is no testnet; try order logic with the smallest size the market allows
  5. Confirm the person's country is served before trading; the restricted list in the user agreement couldn't be read here

Hyperliquid

  1. Generate a fresh API wallet, approve it with approveAgent with a name and expiry, sign with it, and query with the master address, never the agent address
  2. Use the Python SDK's sign_l1_action and sign_user_signed_action; mixing the two, field order in msgpack or an uppercase address gives "User or API Wallet ... does not exist"
  3. Set a cloid on every order and read the per-order statuses array; one batch-level error rejects the whole batch
  4. Budget address limits by volume (one action per 1 USDC traded after 10,000); batch orders to lower IP weight, and use WebSocket for data
  5. Arm scheduleCancel before unattended trading so open orders are cancelled if the agent stops

Questions

Which is better for AI agents, HTX trading API or Hyperliquid?

Hyperliquid scores 50 (D) on agent readiness against HTX trading API's 43.3 (E), and leads in 6 of 7 scored categories. HTX trading API leads on maintenance & community.

Do HTX trading API and Hyperliquid need an API key?

HTX trading API needs an API key. Hyperliquid takes an API key or an OAuth sign-in.

Can an agent call HTX trading API and Hyperliquid without installing anything?

No hosted endpoint is listed for HTX trading API. No hosted endpoint is listed for Hyperliquid.

Other comparisons with HTX trading API or Hyperliquid

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.