Welcome

Quickstart

First call

The endpoint is /rpc on this site. No key is needed for the first 200 calls a day from one IP.

curl -s https://<this site>/rpc -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"hyper_getBook","params":{"coin":"BTC","depth":5}}'

A mixed batch

curl -s https://<this site>/rpc -H 'content-type: application/json' -d '[
  {"jsonrpc":"2.0","id":1,"method":"getSlot"},
  {"jsonrpc":"2.0","id":2,"method":"hyper_getFunding","params":{"coin":"SOL"}}
]'

The answer is an array in the same order. The Solana item is the node's answer as is; the hyper_ item has data, hypercoreTime, servedAt and proof.

Past the free tier

The endpoint answers HTTP 402 with an x402 payment request. See x402, or let the SDK pay.