Perp Exchange
Power perps trading agents, copy-trading apps, leaderboards and risk dashboards with on-chain HyperCore data enriched with HyperLiquid orderbook metadata. Part of Pinax API.
- ✓Read-only REST endpoints covering markets, OHLC, OI, activity, liquidations, users, positions, vaults and platform aggregates
- ✓Native HyperCore events enriched with perpetual orderbook + funding metadata
What you get with the Perp Exchange API
14 REST endpoints
DEXes, markets, OHLC, OI, activity, liquidations, users, positions, vaults, platform
HyperCore native
Trades, funding, splits, redemptions, liquidations — at the tx level
Per-user PNL
Realized + unrealized P&L, leverage, margin, position health
Sub-minute refresh
Aggregated leaderboards and platform stats updated continuously
How teams use it
Three patterns we see most often. Each uses a small subset of the endpoints — you can mix them as needed.
01 · BACKTEST
Replay perpetual OHLC
Replay historical bar-by-bar price action per market and stress-test perp strategies against real funding and liquidity events.
[
{
"timestamp": "2026-05-07 14:00:00",
"open": 68412.5,
"high": 68702.1,
"low": 68198,
"close": 68631.4,
"volume": 142308442.18,
"trades": 38214,
"buys": 21118,
"sells": 17096,
"unique_takers": 4218,
"funding_rate": 0.0000091,
"open_interest": 684120341.55,
"market": {
"dex": "hyperliquid",
"symbol": "BTC-PERP",
"asset_id": 0,
"max_leverage": 50,
"closed": false
}
}
]02 · COPY TRADING
Stream user activity
Watch top traders from the user leaderboard and mirror entries, exits and liquidation events with block-level timing.
[
{
"event_type": "trade",
"timestamp": "2026-05-07 14:38:11",
"block_num": 85014327,
"tx_hash": "0xf190865afd395e2f4b8f2e5f8ceb2c05a86d94a73ea411e8a8a3fc649924c420",
"user": "0x38e598961dd0456a7fb2e758bd433d3e59fb8a4a",
"side": "long",
"action": "open",
"size": 28.1,
"price": 68412.5,
"notional": 1922391.25,
"leverage": 25,
"fee": 576.72,
"liquidation": false,
"market": {
"dex": "hyperliquid",
"symbol": "BTC-PERP",
"asset_id": 0
}
}
]03 · PORTFOLIO
Per-user positions & P&L
Build wallet dashboards and risk monitors that show what a user holds across every HyperLiquid market — with cost basis, leverage and liquidation price.
[
{
"user": "0x38e598961dd0456a7fb2e758bd433d3e59fb8a4a",
"market": {
"dex": "hyperliquid",
"symbol": "HYPE-PERP"
},
"side": "long",
"size": 412000,
"entry_price": 1.812,
"mark_price": 2.184,
"liq_price": 1.486,
"leverage": 10,
"margin_mode": "isolated",
"margin_used": 74654.4,
"unrealized_pnl": 153264,
"realized_pnl": -21184.5,
"funding_paid": -1284.18,
"position_value": 899808,
"updated_at": "2026-05-07 14:39:02"
}
]REST endpoints
See official docs: https://app.pinax.network/docs/perp-exchanges
DEXes
1 endpointMarkets
6 endpointsUsers
3 endpointsVaults
2 endpointsPlatform
1 endpointHow it works
Same pattern as the rest of the Pinax API — issue an API key, hit the endpoint, parse the JSON.
Request API credentials from Pinax
Pick the endpoint for your use case
Call it from your app, notebook, or MCP client
Ship your strategy, dashboard, or agent
Frequently Asked Questions
Same data, one endpoint.
Markets, OHLC, OI, liquidations, users, vaults — all under /v1/hyperliquid/*. Free tier starts at 100 req/s.