Skip to main content

Hyperliquid Pricing

Updated on
Apr 17, 2026

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.

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โ€‹

MethodCreditsDescription
hl_getBlock20Single block data
hl_getLatestBlockNumber20Current block number
hl_getLatestBlocks1,000Up to 200 recent blocks
hl_getBatchBlocks1,000Up to 200 specified blocks

Portfolio & Account Data Methodsโ€‹

MethodCreditsDescription
hl_portfolioState40Single user portfolio state (perp positions, spot balances, account mode)
hl_batchClearinghouseStates5 per addressBatch perp positions for up to 1000 users
hl_batchPortfolioStates5 per addressBatch portfolio states for up to 500 users
hl_batchOpenOrders5 per addressBatch open orders for up to 100 users

REST API Methodsโ€‹

REST API endpoints for trading operations, builder fee management, and market queries are provided free of charge (0 credits).

EndpointCreditsDescription
POST /exchange (Build Order)0Build order action for signing
POST /exchange (Build Market Order)0Build market order with 3% slippage
POST /exchange (Build Close Position)0Build close position order
POST /exchange (Build Cancel)0Build cancel order action
POST /exchange (Build Modify)0Build modify order action
POST /exchange (Build Approval)0Build approval for builder fee
POST /exchange (Build Revoke)0Build revocation for builder fee
POST /exchange (Send Order)0Send signed order to exchange
POST /exchange (Send Cancel)0Send signed cancellation
POST /exchange (Send Modify)0Send signed modification
POST /exchange (Send Approval)0Send signed builder fee approval
POST /exchange (Send Revoke)0Send signed builder fee revocation
GET /approval0Check builder fee approval status
POST /openOrders0Query open orders with cancel actions
POST /orderStatus0Check order status with plain-English explanation
POST /preflight0Validate order without signing
GET /markets0List all available markets (perps, spot, HIP-3)
GET /dexes0List all HIP-3 DEX names

Batch Method Billingโ€‹

The batch methods hl_getLatestBlocks and hl_getBatchBlocks can return a maximum of 200 blocks per request. These methods offer flexible billing where you're charged the lower amount between:


  • Flat rate: 1,000 credits per request
  • Per-block rate: 5 credits ร— blocks returned

This ensures you only pay for what you use when requesting smaller batches.

For example: A request for 50 blocks is charged at 250 credits (50 ร— 5), not the 1,000-credit flat rate.

Portfolio Batch Method Billingโ€‹

The batch methods hl_batchClearinghouseStates, hl_batchPortfolioStates, and hl_batchOpenOrders use dynamic pricing based on the number of user addresses in the request:


  • hl_batchClearinghouseStates: 5 credits per user address (up to 1000 addresses)
  • hl_batchPortfolioStates: 5 credits per user address (up to 500 addresses)
  • hl_batchOpenOrders: 5 credits per user address (up to 100 addresses)

For example: A request for 50 user addresses with hl_batchPortfolioStates is charged at 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.

OperationCost
hl_subscribe0 credits
hl_unsubscribe20 credits
Data streaming10 credits per 0.1 MB

gRPC Streamingโ€‹


gRPC provides streaming with advanced filtering capabilities. Billing is based on the volume of raw data that matches your subscription filters. gRPC streaming is billed at 10 credits per 0.1 MB of filtered data.

Plan Limitsโ€‹

Each plan tier includes limits on concurrent gRPC streams and the number of filters you can apply per stream. These limits help manage resource allocation across different subscription levels.

PlangRPC StreamsFilter values per gRPC Stream
Free TrialNone-
Build1Up to 5
Accelerate5Up to 10
Scale10Up to 25
Business25Up to 50
EnterpriseCustomCustom

Questionsโ€‹

Have questions about pricing or need help estimating your usage? Contact our support team.

Share this doc