app.gtxagent.com/x402/hl/microstructure
Funding, open interest, book depth, spread, imbalance and basis for one Hyperliquid perp, computed from our own 10-second book and 5-minute asset-context snapshots. Inputs that are not collected are named as unavailable.
GET
https://app.gtxagent.com/x402/hl/microstructureUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://app.gtxagent.com/x402/hl/microstructure?levels=book+levels+per+side%2C+default+10&market=Hyperliquid+coin%2C+for+example+BTC");
console.log(await res.json());Example input
{
"levels": "book levels per side, default 10",
"market": "Hyperliquid coin, for example BTC"
}