HyperliquidHyperliquid REST APIOfficial hyperliquid methods

Hyperliquid Info Endpoint

General-purpose information endpoint that transparently forwards requests to Hyperliquid's official RPC.

Legacy Behavior: This endpoint accepts any valid Hyperliquid info request and forwards it unchanged to the official Hyperliquid RPC endpoint. The response from Hyperliquid is returned without modification.

Supported Methods: All Hyperliquid info methods are supported, including but not limited to:

  • Market data: allMids, l2Book, candleSnapshot, exchangeStatus
  • User data: openOrders, userFills, userFunding, clearinghouseState
  • Order data: orderStatus, historicalOrders
  • Account data: subAccounts, portfolio, liquidatable

For specific method documentation, see the individual endpoint paths or refer to Hyperliquid's official documentation.

Rate Limit: Varies by method (2-60 weight)

POST
/v1/hl/info

Request Body

application/json

type?string

The specific info method to call

Example: allMids

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.hypereth.io/v1/hl/info" \  -H "Content-Type: application/json" \  -d '{    "type": "allMids"  }'
{}
{
  "error": "Insufficient margin for order placement",
  "code": 1001,
  "details": {}
}
{
  "error": "Insufficient margin for order placement",
  "code": 1001,
  "details": {}
}
{
  "error": "Insufficient margin for order placement",
  "code": 1001,
  "details": {}
}