Hyperliquid recent trades API
Recent Hyperliquid perp prints from the public info API recentTrades endpoint. POST /api/v1/perp-markets/hyperliquid/recent-trades costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Hyperliquid public info API Limits: Venue data as published by Hyperliquid — not trading advice. No third-party liquidation indexer is used.
Recent Hyperliquid perp prints from the public info API recentTrades endpoint. POST /api/v1/perp-markets/hyperliquid/recent-trades costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Hyperliquid public info API Limits: Venue data as published by Hyperliquid — not trading advice. No third-party liquidation indexer is used.
/api/v1/perp-markets/hyperliquid/recent-tradesExample request
curl -i -X POST "https://www.brainiac.software/api/v1/perp-markets/hyperliquid/recent-trades" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"coin": "BTC",
"limit": 20
}
JSONExample response
{
"status": "complete",
"venue": "hyperliquid",
"asOf": "2026-11-20T21:44:00.000Z",
"coin": "BTC",
"trades": [
{
"coin": "BTC",
"side": "B",
"px": "91234.5",
"sz": "0.01",
"time": 1763675040000,
"hash": "0xabc",
"tid": 1
}
],
"source": "https://api.hyperliquid.xyz/info",
"unavailable": [],
"missing_items": []
}An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).
Limits: Venue data as published by Hyperliquid — not trading advice. No third-party liquidation indexer is used. Funding is the published hourly rate; no invented annualised APR.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Hyperliquid perps snapshot — $0.001 USDC
Related APIs
Hyperliquid Perps Snapshot Trades API APIGroup docsHow it works