New · Enhanced Datastreams are live — decoded, trade-ready market dataLEARN MORE →
Documentation

Ship on Hyperliquid
in minutes

A quickstart, full API reference, and datastream guides. Most teams are live with a one-line change.

Quickstart

Three steps to your first request

  1. 1Create an API keySign up and generate a key from the dashboard. The free tier is ready immediately.
  2. 2Point your client at usSwap your base URL to api.hyperliquidrpc.com — wire-compatible with the official API.
  3. 3Subscribe to streamsOpen a WebSocket to stream.hyperliquidrpc.com and subscribe to raw or enhanced channels.
first-request.ts
copy
1import { Hyperliquid } from "hyperliquid";
2
3const sdk = new Hyperliquid({
4 baseUrl: "https://api.hyperliquidrpc.com",
5 apiKey: process.env.HLRPC_KEY,
6});
7
8const mids = await sdk.info.allMids();
9// → { BTC: "67234.0", ... }

Build something
fast

Spin up an API key in seconds. Free tier included — no credit card required.