cURL
curl --request GET \ --url https://api.hypereth.io/v2/hyperliquid/getOrderBook \ --header 'X-API-KEY: <api-key>'
{ "symbol": "BTC", "bids": [ [ "65000.0", "0.5" ], [ "64999.0", "1.2" ], [ "64998.0", "0.8" ] ], "asks": [ [ "65001.0", "0.7" ], [ "65002.0", "1.1" ], [ "65003.0", "0.9" ] ], "dataTime": 1710000000000, "dexProcessedTimestamp": 1710000000800, "dexReceivedTimestamp": 1710000000900, "hyperethTimestamp": 1710000001000 }
Get order book depth data
Number of price levels to return
5
10
20
50
100
500
1000
Successful response
Trading symbol
Buy orders [price, quantity] (highest price first)
2
Sell orders [price, quantity] (lowest price first)
Order book snapshot timestamp