L4 Order Book
L4 Summary
All markets with order counts and best bid/ask
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
All markets with order counts and best bid/ask
GET /v2/l4book/summary
{
"markets": 699,
"total_orders": 394315,
"height": 958200000,
"data": [
{
"coin": "HYPE",
"bid_orders": 35432,
"ask_orders": 6462
},
{
"coin": "BTC",
"bid_orders": 33807,
"ask_orders": 15052
},
{
"coin": "@107",
"bid_orders": 19423,
"ask_orders": 8599
},
{
"coin": "ETH",
"bid_orders": 11490,
"ask_orders": 6917
}
]
}
curl -H "x-api-key: YOUR_KEY" \
"https://hyper.polynode.dev/v2/l4book/summary"
import requests
resp = requests.get(
"https://hyper.polynode.dev/v2/l4book/summary",
headers={"x-api-key": "pn_live_YOUR_KEY"}
)
data = resp.json()
print(f"{data[markets]} markets, {data[total_orders]} total orders")
for m in data["data"][:10]:
print(f" {m[coin]}: {m[bid_orders]} bids, {m[ask_orders]} asks")