Skip to main content
GET
/
getOrderBook
Get Order Book
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
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

symbol
string
required
limit
enum<integer>
default:100

Number of price levels to return

Available options:
5,
10,
20,
50,
100,
500,
1000

Response

200 - application/json

Successful response

symbol
string

Trading symbol

bids
string[][]

Buy orders [price, quantity] (highest price first)

asks
string[][]

Sell orders [price, quantity] (lowest price first)

dataTime
integer

Order book snapshot timestamp