Unified REST APIMarket data
Get Order Book
Get order book depth data
Authorization
ApiKeyAuth X-API-KEY<token>
In: header
Query Parameters
symbol*stringrequired
limit?enum<integer>default: 100
Number of price levels to return
Available options:
51020501005001000marketType?enum<string>
Optional market type filter. Use "spot" for spot markets or "perp" for perpetual/futures markets.
Available options:
spotperpResponse Body
application/json
curl -X GET "https://api.hypereth.io/v2/hyperliquid/getOrderBook?symbol=BTC"{
"symbol": "BTC",
"marketType": "future",
"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
}