Hyperliquid RPC vs Data API: Which is best for you?
Learn when to use Hyperliquid RPC, the official API, or a dedicated data API.
JoshuaGrowth Lead
Search for "Hyperliquid RPC" and you get a list of providers. Pick one, and you'll find it only covers part of what your app needs. That comes from how Hyperliquid is built.
Hyperliquid has two layers. HyperEVM is an EVM chain, with contracts, events, blocks and the usual JSON-RPC. HyperCore is the native order book, with orders, fills, positions and liquidations. RPC providers are built for the first layer. The second mostly runs through Hyperliquid's own API.
This guide covers what an RPC gives you, what it doesn't, and where a data API fits, with the actual endpoints for five common builds.
What a node gives you
Everything on Hyperliquid starts with the node. A non-validator running Hyperliquid's node software can do three things:
- Serve HyperEVM JSON-RPC.
- Serve a local
/infoserver for about 30 requests that depend only on current state, such as positions, open orders, vaults, fees and metadata. - Write the raw firehose to disk: fills, order statuses, book diffs and other events. That's around 100 GB a day, written as files and not served over any API.
What a node can't do matters just as much. Hyperliquid's own README says the local server doesn't support historical time series queries or websockets. And no node places orders. On HyperCore, every order goes through Hyperliquid's API.
That's the real difference between an RPC and a data API. An RPC serves the first two. A data API takes the third, stores it, and turns it into something you can query.
If you're weighing whether to run a node yourself, How to get Hyperliquid data compares that against the other options, and our non-validator node guide covers the setup.
What a Hyperliquid RPC covers
An RPC provider runs nodes for you and puts an endpoint in front of them. You get HyperEVM JSON-RPC over HTTP and WebSocket, often with archive data, plus the current-state /info methods. The public HyperEVM endpoint is capped at 100 requests a minute, so a private one is worth having for anything in production.
Use one if you deploy contracts on HyperEVM, read events, or need a private endpoint for a bot.
An example, Chainstack runs Hyperliquid nodes for HyperEVM and HyperCore on mainnet and testnet, with archive data for HyperEVM.
What an RPC can't serve
Anything that needs history or aggregation isn't in a node's current state, so a standard RPC passes it through to Hyperliquid's public API. That's around 30 read methods, including:
userFills,userFillsByTimeandhistoricalOrderscandleSnapshot,fundingHistoryanduserFundingl2Book,allMids,recentTradesandportfolio
Every /exchange action goes there too: order, cancel, modify, transfers and withdrawals. There's no private route for order submission on HyperCore.
Those calls then count against the public API's limits, which are tight for anything that reads many wallets. We break each one down in Hyperliquid Rate Limits.
For a bot trading one account, that's usually fine. For an app tracking thousands of wallets, it isn't.
Where a data API fits
Hydromancer is a Hyperliquid data provider, not an RPC. We run our own nodes, including a validator, and store and index what they write, with history back to July 2025. That lets you query the history and aggregates a node can't answer. REST calls use the same POST /info shape as the official API, and the WebSocket lives at wss://api.hydromancer.xyz/ws.
Hydromancer has its own limits, set by plan and much higher than the public API's: 5,000 to 50,000 weight a minute, with most requests costing 2. Batch endpoints stretch that further, since one batchClearinghouseStates call covers up to 1,000 wallets.
That covers reads only. Orders still go through Hyperliquid, and the order rate limit on your address stays the same.
Which one do you need?
| You need to | Use |
|---|---|
| Deploy or call HyperEVM contracts | RPC |
| Read HyperEVM events and archive state | RPC |
| Place and cancel orders | Hyperliquid official API |
| Read fills, positions or PnL across many wallets | Data API |
| Stream order book depth, or L4 with maker addresses | Data API |
| Track liquidations | Data API |
| Pull historical fills, candles and books | Reservoir |
Five builds, and the endpoints behind them
1. Copy trading app
A copy trading app does three jobs: find traders worth following, watch what they do, and watch what your own users do.
Pick the leaders. userPnlSummary returns realized PnL stats for any address: total PnL, win rate, number of trades, median hold time, fees and funding.
It also returns a "human score" from 0 to 100, so you can filter out wallets that are clearly bots before you list them.
{ "type": "userPnlSummary", "user": "0x..." }Watch their positions. batchClearinghouseStates returns positions and margin for up to 1,000 wallets in one request. Against the official API, that's 1,000 separate clearinghouseState calls.
{ "type": "batchClearinghouseStates", "users": ["0xLeader1...", "0xLeader2..."] }Polling positions on a timer is also your safety net. If a live message drops, the next position read shows you what the leader actually holds, so a copier never drifts for long.
Stream their fills. The userFills subscription takes a list of addresses, so one connection covers every leader.
{
"type": "subscribe",
"subscription": { "type": "userFills", "addresses": ["0xLeader1...", "0xLeader2..."] }
}Copy orders still go to Hyperliquid's official API. The data API tells you what to copy. It doesn't place the trade.
2. Trading frontend with a builder code
If your frontend earns builder fees, you want to know what your users trade and what you earn, as it happens.
Live. The builderFills stream sends every fill routed through your builder code.
{
"type": "subscribe",
"subscription": { "type": "builderFills", "builder": "0xYourBuilder..." }
}Backfill and revenue reports. builderFillsByTime returns the same fills for any time range, up to 2,000 per page, with a cursor for the next page. Each fill includes builderFee, so revenue is a sum over the results.
Data goes back to July 28, 2025. The alternative, Hyperliquid's builder fill files, arrives one to three days late.
{
"type": "builderFillsByTime",
"builder": "0xYourBuilder...",
"startTime": 1785542400000,
"endTime": 1788220800000
}That range is August 2026. Pass the cursor from the last fill to get the next page.
Warn users when they get liquidated. builderLiquidations streams liquidations of your users. A liquidation goes to your channel if the user's last fill on that coin came through your builder code.
TWAP fills don't carry builder codes, so they don't count.
3. Liquidation dashboard
The official API has no liquidation feed. You'd have to read every fill and filter for liquidations yourself.
Live. liquidationFills streams every liquidation on Hyperliquid, batched per block.
{ "type": "subscribe", "subscription": { "type": "liquidationFills" } }History. liquidationHistoryByTime returns past liquidations for one market, or across all markets if you leave coin out. HIP-3 markets use the dex:COIN form, such as xyz:JPY. Up to 1,000 events per request, newest first.
{ "type": "liquidationHistoryByTime", "coin": "BTC", "limit": 1000 }Each event includes the liquidated address, size, price, mark price, and whether it was closed against the book (market) or absorbed by the backstop liquidator (backstop). That's enough for a heatmap, a biggest-liquidations feed, or a per-market chart.
Our guide to building with liquidation data on Hyperliquid goes further.
4. Market making and order book analytics
The official l2Book shows price levels. It doesn't show who is behind them.
L4 stream. l4BookUpdates streams every change to the order book, per block, with the address behind each order. You can see queue position, spot a large maker pulling liquidity, or rebuild the book yourself.
{
"method": "subscribe",
"subscription": { "type": "l4BookUpdates", "coins": ["BTC", "ETH"] }
}L4 snapshot. The l4Book REST endpoint returns every resting limit order across all perp markets, with addresses, refreshed every second. Use it to seed your local book before applying stream updates. It's limited to 10 requests per 5 minutes, which is plenty for a seed.
If you only need top of book or aggregated levels, bbo and l2Book streams are available too.
Our post on BBO vs L2Book vs L4Book covers which one fits.
5. HyperEVM app with a HyperCore side
This is the setup that needs both an RPC and a data API.
Take a vault or lending protocol on HyperEVM whose users also hold positions on HyperCore. Contract state, deposits and events come from an RPC.
The HyperCore side comes from the data API: batchPortfolioStates returns perp and spot balances for up to 500 users at once, or 100 with "dex": "ALL_DEXES" to include every HIP-3 market.
{ "type": "batchPortfolioStates", "users": ["0x...", "0x..."], "dex": "ALL_DEXES" }Neither source covers both layers alone, so most teams in this spot run one of each.
Getting started
Get an API key from the Hydromancer docs. Every REST call goes to the same endpoint:
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"batchClearinghouseStates","users":["0x...","0x..."]}'For WebSocket, add your key to the URL: wss://api.hydromancer.xyz/ws?token=YOUR_KEY.
For full history, Reservoir has every HyperCore fill, candle and book snapshot, free.
Summary
Use an RPC for HyperEVM. Send orders through the official API. Add a data API when your app reads HyperCore at scale: many wallets, builder fills, liquidations or full order book depth.
Read next

Top 12 Builders on Hyperliquid by Revenue
Explore Hyperliquid’s top 12 builders by all-time revenue, comparing builder fees, routed trading volume, and the products behind the numbers.
Read ↗
Top Prop Firms on Hyperliquid: Side-by-Side Comparison
A side-by-side comparison of PROPR, Hypernova and Iceberg, covering account fees, trading tools and payout rules, with observations from using all three.
Read ↗
Top 5 Prediction Market Platforms built on Hyperliquid
The top five prediction market platforms built on Hyperliquid are Outcome, Share, Trade[XYZ] Events, Skew and Liquidiction.
Read ↗