Skip to content
Alchemy Logo

Quickstart

Beta

HyperCore APIs are in beta. Message fields, limits, and behavior may change, including breaking changes. To request access, contact [email protected].

HyperCore streaming is in beta and is enabled per team. To request access, contact [email protected]. Once your team has access, HyperCore appears in your Alchemy dashboard and works with your existing API key.

websocat wss://hypercore-mainnet.g.alchemy.com/v2/<API_KEY>

After {"channel":"connected"}, send:

{"method":"subscribe","subscriptionId":"eth-top","subscription":{"type":"bbo","coins":["ETH"]}}

You'll receive an acknowledgement, a snapshot, then an update whenever the best bid or ask changes:

{"channel":"subscriptionResponse","subscriptionId":"eth-top","data":{"type":"bbo","coins":["ETH"]}}
{"seq":1,"channel":"bbo","subscriptionId":"eth-top","data":{"blockNumber":1183716828,"blockTime":1791996538119,"isSnapshot":true,"books":[{"coin":"ETH","bbo":[{"px":"2442.5","sz":"36.3142","n":7},{"px":"2442.6","sz":"237.042","n":44}]}]}}

Was this page helpful?