br0ski777 avatar

Hyperliquid Funding Rates API

br0ski777/hl-funding-x402

Pulls real-time and historical funding rates for all 229 Hyperliquid perpetual markets through three x402-gated endpoints. You can sort current rates by absolute value to spot extremes, fetch hourly history for specific coins with summary stats, or scan for arbitrage opportunities above a funding threshold. Each call costs $0.002 to $0.003 in USDC on Base. Useful for carry trade hunting, delta-neutral strategies, or comparing HL funding against other exchanges to find cross-venue spreads. Responses include annualized rates, open interest, and mark prices. Payment happens automatically through x402, so no API keys or subscriptions.

tools
3
transport
SSE
last updated
May 16, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

hyperliquid_get_funding_ratesUse this when you need current funding rates across all Hyperliquid perpetual markets. Returns real-time funding rate, premium, open interest, and mark price for every listed perp coin on Hyperliquid1 params

Use this when you need current funding rates across all Hyperliquid perpetual markets. Returns real-time funding rate, premium, open interest, and mark price for every listed perp coin on Hyperliquid

Parameters* required
sortstring
Sort order for funding rates. 'highest' = most positive first (shorts pay longs), 'lowest' = most negative first (longs pay shorts), 'abs' = highest absolute value first (default).one of highest · lowest · abs
hyperliquid_get_funding_historyUse this when you need historical funding rate data for a specific Hyperliquid perpetual market. Returns timestamped funding rate entries over a configurable lookback window, plus summary statistics i2 params

Use this when you need historical funding rate data for a specific Hyperliquid perpetual market. Returns timestamped funding rate entries over a configurable lookback window, plus summary statistics i

Parameters* required
coinstring
Coin ticker symbol (e.g. BTC, ETH, SOL, DOGE). Must match a Hyperliquid perp market.
hoursnumber
Lookback window in hours. Default: 24. Max: 720 (30 days). Each funding period is 8 hours, so 24h returns ~3 entries.
hyperliquid_find_funding_arbUse this when you need to find funding rate arbitrage opportunities on Hyperliquid. Scans all 229 perp markets and returns coins where the absolute funding rate exceeds 0.01% per 8h period (annualized1 params

Use this when you need to find funding rate arbitrage opportunities on Hyperliquid. Scans all 229 perp markets and returns coins where the absolute funding rate exceeds 0.01% per 8h period (annualized

Parameters* required
thresholdnumber
Minimum absolute funding rate to qualify as an arb opportunity. Default: 0.0001 (0.01% per 8h, ~36% annualized). Lower values return more results.

Sponsors

Readme

Hyperliquid Funding Rates API

MCP Server x402 License: MIT

Real-time and historical Hyperliquid funding rates for 229 perp markets. Sort by highest/lowest, find arb opportunities. Zero-cost data. 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.):

{
  "mcpServers": {
    "hl-funding": {
      "url": "https://hl-funding.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://hl-funding.api.klymax402.com/api/rates" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/hl-funding-x402
Website
github.com/Br0ski777/hl-funding-x402
Transport
SSE
Registry
MCP registry, active

More from br0ski777