Read-only endpoints that need no account. Responses are JSON. Money, prices and ZSP amounts are exact decimal strings (USDC with up to 6 decimals), never floating-point numbers; times are ISO 8601 in UTC unless noted.
Note
Base URL:
https://app.<domain>/api. Trading and account endpoints need a signed-in session and aren't documented here yet. Several aggregate endpoints are cached for a few seconds, noted below.
Markets and prices
GET /markets
Every market with its limits, plus the fee schedule in force.
{
"markets": [{
"id": "BTC-PERP", "state": "ACTIVE", "maxLeverage": 1000, "minMargin": "1", "maxNotional": "1000000", "liqBufferBps": 5,
"tiers": [{ "maxNotional": "1000000", "maxLeverage": 1000 }]
}],
"fees": {
"openFeeBps": 3, "openFeeCapBps": 500,
"openFeePlatformBps": 5000, "openFeeBankrollBps": 3000, "openFeeStakerBps": 2000,
"profitShareBps": 500,
"profitSharePlatformBps": 5000, "profitShareBankrollBps": 3000, "profitShareStakerBps": 2000,
"dilutionPlatformBps": 100, "dilutionHoldersBps": 100,
"athPlatformBps": 3000, "athStakerBps": 1000,
"liqBufferMaxShareBps": 500
}
}
- Each market has one tier: its maximum leverage, usable at every size up to
maxNotional. *Bpsvalues are basis points (100 = 1%). The split fields are shares of the fee they belong to:openFeeStakerBps: 3000means stakers receive 30% of each opening fee.athPlatformBpsandathStakerBpsare the shares of the bankroll's gain above its previous peak; the rest (60%) stays in the bankroll.
Per market
| Endpoint | Returns |
|---|---|
GET /markets/:id/price |
The latest validated snapshot: bid, ask, mid, exchangeTs and ingestTs (milliseconds since 1970), snapshotId, fresh |
GET /markets/:id/stats |
volume24h, longOi, shortOi, and the bankroll pool |
GET /markets/:id/candles?interval=1m|5m|15m|1h|4h|1d |
Display candles, proxied from Hyperliquid |
GET /markets/:id/ticks?seconds=30..900 |
Recent prices for the live line chart |
:id is a market id such as BTC-PERP, GOLD-PERP or EUR-PERP.
Trades and the hash chain
| Endpoint | Returns |
|---|---|
GET /public/trades?limit=1..100&before=<chainSeq> |
Newest trade events first, each with chainSeq, prevHash and hash; hasMore for paging |
GET /public/chain |
Chain version, genesis, head (seq, hash) and anchors |
GET /public/chain/:seq |
One record with every raw field used in its hash |
GET /public/chain/verify?from=1&limit=1..5000 |
Server-side check of a range. Use Verify the chain to check it yourself instead |
The bankroll
| Endpoint | Returns |
|---|---|
GET /public/house |
Open interest and margin, long/short per market, bankroll funds and pool, open PnL against the bankroll, payout queue debt and length, TVL and total volume |
GET /public/house/scenarios?market=BTC-PERP&range=100|500 |
The bankroll's result if the price moved: ±1% in 0.05% steps (range=100) or ±5% in 0.25% steps (range=500, the default) |
GET /public/house/liquidations?market=BTC-PERP&range=100|250|500|1000 |
Where open positions would be liquidated, as long and short size per price band within ±range bps of the mid |
GET /public/house/topology?market=BTC-PERP |
Every open position on the market as side, notional and open pnl, without owners |
The three /public/house/* views are cached for 5 seconds.
Platform statistics
| Endpoint | Returns |
|---|---|
GET /public/stats |
Users, positions, liquidations, volume, 24-hour volume and trades, the bankroll's realised result, daily volume and per-market volume |
GET /public/series?range=1d|7d|30d|all |
Time series of volume, liquidation volume, trades, trader PnL, users, staking rewards, TVL and open interest (total and per market); cached 15 seconds |
Traders and leaderboards
| Endpoint | Returns |
|---|---|
GET /public/users/:username |
A public profile: join date, trading stats and the PnL history behind the profile chart |
GET /public/users/:username/portfolio |
Balances, stats (including deposit, withdrawal and tip totals), open positions, ZSP balance, stake and rewards, staking actions, queued claims and ZSP emissions. Deposits and withdrawals with their transaction hash and explorer link, unless the account hides them (moneyHidden: true; then they and their totals are left out for everyone but the owner). Single tips are included only on your own profile. Wallet addresses are never included |
GET /public/users/:username/positions?page=1 |
The trader's positions, open and closed, newest first, 25 per page |
GET /public/leaderboard?type=positions|accounts&period=24h|7d|30d|all |
Best single positions, or best accounts, for the period |
GET /public/leaderboard/table?period=…&sort=profit|loss|volume|trades&market=<id>&page=1 |
Every account ranked, 50 per page, with totals; cached 5 seconds |
ZSP token
GET /public/token: supply, total staked, staking rewards paid and pending, the stakers' fee shares, and the mining model with its parameters, the current epoch and its rate.
DAO
| Endpoint | Returns |
|---|---|
GET /dao |
The DAO's settings in force: phase, proposal threshold, quorum, discussion and voting lengths, the supply they are measured on, and the number of proposals per status |
GET /dao/proposals?status=…&category=…&page=1 |
Proposals with their live tally. status is one of OPEN, CLOSED, DISCUSSION, VOTING, PASSED, REJECTED, NO_QUORUM, CANCELLED; category one of GENERAL, PROTOCOL, TREASURY, TOKENOMICS, META |
GET /dao/proposals/:number |
One proposal with its text, timeline, tally, outcome note and every vote (voter, choice, power, reason) |
Proof of reserve
| Endpoint | Returns |
|---|---|
GET /public/reserves |
The three wallets (user funds, Bankroll, platform): address, on-chain USDC, what the ledger owes (or the platform earned) and the coverage; deposits on their way to the user funds wallet; platform revenue still in the user funds wallet (platform.toMove) and revenue by source, all time and last 24 h (platform.earned); total deposited and withdrawn |
GET /public/reserves/history?range=7d|30d|90d|all |
Snapshots (every 10 minutes) of the three wallets' on-chain USDC and what is owed (or, for the platform, earned), and the USDC deposited and withdrawn per day |
GET /public/reserves/transactions?type=all|deposit|withdrawal&page=1 |
Every credited deposit and completed withdrawal, newest first, with amount, time and transaction hash; 50 per page, no usernames |
GET /public/custody |
The three wallets with their address and, read from the chain, the Safe signature threshold and number of owners (null when the address has no Safe code); deposit confirmations, the security pause in hours, and whether withdrawals are reviewed |
GET /public/transparency?month=YYYY-MM |
The months with data (newest first) and one month's report (UTC): trading, deposits and withdrawals, platform revenue by source, the bankroll at both ends, uptime per component and incidents. Without month, the current one |
Announcements
GET /public/announcement: the notice shown at the top of the app, or { "announcement": null }.
Status
The status page is built on these two endpoints.
| Endpoint | Returns |
|---|---|
GET /public/status |
overall and each component's state (operational, degraded, outage, maintenance or unknown), measured live and made worse by any open incident, plus the open incidents with their updates; cached 10 seconds |
GET /public/status/history |
Per component, the minutes counted in each state for every day of the last 90 (UTC), and the incidents resolved in that time; cached 60 seconds |
Components: web (the website answering at its public address), prices, trading, liquidations, deposits, withdrawals, reserves, bankroll, api.
Live updates
Connect a WebSocket to /ws. Public messages:
type |
Payload |
|---|---|
price |
market, bid, ask, mid, exchangeTs, ingestTs, snapshotId (every validated price) |
print |
market, px, side, t (Hyperliquid trade prints, display only) |
trade |
a public trade event, as in /public/trades |
chat |
new or hidden chat messages |