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 — wallet connection, account configuration, API creation, and where it all goes in AstraBit. Six steps, start to finish.

~15 minutes API keys — never custody Perpetual futures

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.

Know Before You Automate

What to Consider First

Automation doesn’t change the fundamentals. Here’s what to understand about Hyperliquid and AstraBit’s integration before you start.

Perpetuals Only — No Spot

AstraBit’s Hyperliquid integration supports perpetual futures. Spot trading on Hyperliquid is not supported, and funds left in your Spot balance won’t be visible to AstraBit.

Leverage Cuts Both Ways

Perpetual futures are leveraged instruments. Trading them — automated or not — involves a significant risk of loss and may not be suitable for all investors. A bot follows rules; it does not guarantee outcomes.

API Keys Expire

Hyperliquid API wallets are valid for up to 180 days. When yours expires, you’ll create a new key on Hyperliquid and update your AstraBit connection — a few minutes of maintenance.

Hyperliquid Is a DEX

Hyperliquid is a decentralized venue: you hold your own keys and interact through a wallet, which works differently from a centralized exchange. New to the distinction? Read our guide to centralized vs. decentralized exchanges.

Step-by-Step Setup

Six Steps,
Start to Finish

No wallet connection to AstraBit is needed. You connect your wallet to Hyperliquid, create an API key there, and add that key in AstraBit.

Required Hyperliquid Configuration

  • Account type: Manual (Unified Account Mode disabled)
  • Funds location: Perps, not Spot
  • Margin: cross or isolated — learn the difference

Accounts configured differently may show a 0 balance in AstraBit or prevent trades from executing.

1

Connect Your Wallet to Hyperliquid

  1. On Hyperliquid, click Connect wallet (top-right).
  2. Your wallet (e.g., MetaMask) pops up for app.hyperliquid.xyz.
  3. Select the account you want to use and click Connect.
Your wallet is connected to Hyperliquid.
Hyperliquid trading interface showing the HYPE/USDC market with candlestick chart and order book.
The Hyperliquid trading interface
Connect wallet pop-up on Hyperliquid with email, MetaMask, WalletConnect, OKX Wallet, and Coinbase Wallet options.
Connect with MetaMask, WalletConnect, and more
2

Fund Your Account with USDC

  1. Accept Hyperliquid’s Terms of Use, Privacy Policy, and Cookie Policy.
  2. (Optional) In the referral/code field, enter ASTRABIT.
  3. There may be a signature request — no gas fee required for it.
  4. Deposit USDC. This guide uses the Arbitrum network.
  5. A small gas fee (typically under $0.01, paid in ETH on Arbitrum) applies.
  6. Once confirmed, your deposit appears shortly — timing can vary with network congestion and platform activity.
Your Hyperliquid trading account is created and USDC deposited.
Hyperliquid pop-up asking the user to review and accept Terms of Use, Privacy Policy, and Cookie Policy.
Accept the terms to enable trading
Hyperliquid 'Deposit USDC from Arbitrum' pop-up with asset, deposit chain, and amount fields.
Deposit USDC via Arbitrum
Hyperliquid 'Sign Transactions' prompt with the connected wallet asking to confirm a USDC deposit on Arbitrum.
Confirm the deposit in your wallet
3

Set Account Type to Manual

  1. Navigate to your Hyperliquid Portfolio settings.
  2. Click the wheel icon to open additional settings.
  3. Locate the Account Type setting and select Manual.
  4. Toggle Disable Unified Account Mode — this allows you to transfer your USDC.
  5. Save any changes.
Your Hyperliquid account is configured for AstraBit compatibility.

Accounts set to Unified Account or Portfolio Margin may not display balances correctly in AstraBit.

Hyperliquid Unified Account Mode setting.
The Account Type setting in Portfolio
Hyperliquid settings dropdown with the checkbox to disable Unified Account Mode.
Disable Unified Account Mode
4

Move USDC from Spot to Perps

  1. Under the Deposit button on the right side, click the Spot / Perps button.
  2. Enter the amount of USDC you want to transfer.
  3. Click Confirm.
Your funds are available for AstraBit trading strategies.

Funds must sit in Perps. Funds remaining in Spot may not be visible in AstraBit and may prevent trade execution.

Hyperliquid 'Transfer USDC' pop-up moving 550 USDC from Spot to Perps.
Transfer from Spot to Perps
5

Create an API Key on Hyperliquid

  1. Under More at the top, select API.
  2. Click Generate on the right side to create an API wallet address, then click Authorize Wallet.
    • You won’t need this address later, but it’s required to create the API.
  3. Name your API anything you like.
  4. Copy your Private Key to a safe location.
  5. 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.
You have an authorized API wallet and private key, safely stored.
Hyperliquid API page with the 'More' menu expanded and the API option highlighted.
Find API under the More menu
Hyperliquid 'Authorize API Wallet' pop-up with name, address, days valid fields and a private key warning.
Authorize the API wallet and save your private key
6

Add the API in AstraBit & Create Your Bot

  1. 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: the wallet address you used to connect to Hyperliquid
    • Private Key: paste the private key generated on Hyperliquid
    • Trusted IPs: if Hyperliquid allows it, add these during API creation
  2. Click Connect.
  3. You’ll see it added to the API Manager dashboard.
  4. It’s now ready to create a crypto trading bot and link to a strategy.
Hyperliquid is connected and ready to power your trading bot.
AstraBit 'Connect Hyperliquid API' form with fields for API name, contract type, position mode, margin type, wallet address, private key, and trusted IPs.
The Connect Hyperliquid API form in Nexus
AstraBit Nexus API Manager showing a connected Hyperliquid account with 550 USDC available.
Connected and verified in the API Manager

Troubleshooting

Balance Showing 0?

If AstraBit displays a 0 balance even though funds are visible in Hyperliquid, run through this checklist:

1Verify your account type is set to Manual.
2Verify your funds are held in Perps.
3Refresh your AstraBit exchange connection.
4Reconnect the Hyperliquid API if necessary.

Still Stuck?

Contact AstraBit Support or submit a ticket through Discord, and include screenshots of your Portfolio page, Account Type settings, and balance location (Perps).

Security Reminder

Your Keys, Your Funds

API permissions strictly limit what AstraBit can do with your Hyperliquid account.

Cannot Withdraw

AstraBit can not withdraw funds from your account. Ever.

Cannot Transfer

AstraBit can not transfer funds between accounts or wallets.

Trades Only

AstraBit only executes trades via the API permissions you grant.

Connected? Put it to work.

Your Hyperliquid API is live in the Nexus API Manager. The next step is creating a trading bot and linking it to a strategy.

Create Your Trading Bot →