HyperNode

Info

Send read-only Hyperliquid /info requests to CoinAPI's node and get the node's answer in Hyperliquid's own format.

Info

POST /v1/info

Forwards a Hyperliquid /info request to our node and returns the node's answer unchanged. Request and response formats are Hyperliquid's own.

  • Body: a JSON object with a type, at most 64 KB.
  • Accepted type values: frontendOpenOrders, openOrders, l2Book, meta, spotMeta, perpDexs, allMids, clearinghouseState.
StatusMeaning
200The node's answer
400The body is not a JSON object with an accepted type, or is too large
502The node is unreachable
504The node did not answer within 5 seconds
curl -s -X POST -H "X-CoinAPI-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"type":"l2Book","coin":"BTC"}' "$NODE_API_URL/v1/info"

On this page