Crypto
Hyperliquid logo

Hyperliquid API

app.hyperliquid.xyz

Hyperliquid exchange - perp and spot data, OHLCV candles, rates, and wallet volume.

Actions
13
Category
Crypto
Login
Not required
Output
JSON

Call the Hyperliquid API

Submit a task, then poll the job until it settles. This example runs act_hyperliquid_borrow_lend_reserve_states.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_hyperliquid_borrow_lend_reserve_states",
    "params": {}
  }'

13 actions on app.hyperliquid.xyz

Write

Write actions change state on app.hyperliquid.xyz and run as the account you connect.

  • Borrow Lend Reserve States

    act_hyperliquid_borrow_lend_reserve_stateswrite2 credits / call

    Returns supply and borrow rates, utilization, and oracle prices for all borrow and lend reserves.

  • Outcome Market Metadata

    act_hyperliquid_outcome_market_metadatawrite2 credits / call

    Returns prediction market definitions including outcome names, sides, and market specifications.

  • Perp Candle History

    act_hyperliquid_perp_candle_historywrite2 credits / call

    Returns historical OHLCV candle snapshots and latest close for a perpetual ticker over a window.

    coin
    string · required
    interval
    string · required
    start_time_ms
    integer · required
    end_time_ms
    integer · required
  • Perp Candle Snapshot

    act_hyperliquid_perp_candle_snapshotwrite2 credits / call

    Returns historical OHLCV candle bars for a perpetual coin symbol, interval, and time window.

    coin
    string · required
    interval
    string · required
    start_time
    integer · required
    end_time
    integer · required
  • Perp DEX Metadata

    act_hyperliquid_perp_dex_metadatawrite2 credits / call

    Returns perp DEX deployment configuration including OI caps, builder fees, and funding multipliers.

  • Perp DEX Registry

    act_hyperliquid_perp_dex_registrywrite2 credits / call

    Returns perp DEX registry data including streaming open-interest caps per asset.

  • Perpetual Market Metadata

    act_hyperliquid_perpetual_market_metadatawrite2 credits / call

    Returns the perpetual contract universe with ticker names and max leverage per market.

  • Perp Instrument Annotations

    act_hyperliquid_perp_instrument_annotationswrite2 credits / call

    Returns category annotations mapped to perpetual instrument symbols.

  • Perp Market Metadata

    act_hyperliquid_perp_market_metadatawrite2 credits / call

    Returns the perpetual instrument catalog with coin names, max leverage, size decimals, and margin tables.

  • Spot Market Metadata

    act_hyperliquid_spot_market_metadatawrite2 credits / call

    Returns all spot markets with token pairs, indices, and instrument metadata.

  • Trader Clearinghouse Positions

    act_hyperliquid_trader_clearinghouse_positionswrite2 credits / call

    Returns open perpetual positions and margin summary for a trader address.

    trader_address
    string · required
  • Trader Trade History

    act_hyperliquid_explorer_trader_trade_historywrite2 credits / call

    Returns on-chain trade and transaction history for a trader wallet address.

    trader_address
    string · required
  • User Fee Volume History

    act_hyperliquid_user_fee_volume_historywrite2 credits / call

    Returns daily user and exchange trading volume plus fee tiers for a wallet.

    wallet_address
    string · required

Hyperliquid API questions

Is there an API for Hyperliquid?
Hyperliquid does not offer a public data API for this, but Anakin Wire provides 13 maintained endpoints for app.hyperliquid.xyz. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Hyperliquid data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when app.hyperliquid.xyz changes its markup, Anakin updates the action.
Do I need a Hyperliquid account?
No. Every Hyperliquid action listed here runs anonymously — no account and no credentials required.
What does the Hyperliquid API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.