FREE TIER

Hyperliquid API —
REST wrapper for perps & market data

Access Hyperliquid DEX market data via simple REST API. Prices, orderbooks, candles, funding rates — no direct integration needed. Free tier requires no API key.

275+Perp markets
<200msResponse time
100Free req/day
0Signup required
Try Live Demo Get API Key

Endpoints

All endpoints return JSON. Free tier: 100 req/day, no auth. Paid: Bearer token for unlimited.

GET/api/prices
All mid prices for every perpetual market — one call to get 275+ prices
GET/api/price/:symbol
Current mid price for a single symbol (e.g. BTC, ETH, SOL)
GET/api/markets
List all perpetual markets with metadata, leverage limits, and decimals
GET/api/book/:symbol
L2 orderbook with bids and asks. Optional ?depth=N to limit levels
GET/api/candles/:symbol
OHLCV candlestick data. Params: ?interval=1h&startTime=...&endTime=...
GET/api/funding/:symbol
Funding rate history for any perpetual market
GET/api/account/:address
Positions, margin, unrealized PnL for a wallet address
GET/api/orders/:address
Open orders for a given wallet address
GET/api/fills/:address
Recent trade fills for a given wallet address

Code Examples

Get started in under 60 seconds. No API key needed for free tier.

# Get all perpetual futures prices
curl https://hyperliquid-api.vercel.app/api/prices

# Get BTC price
curl https://hyperliquid-api.vercel.app/api/price/BTC

# Get ETH orderbook
curl https://hyperliquid-api.vercel.app/api/book/ETH

# Get BTC hourly candles (last 24h)
curl "https://hyperliquid-api.vercel.app/api/candles/BTC?interval=1h"

# With API key for unlimited access
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://hyperliquid-api.vercel.app/api/prices

Live Demo

Try a real API call right now — no setup required:

Click "Run →" to make a live API call...

Pricing

Start free. Scale with USDC on Base — no card, no KYC.

Free Tier

$0 / day

No API key needed. Just call the endpoint.

  • 100 requests per day
  • All endpoints included
  • No signup or email
  • Rate limit by IP
  • JSON responses

Pro Tier

$1 USDC

= 500 API calls. Top up on Base chain anytime.

  • 500 calls per $1 USDC
  • No daily limit
  • Bearer token auth
  • On-chain payment (Base)
  • All endpoints included
  • Access to 39 more services
Get API Key →

Why use this instead of Hyperliquid directly?

The Hyperliquid native API requires POST requests with custom JSON bodies. Our wrapper gives you simple GET endpoints.

What is Hyperliquid?
Hyperliquid is a high-performance decentralized exchange (DEX) for perpetual futures trading. It offers 275+ markets with on-chain settlement, deep liquidity, and no KYC. This API provides a simple REST wrapper so you can access its data without custom POST requests.
Is this official Hyperliquid infrastructure?
No. This is an independent REST API wrapper built on top of the public Hyperliquid API. It simplifies access to market data — prices, orderbooks, candles, and account info — via standard GET endpoints with JSON responses.
What data is available?
All market data: real-time mid prices for 275+ perp markets, L2 orderbooks, OHLCV candlestick data, funding rate history, and wallet account data (positions, margin, open orders, fills).
How do I get more than 100 requests/day?
Create an API key at agent-gateway-kappa.vercel.app and top up with USDC on Base chain. $1 = 500 API calls. No email, no credit card required.
Can I use this for trading bots?
This API provides market data only (read access). For trade execution, you'll need to sign transactions directly with Hyperliquid's exchange API. This wrapper is ideal for price feeds, monitoring, analytics, and building trading dashboards.
What other services are available?
The same API key unlocks 39 services via Agent Gateway: wallet APIs, web scraping, PDF generation, agent memory, task queues, on-chain analytics, and more. See agent-gateway-kappa.vercel.app.