l2Book Info Endpoint Method
Please note that this method is only accessible through the official Hyperliquid public API. At the moment, Quicknode does not support this endpoint because it is not implemented in the open-source Hyperliquid node.
Parameters
type
string
REQUIRED
Loading...
coin
string
REQUIRED
Loading...
nSigFigs
integer
Loading...
mantissa
integer
Loading...
Returns
coin
string
Loading...
time
integer
Loading...
levels
array
Loading...
bids
array
Loading...
px
string
Loading...
sz
string
Loading...
n
integer
Loading...
asks
array
Loading...
px
string
Loading...
sz
string
Loading...
n
integer
Loading...
Request
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"l2Book","coin":"BTC"}'5
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"l2Book","coin":"BTC"}'5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free