This page outlines pricing for Hyperliquid JSON-RPC methods, WebSocket subscriptions, and gRPC streaming. All costs are measured in API credits.
Network Specifications
Hyperliquid generates approximately 12 blocks per second, resulting in ~31 million blocks per month. This high block frequency affects data volume and credit consumption for streaming applications.
HyperCore Info Endpoint
All supported /info endpoint methods cost 20 API credits per request.
Two methods are not available through Quicknode's /info endpoint and must be accessed via gRPC alternatives:
- l2Book — Use StreamL2Book for real-time order book snapshots via gRPC.
- recentTrades — Use StreamData (TRADES stream) for real-time trades via gRPC.
gRPC streaming is billed at 10 credits per 0.1 MB of filtered data (see gRPC Streaming below).
Exchange API
Exchange API endpoints for trading operations, builder fee management, and market queries are provided free of charge (0 credits).
| Endpoint | Credits | Description |
|---|---|---|
| POST /exchange (Build Order) | 0 | Build order action for signing |
| POST /exchange (Build Market Order) | 0 | Build market order with 3% slippage |
| POST /exchange (Build Close Position) | 0 | Build close position order |
| POST /exchange (Build Cancel) | 0 | Build cancel order action |
| POST /exchange (Build Modify) | 0 | Build modify order action |
| POST /exchange (Build Approval) | 0 | Build approval for builder fee |
| POST /exchange (Build Revoke) | 0 | Build revocation for builder fee |
| POST /exchange (Send Order) | 0 | Send signed order to exchange |
| POST /exchange (Send Cancel) | 0 | Send signed cancellation |
| POST /exchange (Send Modify) | 0 | Send signed modification |
| POST /exchange (Send Approval) | 0 | Send signed builder fee approval |
| POST /exchange (Send Revoke) | 0 | Send signed builder fee revocation |
| GET /approval | 0 | Check builder fee approval status |
| POST /openOrders | 0 | Query open orders with cancel actions |
| POST /orderStatus | 0 | Check order status with plain-English explanation |
| POST /preflight | 0 | Validate order without signing |
| GET /markets | 0 | List all available markets (perps, spot, HIP-3) |
| GET /dexes | 0 | List all HIP-3 DEX names |
JSON-RPC Methods
Each JSON-RPC method call consumes credits based on the operation performed. Billing is per API response, meaning every successful response (including empty blocks) is counted.
Hyperliquid can produce blocks without transactions due to its high block frequency. These empty blocks return valid data and are billed at standard rates.
Block Data Methods
| Method | Credits | Description |
|---|---|---|
| hl_getBlock | 20 | Single block data |
| hl_getLatestBlockNumber | 20 | Current block number |
| hl_getLatestBlocks | 5 per block | Up to 200 recent blocks. Billed at 5 credits per block returned. For example, a request returning 50 blocks is charged 250 credits (50 × 5). |
| hl_getBatchBlocks | 5 per block | Up to 200 specified blocks. Billed at 5 credits per block returned. For example, a request returning 50 blocks is charged 250 credits (50 × 5). |
WebSocket Subscriptions
WebSocket connections enable real-time data streaming from Hyperliquid. Charges include subscription management and data transfer costs. Data volume is calculated based on the total size of messages received from your active subscriptions.
| Operation | Cost |
|---|---|
| hl_subscribe | 0 credits |
| hl_unsubscribe | 20 credits |
| Data streaming | 10 credits per 0.1 MB |
Portfolio & Account Data Methods
| Method | Credits | Description |
|---|---|---|
| hl_portfolioState | 40 | Single user portfolio state (perp positions, spot balances, account mode) |
| hl_batchClearinghouseStates | 5 per address | Batch perp positions for up to 1000 users. Billed at 5 credits per user address. For example, 50 addresses is charged 250 credits (50 × 5). |
| hl_batchPortfolioStates | 5 per address | Batch portfolio states for up to 500 users. Billed at 5 credits per user address. For example, 50 addresses is charged 250 credits (50 × 5). |
| hl_batchOpenOrders | 5 per address | Batch open orders for up to 100 users. Billed at 5 credits per user address. For example, 50 addresses is charged 250 credits (50 × 5). |
gRPC Streaming
gRPC provides streaming with advanced filtering capabilities. Billing is based on post-filter bytes: you are billed only for the data you actually receive after your subscription filters are applied, not the pre-filter stream volume. The same 0.1 MB = 10 credits rate applies to both WebSocket and gRPC StreamData traffic, with no separate per-message charge.
gRPC streaming is billed at 10 credits per 0.1 MB of received (post-filter) data.
Plan Limits
These limits apply to both gRPC and WebSocket streaming - the two protocols share the same tier-based caps. See the Streaming Limits table for the full breakdown including per-field filter caps.
| Plan | Concurrent Streams | Named filters per stream |
|---|---|---|
| Free Trial | None | - |
| Build | 5 | Up to 5 |
| Accelerate | 10 | Up to 10 |
| Scale | 15 | Up to 25 |
| Business | 50 | Up to 50 |
| Enterprise | Custom | Custom |
Questions
Have questions about pricing or need help estimating your usage? Contact our support team.