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
typevalues:frontendOpenOrders,openOrders,l2Book,meta,spotMeta,perpDexs,allMids,clearinghouseState.
| Status | Meaning |
|---|---|
| 200 | The node's answer |
| 400 | The body is not a JSON object with an accepted type, or is too large |
| 502 | The node is unreachable |
| 504 | The 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"