Orderbook: live crypto bids, asks, spread and depth
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Orderbook for a Hyperliquid perp: live bids and asks with spread and depth, from the exchange's public feed. Use when an agent needs current market liquidity before a trade. No account, pay per call over x402.
Inputs
| Name | Type | Description |
|---|---|---|
coin | string | Coin symbol such as BTC, ETH, SOL or HYPE (default BTC) |
levels | integer | Levels per side, 1-20 (default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/orderbook-live?coin=BTC"
Node.js
const r = await fetch("https://glyphtools.com/orderbook-live?coin=BTC", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/orderbook-live?coin=BTC", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/orderbook-live?coin=BTC&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"coin": "BTC",
"time": "2026-10-23T13:24:02.893Z",
"mid": 81870.5,
"spread": 1,
"spreadBps": 0.12,
"bids": [
{
"px": 81870,
"sz": 3.89437,
"n": 22
}
],
"asks": [
{
"px": 81871,
"sz": 1.2,
"n": 4
}
],
"bidDepth": 12.3,
"askDepth": 9.8,
"bidDepthUsd": 1007000,
"askDepthUsd": 802000,
"source": "Hyperliquid public info API"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is orderbook_live, and the first 10 successful calls are free:
https://glyphtools.com/mcp