# Hyperliquid vs dYdX for trading bots (2026)

> Hyperliquid vs dYdX for bots and AI agents: API keys, testnet, fees, rate limits, public data and who&#x27;s restricted, from each exchange&#x27;s docs.

Canonical: https://tradingagentstack.com/hyperliquid-vs-dydx-for-trading-bots/

1. [Home](https://tradingagentstack.com/)

2. [Perp DEXs for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)

3. Hyperliquid vs dYdX

# Hyperliquid vs dYdX for trading bots (2026)

Pick Hyperliquid if you want agent keys that simply can't withdraw and every account's record public. Pick dYdX for open-source chain software, keys you can scope by action, market and sub-account, and builder codes up to 1%.

Side by side from each exchange's own docs, checked Oct 30, 2026. Full setup guides: [Hyperliquid](https://tradingagentstack.com/hyperliquid-trading-bot/) · [dYdX](https://tradingagentstack.com/dydx-trading-bot/).

|  | Hyperliquid | dYdX |
| --- | --- | --- |
| Safety score | [Safety 50%](https://tradingagentstack.com/tool/hyperliquid/) | [Safety 68%](https://tradingagentstack.com/tool/dydx/) |
| Bot key | API (agent) wallets can trade for your account but can't withdraw or transfer. [source](https://app.hyperliquid.xyz/API) | Permissioned keys can be limited by action, market and sub-account, so a trading key can be barred from withdrawals and transfers. Keys can't cap order size or leverage. [source](https://docs.dydx.xyz/concepts/trading/authenticators) |
| Testnet | Public testnet (api.hyperliquid-testnet.xyz). | Public testnet front end, indexer and faucet. |
| Base fees | Base tier: 0.015% maker, 0.045% taker (14-day volume tiers). [source](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/fees) | Tier 1: 0.01% maker, 0.05% taker; governance can change fees, so check dydx.trade. [source](https://docs.dydx.xyz/concepts/trading/rewards) |
| Rate limits | REST: 1,200 weight per minute per IP. | Long-lived orders: 2 per block and 20 per 100 blocks per account; short-term orders and cancels: 4,000 per 5 blocks. Indexer: 100 requests per 10 seconds per IP. |
| Public account data | Any account's fills, positions and PnL can be read from the public info API; vaults are public. | The keyless indexer returns any address's positions, fills, transfers and historical PnL; MegaVault's results are public. |
| Builder codes | Up to 0.1% on perps and 1% on spot; the user approves a max fee from the main wallet. | Builder codes on any order, up to 1% of the fill, with no vote needed. |
| Referrals | Create a code after $10,000 of volume; 10% of referees' fees, less their discount. | Affiliate program open after $10 of volume: up to 15% of referees' taker fees (capped per referral); vetted VIP affiliates more. |
| Restricted | US and Ontario (Canada) restricted by the terms, plus sanctioned places. | US and Canada plus sanctioned places, per the docs' compliance page. |
| AI agent tools | No official MCP server; community ones only. | No official MCP server or agent kit; community only. |
| Code and audits | Our directory lists no public source code or audit report for its core software. | Open-source chain, indexer and clients; audit reports are in the v4-chain repo. |
| Watch out | Market-manipulation losses have landed on the HLP vault twice in the past year. | Pin client package versions: its official npm and PyPI packages were compromised in January 2026. |

## FAQ

### Is Hyperliquid or dYdX better for a trading bot?

Pick Hyperliquid if you want agent keys that simply can't withdraw and every account's record public. Pick dYdX for open-source chain software, keys you can scope by action, market and sub-account, and builder codes up to 1%.

### Which is safer for an AI agent, Hyperliquid or dYdX?

Hyperliquid: API (agent) wallets can trade for your account but can't withdraw or transfer. dYdX: Permissioned keys can be limited by action, market and sub-account, so a trading key can be barred from withdrawals and transfers. Keys can't cap order size or leverage.

### Which has lower fees, Hyperliquid or dYdX?

Hyperliquid: Base tier: 0.015% maker, 0.045% taker (14-day volume tiers). dYdX: Tier 1: 0.01% maker, 0.05% taker; governance can change fees, so check dydx.trade.

More: [all 9 perp DEXs compared for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/). No referral links. Not financial advice.

[Still deciding? Tell me what you trade and I'll recommend one and build it →](https://tradingagentstack.com/go/build?from=/hyperliquid-vs-dydx-for-trading-bots/&cta=compare)

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
