๐Ÿš€ Hyperliquid API - Swagger UI

Interactive API documentation with "Try it out" functionality

Secure Wallet Authentication โ€” Your private keys never leave your wallet. You approve each transaction individually. Connect MetaMask (or any WalletConnect-compatible wallet) to test trading endpoints.
Important: Ensure you are on the correct network (Arbitrum One for Mainnet, Arbitrum Sepolia for Testnet). Start with small amounts on Testnet. Each order requires wallet approval.
Not Connected

โšก Quick API Tester - Test Endpoints Instantly

โ–ผ
๐Ÿ’ก Quick Start: Select an example below or choose from the dropdown, then click "Send Request" to test the API instantly. No authentication needed for public endpoints!

๐Ÿ”น All Mid Prices

{"type": "allMids"}

๐Ÿ“Š L2 Order Book

{"type": "l2Book", "coin": "BTC"}

๐Ÿ“ˆ Candle Data

{"type": "candleSnapshot", ...}

โ„น๏ธ Market Metadata

{"type": "meta"}

๐Ÿ“ค Place Order (wallet)

{"action": {"type": "order", ...}}

โŒ Cancel Order (wallet)

{"action": {"type": "cancel", ...}}