hyperliquid-api-reference

Installation
SKILL.md

Hyperliquid API reference (desk edition)

Verified against the official docs on 2026-08-16. When in doubt, fetch the page: append .md to any docs URL for raw markdown, for example https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint.md.

Endpoints

Mainnet Testnet
REST https://api.hyperliquid.xyz https://api.hyperliquid-testnet.xyz
WebSocket wss://api.hyperliquid.xyz/ws wss://api.hyperliquid-testnet.xyz/ws
HyperEVM RPC https://rpc.hyperliquid.xyz/evm (chain 999) https://rpc.hyperliquid-testnet.xyz/evm (chain 998)
  • POST /info body {"type": "<request>", ...}, unsigned; response is the bare payload. Unknown type or missing field: HTTP 422; invalid JSON: HTTP 400.
  • POST /exchange body {"action": {...}, "nonce": <ms>, "signature": {"r","s","v"}, "vaultAddress"?: "0x...", "expiresAfter"?: <ms>}; response {"status":"ok","response":{"type":"order"|"cancel"|"default"|..., "data"?: {...}}} or {"status":"err","response":"<string>"}, both HTTP 200.
  • Header Content-Type: application/json.

/info request types

Installs
3
GitHub Stars
19
First Seen
2 days ago
hyperliquid-api-reference — galleonlabs/hypergrok-trading-desk