Network

RPC Endpoints & API

Connect to HyperEVM via standard JSON-RPC or interact with HyperCore via the native REST and WebSocket APIs.

HyperEVM RPC (JSON-RPC)

Standard Ethereum JSON-RPC over HTTP. WebSocket is not available on the official endpoint — use community providers like HypeRPC if you need WebSocket access.

Mainnet EVM RPC

EVM JSON-RPC999
https://rpc.hyperliquid.xyz/evm

Testnet EVM RPC

EVM JSON-RPC998
https://rpc.hyperliquid-testnet.xyz/evm

HyperCore Native API (REST)

POST requests with Content-Type: application/json. Used for querying perpetuals, spot markets, user positions, and funding data.

Mainnet Info API

REST JSONPOST
https://api.hyperliquid.xyz/info

Testnet Info API

REST JSONPOST
https://api.hyperliquid-testnet.xyz/info
Example — fetch all mid prices
POST https://api.hyperliquid.xyz/info
Content-Type: application/json

{
  "type": "allMids"
}

WebSocket (Real-time Feed)

Subscribe to live order book, trade, and position data.

Mainnet WebSocket URL
wss://api.hyperliquid.xyz/ws
Testnet WebSocket URL
wss://api.hyperliquid-testnet.xyz/ws
// Subscribe to all mid prices
{
  "method": "subscribe",
  "subscription": { "type": "allMids" }
}

Rate Limits

EndpointLimit
Info API (REST)20 req / second
Exchange API (REST)120 req / minute
WebSocket messages1,000 / minute
EVM RPC (JSON-RPC)50 req / second

For higher throughput, consider community providers such as HypeRPC or Hydromancer API.

Common Info API Request Types

allMids

All current mid prices for perpetuals and spot markets.

meta

Perpetuals metadata: asset names, decimals, leverage.

metaAndAssetCtxs

Metadata + live mark prices, funding rates, open interest.

clearinghouseState

User account: open positions, leverage, liquidation price, margin.

fundingHistory

Historical funding rates for a specific asset.

predictedFundings

Predicted funding rates across venues (Binance, Bybit, Hyperliquid).

perpDeployAuctionStatus

Current Dutch auction timeline and gas price for HIP-3 deployment.

perpDexs

List all perpetual DEXs (native + builder-deployed via HIP-3).