Guide
Does Hyperliquid have an API?
Yes. Hyperliquid has a public API with info and exchange endpoints. Trades are signed, and an API wallet can sign for your main account. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order. Nyria connects Hyperliquid with your main address and an API wallet key.
Official documentation
Connect Hyperliquid in five steps
- 1
Open the API page
Go to app.hyperliquid.xyz/API and connect your main wallet.
- 2
Authorize an API wallet
Generate a new one and copy its private key.
- 3
Copy your main address
Use the 0x address of your main account.
- 4
Connect Hyperliquid in Nyria
Open the Hyperliquid card on Integrations. Paste both, tick the box, then connect.
- 5
Point TradingView at Nyria
Under Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.
What the API does
- Hyperliquid's API has an info endpoint and an exchange endpoint.
- The info endpoint reads account and market data.
- The exchange endpoint takes signed trades.
- A websocket streams updates.
What an API wallet is
- Hyperliquid's docs also call it an agent wallet.
- Your main account approves it.
- It only signs. It doesn't hold funds.
- Account data is read with the main address.
How Nyria connects Hyperliquid
- You paste your main address and the API wallet's key.
- Nyria stores the key encrypted at rest.
- It places and cancels perpetual futures trades.
- It has no feature that moves money.
- Paper runs on the Hyperliquid testnet.
Before you connect
- Hyperliquid isn't available to US persons.
- Nyria asks you to confirm you're allowed to use it.
- The minimum order value is $10.
- Perps are leveraged, and a loss can exceed your deposit.
Questions
- Can a TradingView alert call the Hyperliquid API?
- No. An alert sends a webhook. Nyria receives it and places the order.
- What is an API wallet?
- A wallet your main account approves to sign trades. Hyperliquid's docs also call it an agent wallet.
- Does Nyria need my main wallet key?
- No. Nyria needs your main address and an API wallet's key.
- Can I use Hyperliquid from the US?
- No. Hyperliquid isn't available to US persons.
- Can I test before using real money?
- Yes. Run the strategy on Nyria Paper first. It's free.
- Is there a testnet?
- Yes. Paper connects to app.hyperliquid-testnet.xyz/API instead.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Hyperliquid integration.
Guides
How broker API trading works
What a broker API does and does not do, and the receiver that reads your alerts and places the orders for you.
Read guideCan Nyria withdraw money from my broker account?
No. Nyria reads balances and sends orders. Your cash stays at your broker.
Read guideHow do I automate Hyperliquid trades from TradingView?
Alerts become Hyperliquid perps orders through an API wallet that can't withdraw.
Read guideDo I give Nyria my main Hyperliquid wallet key?
No. You enter your main address and a separate API wallet's key.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.