Exchange Connections · Help Center
Connect Hyperliquid to AstraBit
Link your Hyperliquid account to AstraBit with an API key so the two platforms can communicate securely. You connect your wallet to Hyperliquid, create an API key there, and add that key in AstraBit — no wallet connection to AstraBit needed.
New to Hyperliquid? Sign up with referral code ASTRABIT to become Freemium-eligible — earn credits from trading volume that reduce or cover AstraBit costs. Technical setup guide only; not trading advice.
Good to know
- Perpetuals only. Spot trading isn’t supported.
- API keys are valid up to 180 days. After that, create a new one and update AstraBit.
- Hyperliquid is a DEX. You trade through your own wallet. Centralized vs. decentralized exchanges
Required on Hyperliquid
- Account type: Manual (Unified Account Mode disabled)
- Funds in Perps, not Spot
- Margin: cross or isolated (learn the difference)
- Main wallet = your Web3 wallet. The wallet you connected to Hyperliquid (e.g., MetaMask) is the address AstraBit needs.
Other settings may show a 0 balance in AstraBit or block trades.
Step-by-Step Setup
Setup Steps
Connect Your Wallet to Hyperliquid
- On Hyperliquid, click Connect wallet (top-right).
- Your wallet (e.g., MetaMask) pops up for app.hyperliquid.xyz.
- Select the account you want to use and click Connect.
This is your main wallet. You’ll enter its address in AstraBit in Step 6.


Fund Your Account with USDC
- Accept Hyperliquid’s Terms of Use, Privacy Policy, and Cookie Policy.
- (Optional) In the referral/code field, enter ASTRABIT.
- There may be a signature request — no gas fee required for it.
- Deposit USDC. This guide uses the Arbitrum network.
- A small gas fee (typically under $0.01, paid in ETH on Arbitrum) applies.
- Once confirmed, your deposit appears shortly — timing can vary with network congestion and platform activity.



Set Account Type to Manual
- Navigate to your Hyperliquid Portfolio settings.
- Click the wheel icon to open additional settings.
- Locate the Account Type setting and select Manual.
- Toggle Disable Unified Account Mode — this allows you to transfer your USDC.
- Save any changes.
Accounts set to Unified Account or Portfolio Margin may not display balances correctly in AstraBit.


Move USDC from Spot to Perps
- Under the Deposit button on the right side, click the Spot / Perps button.
- Enter the amount of USDC you want to transfer.
- Click Confirm.
Funds must sit in Perps. Funds remaining in Spot may not be visible in AstraBit and may prevent trade execution.

Create an API Key on Hyperliquid
- Under More at the top, select API.
- Click Generate on the right side to create an API wallet address, then click Authorize Wallet.
- You won’t need this API wallet address later, but it’s required to create the API. It is not your main wallet.
- Name your API anything you like.
- Copy your Private Key to a safe location.
- Set Days Valid to MAX (180 days) or your preferred duration.
- Once the API expires, you’ll create a new one and update your trading bot.


Add the API in AstraBit & Create Your Bot
- In the Nexus API Manager, click Connect New API and select Hyperliquid from the drop-down.
- Name: anything you like
- Contract Type: leave default
- Position Mode: leave default or select Force one way
- Margin Type: leave default, or select Force Cross or Force Isolated Margin
- Main Wallet Address: your Web3 wallet address (see below)
- Private Key: paste the private key generated on Hyperliquid
- Trusted IPs: if Hyperliquid allows it, add these during API creation
- Click Connect.
- You’ll see it added to the API Manager dashboard.
- It’s now ready to create a crypto trading bot and link to a strategy.
Main Wallet Address = the Web3 wallet address you used to connect to Hyperliquid (e.g., your MetaMask address from Step 1).
Don’t use the API wallet address generated in Step 5 — the connection will show a 0 balance.


Troubleshooting
Balance Showing 0?
If AstraBit shows 0 but your funds are visible on Hyperliquid, check these:
Still stuck? Contact AstraBit Support or open a ticket on Discord with screenshots of your Portfolio page, Account Type setting, and Perps balance.
FAQ
Hyperliquid Questions
Can I trade spot on Hyperliquid with AstraBit?
No. AstraBit’s Hyperliquid integration supports perpetual futures only. Keep your USDC in Perps — funds left in Spot won’t be visible to AstraBit.
Does Hyperliquid use leverage?
Yes. Perpetual futures are leveraged instruments, and the maximum leverage varies by market. Leverage amplifies both gains and losses, so trading perps — automated or not — carries a significant risk of loss and may not be suitable for everyone. A bot follows rules; it doesn’t guarantee outcomes.
Do Hyperliquid API keys expire?
Yes. Hyperliquid API wallets are valid for up to 180 days. When yours expires, create a new API key on Hyperliquid and update the connection in the Nexus API Manager.
Is Hyperliquid a DEX or a CEX?
Hyperliquid is a decentralized exchange (DEX). You hold your own keys and interact through a Web3 wallet instead of an exchange login. Read more about centralized vs. decentralized exchanges.
Which wallet address goes in “Main Wallet Address”?
The Web3 wallet address (e.g., MetaMask) you used to connect to Hyperliquid — not the API wallet address Hyperliquid generates when you create an API key.
Do I need to connect my wallet to AstraBit?
No. Your wallet only connects to Hyperliquid. AstraBit uses the API private key plus your main wallet address.
Can AstraBit withdraw or move my funds?
No. AstraBit can’t withdraw funds or transfer them between accounts or wallets. It only executes trades through the API permissions you grant.
Your keys, your funds
Cannot withdraw Cannot transfer Trades only, via your API permissionsConnected? Put it to work.
Your Hyperliquid API is live in the Nexus API Manager. Next, create a trading bot and link it to a strategy.