Skip to main content
This page is for a wallet or app that shows Hyperliquid data to its users. Each section has one request to start from and links to the full reference. Every example sends your key in the Authorization header:
Times in from and to take Unix milliseconds, ISO 8601 or relative values such as -7d (Timestamps).

Show a user’s positions, PnL and history

Open positions with entry and mark prices, leverage and unrealized PnL:
The rest of a wallet screen comes from these: Fills start on 25 May 2025 and funding payments on 27 September 2025. How far back a key reads depends on its plan (Rate limits).

Liquidation levels and the live liquidation feed

Where open positions in a market would be liquidated, by price:
For past liquidations by price level use Liquidation levels, for single rows List liquidations, and for a live feed Stream liquidations:
The liquidation map page explains the levels and the cumulative totals.

Prices and charts, HIP-3 included

Candles for a chart. HIP-3 markets use their full name, such as xyz:NVDA-PERP:
For the latest mark and oracle price of one market, read Mark prices with order=desc&limit=1. For a markets list with mark, 24h change, open interest and funding in one call, use Markets snapshot. List candles has every interval. Sources and markets explains market names.

Watch your users’ wallets live

The wallet stream sends the fills and liquidations of a list of wallets as they happen, so you do not poll each wallet:
Events are fill and liquidation. Reconnect with the Last-Event-ID header to get what you missed, up to an hour back; since=15 replays the last 15 minutes on a fresh open. One stream watches 10 wallets on Explorer, 200 on Builder and 1,000 on Pro. See Stream wallets.

Webhook alerts to your backend

Ironflow can post liquidations to your server, so your backend does not hold a stream open. This alert posts every liquidation of one wallet to your webhook:
The response carries signing_secret once; verify the X-Ironflow-Signature header on each delivery with it. On Pro, the same call with signal follows an edge signal instead (Liquidation Pressure, Opening Bell, Flow Ahead). See Create alert and Liquidation alerts.

Warn users before liquidation

A position risk alert tells your backend when one of your users’ positions gets close to its liquidation price, so you can notify the user while there is still time to add margin or reduce the position. Send the wallets and how close is too close:
Every minute Ironflow checks each open perp position of those wallets, native and HIP-3, against its liquidation price at the live mark. When a position gets within threshold_pct (the distance is |mark - liquidation price| / mark), your webhook gets one at_risk event for it. If the wallet is then liquidated, a liquidated event follows within seconds.
A position warns once per crossing: it is armed again only after it moves back out past 1.25 times the threshold (12.5% for a 10% alert), and never more than once every 30 minutes. A closed or flipped position starts fresh. markets, side and min_usd (position value) narrow what is watched. Explorer watches 10 wallets, Builder 200 and Pro 1,000, counted over all of an account’s position risk alerts; for more, write to [email protected]. Deliveries cost no credits. GET /v1/alerts shows wallets_watched and wallet_limit. The liquidation alerts guide has the details.

Caching tips

  • Cache market-wide data on your server and serve it to all your users: the markets snapshot, candles, the liquidation map and mark prices are the same for everyone. The liquidation map sends an ETag; send it back as If-None-Match and an unchanged map answers 304.
  • Call the per-user endpoints (user state, summary, fills) when a user opens the screen that shows them, not on a timer for every user.
  • For live updates of many wallets, use one wallet stream instead of polling.
Rate limits lists what each call costs in credits.

Plans

Showing Ironflow data to your users is commercial use, which needs Builder or Pro. Pro starts at $499/mo. For higher limits or partner terms, write to [email protected]. See Plans and payment.