HyperCore data API
HyperCore data API: the Hyperliquid exchange: order book, perps, spot, HIP-3 markets, liquidations, positions, stop-loss / take-profit orders, price-level maps, balances, token prices. 106 REST calls and WebSocket channels by group, each with its latency measured live.
Base URL https://api.femtos.xyz/v1, key in Authorization: Bearer. Markdown: HyperCore endpoints as Markdown.
By group
Market data
- Markets GET /v1/markets
Every tradable perp, spot, HIP-3 and outcome market with 24 h stats, its last 5 minutes and last hour, and a trending score. - Markets stream WS hc.markets
The GET /v1/markets list of HyperCore (prices, 24 h volume and change), or the markets of a watchlist (`pairs`), pushed on subscribe and when it changes. - Candles GET /v1/candles
OHLCV of any HyperCore market down to 1 s, ascending, UTC-aligned. - Forming candle WS hc.candles
The forming candle, pushed once per block where it changes. - Token candles GET /v1/candles
OHLCV of a token through its USDC market (a perp coin: the perp). - Token candles stream WS hc.token.candles
A token's candles by name (its USDC market; a perp coin: the perp), the forming candle pushed once per block where it changes. - Trades GET /v1/trades
Latest fills of one market, newest first. - Trades stream WS hc.trades
All trades of one market as they happen: raced between our node and Hyperliquid's public feed, first copy sent, the other dropped. - Order book GET /v1/book
L2 book of one market with order counts, from our node. - Book stream WS hc.book
Full-depth book, then the levels each block changes. - Named wallets on the book WS hc.book.named
Who sits on the book: the resting limit orders of the named wallets (funds, traders, KOLs), by level, live. - Walls on the book WS hc.book.walls
Every large resting order on the book with its owner, live, and whether that owner's walls hold or are pulled when the price comes. - Wall reliability GET /v1/hypercore/walls
Which accounts' large resting orders hold when the price comes, and which are pulled. - Walls held or pulled GET /v1/hypercore/walls/events
One market's walls the price came to, one by one: held or pulled, when and whose. - Best bid / offer WS hc.bbo
Top of book of one market each block: raced between Hyperliquid's public feed and our node (newest block wins, our node corrects the same block). - Asset contexts stream WS hc.ctx
Mark, oracle, mid, funding, open interest and 24 h volume of every HyperCore market, pushed as they change: one read per second for every subscriber. - Predicted funding GET /v1/hypercore/funding/predicted
The funding rate each perp, HIP-3 included, will pay at the next hour if it ended now, with its average premium and formula terms. - Order updates WS hc.orders
Every order status change, filterable by coin, user and status. One frame per block with all its matching events. - Token prices GET /v1/prices
USD price of up to 100 tokens in one call, each with its source and provenance. - Price history GET /v1/prices/history
USD closes per unit of up to 25 tokens over a window, or the price of 100 tokens at one time (at=). - HYPE price WS prices.hype
HYPE from HyperCore’s spot mid (each block), the Hyperliquid oracle and perp mark, and exchanges. - Replay WS /v1/ws?replay_from=…
A past window streamed again in exactly the live frames, for backtests: the URL, the controls, the channels, the limits of each tier.
Holders & tokens
- Token registry GET /v1/coins
HyperCore tokens with their HyperEVM contract and price. - Coin detail GET /v1/coins/{layer}/{id}
One token: its links across layers, the markets it trades on, its 5 largest holders. - Token metadata GET /v1/tokens
Metadata of up to 100 tokens: supply, creator, logo and socials when indexed, family, spam. Also POST with a JSON body. - Token across layers GET /v1/tokens/{address}/lifecycle
One token from its Elysium launch to its HyperEVM mirror, HyperCore spot and perps, each link proven or marked inferred. - Holders GET /v1/holders
Spot balances of a HyperCore token, largest first. - Perp holders GET /v1/holders
Largest open positions of a perp, long and short.
Balances
- Balances GET /v1/balances/{address}
Every token an address holds on HyperCore, with USD value and the block it is read at. - Token balance GET /v1/balances/{address}/{token}
One token of one address on HyperCore: 0 when not held, now or at a past block. - Batch balances POST /v1/balances/batch
Up to 100 addresses on HyperCore in one call, the same answer for each. - Balances, all layers GET /v1/balances/{address}
One address on HyperCore, HyperEVM and Elysium in one list, with totals per layer.
Bridges & wallets
- Cross-layer wallet GET /v1/wallet/{address}
One address (or a named wallet's handle) on HyperCore, HyperEVM and Elysium, plus its latest events. - Wallet stream WS wallet
Every event of the three layers touching one address. - Wallet list stream WS wallets
Every event of the three layers touching any of up to 100 addresses, in one subscription, each event tagged with its address. - HyperCore account GET /v1/hypercore/wallet/{address}
One address's HyperCore account: perp value and margin, positions, spot balances. - Wallet open orders GET /v1/hypercore/wallet/{address}/orders
One wallet's open orders: resting limit orders and trigger orders, on the main dex and every HIP-3 dex. - Wallet order history GET /v1/hypercore/wallet/{address}/orders/history
One wallet's orders that left the book, newest first: how (filled, canceled, rejected) and why, the size filled and its average price. - Wallet fills GET /v1/hypercore/wallet/{address}/fills
One wallet's HyperCore fills, newest first, with closed PnL, fees and the position before each. - Wallet fills per bar GET /v1/hypercore/wallet/{address}/fills/bars
One wallet's fills on one market summed per bar: buys and sells with their average price, and the position after each bar. - Wallet funding GET /v1/hypercore/wallet/{address}/funding
One wallet's funding payments, newest first: paid or received per perp and hour, with the position and the rate. - Wallet PnL curve GET /v1/hypercore/wallet/{address}/pnl
One HyperCore wallet's PnL per hour or day: realized, fees, funding, net and cumulative, and its account value. - Ledger stream WS hc.ledger
Deposits, withdrawals, transfers and other non-trade balance moves. - Bridge movements GET /v1/bridges
Matched HyperCore ↔ HyperEVM transfers (core_evm), or deposits and withdrawals of the native USDC bridge on Arbitrum One (arb_core), with 24 h stats. - Bridge movements stream WS bridges.recent
The GET /v1/bridges answer (movements newest first, 24 h stats), pushed on subscribe, then when a movement of the route changes state.
Named wallets
- Named wallets GET /v1/entities
Every named entity, its X account, kinds, sources and wallets. - One entity GET /v1/entities/{id}
One named entity: its wallets on the three layers and 30 days of HyperCore trading. - Address identity GET /v1/identity/{address}
Who an address belongs to, why, its other addresses, and what it did. - Batch identity POST /v1/identity
Who up to 1000 addresses are, in one call. - Entity proofs GET /v1/entities/{id}/graph
How each wallet of an entity was found: the path of links back to a public source and their proofs. - Entity PnL curve GET /v1/entities/{id}/pnl
One named entity's HyperCore PnL per hour or day: realized, fees, funding, net and cumulative. - KOL leaderboard GET /v1/kols/leaderboard
KOLs, traders and funds ranked by their HyperCore PnL, volume and open positions. - Named positioning GET /v1/kols/positioning
How KOLs, traders and funds are positioned on each perp: long vs short, entry, PnL, liquidation risk and 1 h / 24 h flows. - Named positioning stream WS kol.positioning
The GET /v1/kols/positioning answer (named wallets long vs short per perp, entry, PnL, liquidation risk, 1 h / 24 h flows), pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes. - KOL moves GET /v1/kols/activity
The latest fills of the named wallets, newest first, with who traded. - KOL stream WS kol.activity
Every fill, liquidation, EVM swap, transfer and bridge leg of a named wallet, live.
Liquidations & positions
- Liquidations GET /v1/liquidations
Perp liquidations, newest first, one row per account, coin and block. - Liquidations stream WS hc.liquidations
Each liquidation fill, the block it happens. One frame per block with all its matching events. - Liquidation stats GET /v1/liquidations/stats
Totals, per coin, per time bucket and the largest, over a window. - Liquidation stats stream WS hc.liquidations.stats
The GET /v1/liquidations/stats answer (totals, per coin, per bucket, the largest), pushed on subscribe, then when a liquidation comes in (whole, or as a JSON Patch). - Positions GET /v1/positions
Open positions of one perp with leverage and liquidation price. - Position changes WS hc.positions
Each perp position change, one per block, account and coin. One frame per block with all its matching events. - Open positions stream WS hc.positions.open
The GET /v1/positions answer of one perp (size, entry, PnL, leverage, liquidation price), pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes. - Position change history GET /v1/positions/changes
Past perp position changes of one coin over a size, one row per account and block. - Position flow per bar GET /v1/positions/flow
Large position moves and liquidations of a perp per bar: buys, sells, longs and shorts liquidated, each summed with its largest. - Open interest GET /v1/positions/overview
Open interest, accounts and unrealized PnL per perp. - Open interest stream WS hc.positions.overview
The GET /v1/positions/overview answer (long / short open interest, accounts, unrealized PnL per perp), pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Liquidation map GET /v1/positions/liqmap
Notional that would be liquidated at each price around the mark. - Liquidation levels stream WS hc.positions.liqmap
The GET /v1/positions/liqmap answer of one perp (notional liquidated per price bucket), pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes. - Open interest history GET /v1/hypercore/oi
Open interest bars of a perp since May 2023, after every block since March 2025: longs and shorts opened, closed, liquidated. - Open interest per block WS hc.oi
The open interest of a perp after every block with a fill: longs and shorts opened, closed, liquidated. One frame per block with all its matching events. - Open interest by market GET /v1/hypercore/oi/markets
Every perp's open interest now, its 1 h / 24 h / 7 d change, totals per dex. - Open interest by position size GET /v1/hypercore/oi/cohorts
Long and short open interest of a perp by position size, every hour since September 2025. - Who opened positions GET /v1/hypercore/oi/opens
The largest orders that opened longs or shorts on a perp in a window, with the account and whether it crossed the spread.
Stops & take-profits
- Stop map GET /v1/hypercore/stops
Open stop-loss and take-profit orders of one coin, bucketed by trigger price around the mark. - Stops stream WS hc.stops
Every trigger order event: placed, triggered, canceled, and the order a trigger placed. One frame per block with all its matching events. - Triggered stops GET /v1/hypercore/stops/triggered
Stop-loss and take-profit orders that fired, newest first, with the fill they got. - Wallet stops GET /v1/hypercore/wallet/{address}/stops
One wallet's open trigger orders, or with history=1 every status event of them.
TWAPs
- Running TWAPs GET /v1/hypercore/twaps
Running TWAPs of a market or an account with their progress, and the net TWAP pressure per market. - Running TWAPs stream WS hc.twaps
The GET /v1/hypercore/twaps answer (running TWAPs, their progress, the net TWAP pressure) of a market or an account, pushed on subscribe, then when one of its TWAPs starts, fills a slice or ends (whole, or as a JSON Patch). - TWAP history GET /v1/hypercore/twaps/history
Ended TWAPs of a market or an account, newest first: what executed, at what price, how they ended.
Builder codes
- Builder leaderboard GET /v1/hypercore/builders
Every builder code ranked by fees, volume, users or orders, over 24 h to all time. - Builder GET /v1/hypercore/builders/{builder}
One builder code: totals and rank, day by day, per market, order outcomes and fee rates. - Builder orders GET /v1/hypercore/builders/{builder}/orders
Every status of the orders sent with one builder code, rejections and their reasons included. - Builder orders stream WS hc.builder.orders
Every status of the orders sent with one builder code as it happens, rejections and their reasons included. One frame per block with all its matching events. - Builder fills GET /v1/hypercore/builders/{builder}/fills
Every fill of one builder code, with its builder fee, oid, tid and hash. - Builder fills stream WS hc.builder.fills
Every fill of one builder code as it happens, with its builder fee: the rows of the builder fills route, pushed per block. One frame per block with all its matching events.
Deploys
- Deploy actions GET /v1/hypercore/deploys
Every HyperCore deploy action, newest first: HIP-3 dexs and their markets, spot deploys, outcomes, validator votes, each as the node wrote it. - Deploys stream WS hc.deploys
Every HyperCore deploy action as our node executes it (HIP-3 dexs and their markets, spot deploys, outcomes, validator votes): the rows of GET /v1/hypercore/deploys, pushed per block. One frame per block with all its matching events.
Price-level maps
- Liquidation price map GET /v1/hypercore/liquidation-map
Liquidation prices of every open position, from Hyperliquid's formula on each account's state, bucketed like the stop map. - Liquidation map stream WS hc.liquidations.map
The GET /v1/hypercore/liquidation-map map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Liquidation heatmap GET /v1/hypercore/liquidation-heatmap
Liquidation prices of every open position over time: one column per node state, hour, 4 hours or day, one row per price bucket. - Liquidation heatmap stream WS hc.liquidations.heatmap
The GET /v1/hypercore/liquidation-heatmap answer of one perp over its default window ending now, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Liquidation heatmap cell GET /v1/hypercore/liquidation-heatmap/positions
The wallets behind one cell of the liquidation heatmap: positions liquidated in a bucket at a column's node state, or now. - Forced flow GET /v1/hypercore/forced-flow
Stop-loss / take-profit orders and liquidations on the same buckets: the cascade (stops + liquidations, with the move) and the take-profits (against it) at each price. - Forced flow stream WS hc.forced_flow.map
The GET /v1/hypercore/forced-flow map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). - Price level GET /v1/hypercore/price-level
The orders and positions inside one bucket of the maps: each stop / take-profit with its wallet and position, each position liquidated there. - Stop map stream WS hc.stops.map
The GET /v1/hypercore/stops map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch).
Hyperliquid-compatible
- POST /info POST /info
Every /info request type of api.hyperliquid.xyz (81), the same bodies and answers, from our own node and tables. - Hyperliquid WS WS /ws
Hyperliquid’s WebSocket subscriptions (21: market data and account feeds), the same frames, from our own node; a post carries any /info body.
AI
- AI models and prices GET /v1/ai/models
The models Femtos AI answers with, and the USD price per million tokens of each (OpenRouter's x 1.25). - AI job stream WS ai.job
A Femtos AI job of your account as it runs: the answer as it is written, each data call, then the answer.
Chain & reference
- Freshness GET /v1/status
Head and lag of each layer, measured now. - Freshness stream WS status
The GET /v1/status answer (head and lag of each layer, live feeds), pushed whole on subscribe and at most once a second when it changes. - Stream stats WS stats
Our HyperCore stream health, once a second. - Check your key GET /v1/whoami
Answers the name your key is registered under, its tier, billing state and the limits in force. - OpenAPI document GET /v1/openapi.json
The OpenAPI 3.1 contract of every REST call, public.
Not on HyperCore
- Launches: Elysium only
- NFTs: Elysium only
Hyperliquid SDKs, drop-in
POST https://api.femtos.xyz/info and wss://api.femtos.xyz/ws answer like api.hyperliquid.xyz: an existing Hyperliquid client only changes its base URL and sends the key.
TypeScript, @nktkas/hyperliquid
import { HttpTransport, InfoClient, SubscriptionClient, WebSocketTransport } from '@nktkas/hyperliquid';
const KEY = process.env.FEMTOS_KEY!;
const info = new InfoClient({
transport: new HttpTransport({ apiUrl: 'https://api.femtos.xyz', fetchOptions: { headers: { Authorization: `Bearer ${KEY}` } } }),
});
console.log(await info.l2Book({ coin: 'BTC' }));
// the WebSocket transport takes no headers: the key goes in the URL
const subs = new SubscriptionClient({ transport: new WebSocketTransport({ url: `wss://api.femtos.xyz/ws?token=${KEY}` }) });
await subs.allMids((d) => console.log(d));Python, hyperliquid-python-sdk
import os, requests
from hyperliquid.info import Info
from hyperliquid.websocket_manager import WebsocketManager
KEY = os.environ["FEMTOS_KEY"]; BASE = "https://api.femtos.xyz"; AUTH = {"Authorization": f"Bearer {KEY}"}
# Info() fetches meta / spotMeta in its constructor, before headers can be set: pass them in
post = lambda body: requests.post(f"{BASE}/info", json=body, headers=AUTH, timeout=10).json()
info = Info(BASE, skip_ws=True, meta=post({"type": "meta"}), spot_meta=post({"type": "spotMeta"}))
info.session.headers.update(AUTH)
ws = WebsocketManager(BASE) # wss://api.femtos.xyz/ws
ws.ws.header = AUTH # sent on the upgrade
info.ws_manager = ws; ws.start()
print(info.all_mids())
info.subscribe({"type": "allMids"}, print)ccxt (JavaScript; Python takes the same options)
import ccxt from 'ccxt';
const KEY = process.env.FEMTOS_KEY;
// read-only: hostname moves every REST URL to api.femtos.xyz (/info); never send these headers to api.hyperliquid.xyz
const ex = new ccxt.pro.hyperliquid({
hostname: 'femtos.xyz',
headers: { Authorization: `Bearer ${KEY}` },
urls: { api: { ws: { public: `wss://api.femtos.xyz/ws?token=${KEY}` } } },
});
await ex.loadMarkets();
console.log(await ex.fetchOrderBook('BTC/USDC:USDC'));
console.log(await ex.watchTrades('BTC/USDC:USDC'));Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog