Hyperliquid trading bot guide: how bots connect, what they cost and what can go wrong
TopTradingBots editorial team · Published 12 Nov 2026 · Updated 12 Nov 2026 · Editorial policy
A Hyperliquid trading bot trades perpetual futures or spot on Hyperliquid's on-chain order book through an API (agent) wallet that you approve. That wallet can sign trades but cannot send funds to another address. You pay Hyperliquid's fees, from 0.045% taker on perps, and some bot platforms add a builder fee. Leverage of up to 40x makes liquidation the main risk.
What is Hyperliquid?
Hyperliquid is a blockchain built for trading. Its official docs describe it as a layer one blockchain whose core, HyperCore, includes “fully onchain perpetual futures and spot order books.” Every order, cancel, trade and liquidation is recorded on-chain.
For a bot user, that means two things. First, there is no exchange account with an email and password. You trade from a crypto wallet you control. Second, the order book works like a centralized exchange’s, so the bot strategies you know from Binance or Bybit, such as grids, DCA and signal bots, can run on it.
Most activity is in perpetual futures, the same leveraged contracts that our spot vs futures guide explains. That is where most of the risk sits, too.
How a Hyperliquid trading bot connects: API wallets
On a centralized exchange, a bot connects with an API key. On Hyperliquid, the equivalent is an API wallet, which the docs also call an agent wallet. You approve it from your main wallet, and it can then sign actions for your account or its sub-accounts.
Here is what the official API docs say about these wallets:
- They only sign. “API wallets are only used to sign.” To read balances or positions, a bot must query your main address; querying the agent’s address returns nothing.
- They cannot send your funds elsewhere. The exchange endpoint docs mark only a few actions as agent-signable. The agent version of the asset-transfer action states that the “destination must match the source address,” so it moves funds within your own account, not to someone else.
- There are limits. An account can have 1 unnamed and up to 3 named API wallets, and an approval can last at most 180 days.
- They expire and get pruned. An agent wallet is dropped when it is replaced, when it expires, or when the account that registered it has no funds left. Hyperliquid “strongly” suggests not reusing old agent addresses, because previously signed actions can be replayed once the nonce data is pruned.
In practice, a bot platform asks you to connect your wallet and approve an agent. You keep custody of the main wallet, and withdrawals are not among the agent-signable actions in the docs. That is safer than handing over a withdrawal-enabled key, but an agent can still open any trade, at any size your margin allows. The same habits from our API key safety guide apply: use a dedicated sub-account, fund it with only what the bot needs, and revoke agents you no longer use.
Hyperliquid fees for bots
Hyperliquid’s fee page sets base rates by your rolling 14-day volume. At the lowest tier:
| Market | Taker | Maker |
|---|---|---|
| Perpetuals | 0.045% | 0.015% |
| Spot | 0.070% | 0.040% |
Higher volume lowers these rates, and staking HYPE gives a further discount of 5% to 40%. Spot volume counts double toward your tier.
Grid bots place resting limit orders, so many of their fills pay the lower maker rate. Signal and market-order bots mostly pay taker.
Builder fees: the cost bot platforms add
Hyperliquid has a system called builder codes that lets an app take a fee on fills it sends for you. It is capped at 0.1% on perps and 1% on spot, and “the user must approve a maximum builder fee for each builder, and can revoke permissions at any time.” Check that approval screen: it shows the most a platform can charge.
Two platforms in our data use it:
- WunderTrading charges a builder fee of 0.035% per trade on Hyperliquid, charged on execution. In return, Hyperliquid users get Premium features without a subscription. See our WunderTrading review.
- Gainium’s free plan trades through Hyperliquid with a builder fee instead of a subscription. Its pricing page lists 0.07% on the sell side for spot and 0.045% on both buy and sell for futures, when fees are paid in USDC. See our Gainium review.
Example: a bot opens and closes a 1,000 USDC perp position with market orders. Hyperliquid’s base taker fee is 0.45 USDC each way, 0.90 in total. A 0.045% builder fee on both sides adds another 0.90, which doubles the cost of the round trip. On a bot that trades many times a day, compare that with a flat subscription using our bot fee calculator.
Which bot platforms support Hyperliquid?
These platforms list Hyperliquid on their official supported-exchange pages or help centres, according to our data:
| Platform | Bot types | Price in our data | Hyperliquid notes |
|---|---|---|---|
| 3Commas | DCA, grid, signal | From $15/mo | Listed for spot and futures |
| Bitsgap | Grid, DCA, combo, BTD, loop, QFL | Free plan; from $23/mo | On its 17-exchange list |
| Gainium | Grid, DCA, combo, hedge | Free plan; from $12/mo | Free plan uses a builder fee; runs Hyperliquid perps |
| Coinrule | Rule-based, DCA, grid, signal | Free plan; from $29.92/mo | Help-centre guide for Hyperliquid perps; terms exclude EU customers |
| Gunbot | Grid, DCA, scalping, custom scripts | From $29/mo | Listed with futures support |
| WunderTrading | Signal, DCA, grid, market neutral | Free plan; from $19/mo | 0.035% builder fee; Premium features free |
| Stoic AI | Managed portfolio strategies | From $24/mo | Meta strategy on Hyperliquid perps, $1,000 minimum |
Our Hyperliquid exchange page keeps this list current as we re-check sources.
Hyperliquid grid bot
Most “Hyperliquid grid bot” setups are futures grids run by one of the platforms above. They work like any futures grid: long, short or neutral, inside a price range, with leverage. Our futures grid bot guide covers modes, range breaks and where liquidation sits, so read it before you set one up.
Hyperliquid API trading and copy trading
If you write your own bot, you call Hyperliquid’s API directly and sign with an agent wallet as described above. Our guide on how to build a trading bot covers the rest.
For copy trading, Hyperliquid’s native option is vaults. Depositors “earn a share of the profits, or losses, of the vault,” and user vaults have a 1-day lock-up, per the depositor docs. Vault leaders take a 10% profit share and must keep at least 5% of the vault, per the leader docs. Our copy trading guide explains how to judge a leader’s record.
Leverage and liquidation on Hyperliquid
Maximum leverage on Hyperliquid varies by asset, from 3x to 40x, according to its liquidation docs. Liquidation starts when your account equity falls below maintenance margin, which is half the initial margin at maximum leverage.
Example: on an asset with 40x maximum leverage, initial margin at that leverage is 2.5% of the position, so maintenance margin is 1.25%. A position opened at 40x has very little room before the liquidation process starts.
Three details matter for bots:
- Mark price triggers it. Liquidations use a mark price that combines external exchange prices with Hyperliquid’s own order book, not just the last trade.
- Cross vs isolated margin. In a backstop liquidation, a cross-margin account hands all its cross positions and cross margin to the liquidator. An isolated position only loses its own margin. A bot running several pairs on cross margin can take the whole account down with one bad pair.
- No clearance fee. Unlike many centralized exchanges, Hyperliquid charges no clearance fee on liquidations, but you still lose the margin.
Perpetuals also carry funding payments between longs and shorts, which add a running cost or income to any bot that holds positions. Our risk management guide and position size calculator help you size positions so a normal move does not end the bot.
Who can use Hyperliquid?
Hyperliquid’s terms of use, last updated June 15, 2026, say its interface is not available to “Restricted Persons.” That includes people and companies that reside in, are located in or are incorporated in the United States or Ontario, Canada, plus sanctioned jurisdictions and their citizens. The terms also make you responsible for checking that your use complies with local law.
Bot platforms have their own rules on top. Coinrule’s terms exclude EU customers, for example. Check both before you connect, and see our country guides for each platform’s status where you live.
Hyperliquid trading bot checklist
- Confirm you are not a restricted person under Hyperliquid’s terms and that your bot platform serves your country.
- Use a dedicated sub-account and fund it with only what the bot needs.
- Approve a fresh API wallet for each bot or sub-account, and revoke ones you stop using.
- Read the builder fee approval screen and note the maximum fee you are agreeing to.
- Add Hyperliquid’s fee, any builder fee and the subscription into one cost per trade.
- Pick leverage well below the asset’s maximum and check the liquidation price once all bot orders could fill.
- Prefer isolated margin when one pair going wrong should not hit the rest.
- Paper trade or backtest the settings, then start small.
FAQ
Can a Hyperliquid bot withdraw my funds?
An API wallet signs trades for your account. Hyperliquid's API docs list only a few actions an agent may sign, and its asset-transfer action requires the destination to match the source address, so an agent cannot send funds to a different address. Withdrawals are not among the actions the docs mark as agent-signable. A bot can still lose money through bad trades, so fund it with what you can afford to lose.
What is a Hyperliquid builder fee?
Builder codes let an app or bot platform take a fee on fills it sends for you. Hyperliquid caps it at 0.1% on perps and 1% on spot, and you must approve a maximum fee for each builder and can revoke it. WunderTrading charges 0.035% per trade on Hyperliquid, and Gainium's free plan charges a builder fee instead of a subscription.
Is there a Hyperliquid grid bot?
Hyperliquid itself offers order types such as TWAP and trailing stops in its app, but grid bots come from third-party platforms. In our data, 3Commas, Bitsgap, Gainium, Coinrule, Gunbot and WunderTrading list Hyperliquid as a supported exchange, and several of them run futures grid bots.
Can I use a Hyperliquid trading bot in the US?
Hyperliquid's terms of use say its interface is not available to people or companies in the United States or Ontario, Canada, or in sanctioned jurisdictions. Connecting through a third-party bot does not change who you are, so check both Hyperliquid's terms and the bot platform's terms before you start.
Does Hyperliquid have copy trading?
Hyperliquid has vaults: you deposit into a vault run by a leader and share its profits or losses. Leaders get a 10% profit share and must keep at least 5% of the vault. Hyperliquid notes that past vault performance does not guarantee future returns.
Sources
- Hyperliquid Docs — About Hyperliquid ↗checked 12 Nov 2026
- Hyperliquid Docs — Nonces and API wallets ↗checked 12 Nov 2026
- Hyperliquid Docs — Exchange endpoint ↗checked 12 Nov 2026
- Hyperliquid Docs — Fees ↗checked 12 Nov 2026
- Hyperliquid Docs — Builder codes ↗checked 12 Nov 2026
- Hyperliquid Docs — Liquidations ↗checked 12 Nov 2026
- Hyperliquid Docs — For vault leaders ↗checked 12 Nov 2026
- Hyperliquid Docs — For vault depositors ↗checked 12 Nov 2026
- Hyperliquid — Terms of Use (last updated June 15, 2026) ↗checked 12 Nov 2026
Related guides
- Are crypto trading bots profitable? What actually decides the result
- Bitcoin trading bot: which strategies suit BTC, where to run them and what to avoid
- How to backtest a trading bot, then prove it with paper and forward tests
- Spot vs futures trading bot: what changes when your bot uses leverage
Not financial advice. Trading bots do not remove market risk.