
Hyperliquid Perp Market Data API
io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Oct 24, 2026
Hyperliquid perp order book, prices, funding, OI, candles. x402 paid.
Overview
Remote MCP endpoint serving Hyperliquid perpetual futures market data — order books, prices, funding, open interest and OHLCV candles — paid per call via x402.
- What you can do
- Fetch L2 order book depth, mid and mark price, funding rate, open interest and 24h volume for a single Hyperliquid perp coin
- Retrieve a snapshot of all listed perp markets with prices, funding, open interest, volume and day change
- Pull historical OHLCV candles for a coin with a chosen interval and candle limit
- Use GET or POST variants of each of the three data endpoints
- When to use it
- Useful when an assistant needs Hyperliquid perpetual futures data for market screening, funding-rate comparison, spread and depth checks before a trade, or technical analysis and backtesting of perp price history.
- Requirements
- A remote MCP endpoint added by URL; no API key or signup. Each call is paid in USDC on Base L2 through the x402 protocol, so an x402-aware client and a funded wallet are needed to complete the payment challenge.
Installation
In SourceWeft
- Open Hyperliquid Perp Market Data API in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.Br0ski777%2Fhyperliquid-data/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"hyperliquid-perp-market-data-api": {
"type": "sse",
"url": "https://hyperliquid-data.api.klymax402.com/mcp"
}
}
}README
Hyperliquid Perp Market Data API
[MCP Server] [x402] [License: MIT]
Hyperliquid perp market data -- order books, prices, funding rates, OI, volume, OHLCV candles in one API. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Quickstart -- MCP
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Quickstart -- HTTP (x402)
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
Tools
hyperliquid_get_market_data
Use this when you need Hyperliquid perpetual futures data for a specific coin. Returns full L2 order book depth with real-time pricing and funding metrics in one call.
Parameters
Returns
bids-- array of bid levels with price and sizeasks-- array of ask levels with price and sizemidPrice-- current mid price between best bid/askmarkPrice-- oracle mark price used for liquidationsfundingRate-- current hourly funding rate (e.g. 0.0001 = 0.01%)openInterest-- total open interest in USDvolume24h-- 24-hour trading volume in USD
Example response:
When to use: placing trades on Hyperliquid. Essential for checking spread, depth, and funding before entering a position.
hyperliquid_get_market_data
Use this when you need Hyperliquid perpetual futures data for a specific coin. Returns full L2 order book depth with real-time pricing and funding metrics in one call. POST variant of hyperliquid_get_market_data -- same params passed as JSON body instead of query string.
Parameters
Returns
bids-- array of bid levels with price and sizeasks-- array of ask levels with price and sizemidPrice-- current mid price between best bid/askmarkPrice-- oracle mark price used for liquidationsfundingRate-- current hourly funding rate (e.g. 0.0001 = 0.01%)openInterest-- total open interest in USDvolume24h-- 24-hour trading volume in USD
Example response:
When to use: placing trades on Hyperliquid. Essential for checking spread, depth, and funding before entering a position.
hyperliquid_get_all_markets
Use this when you need a snapshot of all Hyperliquid perpetual markets at once. Returns pricing, funding, and volume data for every listed asset in a single call.
Parameters: none.
Returns
markets-- array of all listed perp assetstotalMarkets-- number of listed perp marketstimestamp-- data timestamp in ISO format
Example response:
When to use: screening all Hyperliquid markets, finding highest funding rates, or building a market overview dashboard.
hyperliquid_get_all_markets
Use this when you need a snapshot of all Hyperliquid perpetual markets at once. Returns pricing, funding, and volume data for every listed asset in a single call. POST variant of hyperliquid_get_all_markets -- same params passed as JSON body instead of query string.
Parameters: none.
Returns
markets-- array of all listed perp assetstotalMarkets-- number of listed perp marketstimestamp-- data timestamp in ISO format
Example response:
When to use: screening all Hyperliquid markets, finding highest funding rates, or building a market overview dashboard.
hyperliquid_get_candles
Use this when you need historical OHLCV candlestick data for a Hyperliquid perpetual pair. Returns open, high, low, close, volume for the specified interval.
Parameters
Returns
candles-- array of OHLCV barscoin-- the coin symbol queriedinterval-- the candle interval usedcount-- number of candles returned
Example response:
When to use: technical analysis, backtesting strategies, or charting price history on Hyperliquid perps.
hyperliquid_get_candles
Use this when you need historical OHLCV candlestick data for a Hyperliquid perpetual pair. Returns open, high, low, close, volume for the specified interval. POST variant of hyperliquid_get_candles -- same params passed as JSON body instead of query string.
Parameters
Returns
candles-- array of OHLCV barscoin-- the coin symbol queriedinterval-- the candle interval usedcount-- number of candles returned
Example response:
When to use: technical analysis, backtesting strategies, or charting price history on Hyperliquid perps.
Example agent prompts
- "Hyperliquid perpetual futures data for a specific coin"
- "Hyperliquid perpetual futures data for a specific coin"
- "A snapshot of all Hyperliquid perpetual markets at once"
Payment
- Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
- Network: Base L2 (
eip155:8453) - Asset: USDC
- Facilitator: Coinbase CDP (primary), PayAI (fallback)
- Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)
Part of klymax402
100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
- Catalog: https://klymax402.com/llms.txt
- Full API reference: https://klymax402.com/llms-full.txt
- Live stats: https://klymax402.com/stats
License
MIT
Source: README.md at commit 4442c70
Tools
0Version history
1- v1.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts