# Hyperliquid Perpetual Funding Rates API

> Hyperliquid Perpetual Funding Rates API is a paid API for AI agents from opportunity-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches perpetual futures funding rates from Hyperliquid — top-15 extremes or specified symbols — with hourly and annualized percentages, mark price, and open interest as crowded-positioning signals.

## Facts

- Endpoint: GET https://opportunity-api-production.up.railway.app/api/funding-rates
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-perpetual-funding-rates-api-01a85c4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KL2iXbUPguE7eYiwQ943P

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hyperliquid-perpetual-funding-rates-api-01a85c4b
```

Example prompt: What are the most extreme perp funding rates on Hyperliquid right now — show me the top 15 by absolute rate with their annualized percentages, mark prices, and open interest so I can spot crowded positions.

## When to prefer this

Use this endpoint when you need real-time perpetual funding rate data from Hyperliquid specifically, want to identify the most extreme funding conditions across the market (top-15 ranking), or need open interest alongside funding for crowded-trade analysis. Prefer over generic aggregators when Hyperliquid-specific data is required.

## Known failure modes

- Invalid symbol name returns empty or error response
- Network timeout if Hyperliquid API is temporarily unavailable
- Stale data if the upstream feed has a lag
- Payment failure (402) if x402 USDC payment is not included or rejected
- No data returned if requested symbol has no active perp market on Hyperliquid

## How this service works

Perp funding rates (Hyperliquid): top-15 extremes or requested symbols, hourly + annualized %, mark price, open interest. Crowded-positioning signal for trading agents. Param: symbols (optional, e.g. BTC,ETH,SOL).

## Output

Returns a list of up to 15 perpetual markets (or the requested symbols) with: symbol name, hourly funding rate (%), annualized funding rate (%), current mark price, and open interest in USD. Useful for identifying overfunded or underfunded positions and crowded directional bets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "symbols": {
       "type": "string",
       "description": "comma-separated, e.g. BTC,ETH,SOL. Default: top-15 by absolute rate"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-perpetual-funding-rates-api-01a85c4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opportunity-api-production.up.railway.app](https://www.zero.xyz/host/opportunity-api-production.up.railway.app/llms.txt)
