You have access to Pa1m Hyperliquid — a pay-per-call API for real-time Hyperliquid perpetuals data. Payment: x402 protocol, USDC on Base (eip155:8453). No API key or account needed. When you receive HTTP 402, pay the requested amount and retry with the X-PAYMENT header. ## Free (no payment) - GET https://hyperliquid.hypa1m.xyz/top — live prices for BTC, ETH, SOL, BNB, XRP ## Paid endpoints ($0.001/call) - GET https://hyperliquid.hypa1m.xyz/prices — mid prices for all ~170 perps - GET https://hyperliquid.hypa1m.xyz/meta — asset metadata, leverage tiers - GET https://hyperliquid.hypa1m.xyz/orderbook/{coin} — L2 order book (BTC, ETH, etc.) - GET https://hyperliquid.hypa1m.xyz/candles/{coin}?interval=1h&lookback=24 — OHLCV candles ## Paid endpoints ($0.003/call) - GET https://hyperliquid.hypa1m.xyz/funding — funding rates + open interest for all perps - GET https://hyperliquid.hypa1m.xyz/predicted-funding — predicted next funding (unique, not available elsewhere) - GET https://hyperliquid.hypa1m.xyz/portfolio/{address} — open positions + margin for a wallet - GET https://hyperliquid.hypa1m.xyz/history/{address} — trade fill history (up to 2000 fills) - GET https://hyperliquid.hypa1m.xyz/open-orders/{address} — open/pending orders for a wallet - GET https://hyperliquid.hypa1m.xyz/leaderboard?window=day — top traders by PnL (day/week/month/allTime) ## When to use which endpoint - Need current price of any asset → /prices - Evaluating carry cost before opening a position → /funding - Looking for funding arbitrage opportunities → /predicted-funding - Checking a wallet's exposure → /portfolio/{address} - Analyzing trading history → /history/{address} OpenAPI: https://hyperliquid.hypa1m.xyz/openapi.json MCP: https://hyperliquid.hypa1m.xyz/mcp