# SwapHunt Live Perpetual Funding Rates

> SwapHunt Live Perpetual Funding Rates is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.015/call, status healthy (last checked 2026-11-20, last successful call 2026-11-07).

Returns live perpetual futures funding rates for up to 20 crypto symbols, sourced from WebSocket feeds with ~2-minute refresh, to gauge market positioning and crowding.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/derivatives/funding-rates?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: healthy
- Last checked: 2026-11-20
- Last successful call: 2026-11-07
- Success rate: 100% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-live-perpetual-funding-rates-2efd437f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1cxWH4zdUnVVzSUdKB7sG

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 swaphunt-live-perpetual-funding-rates-2efd437f
```

Example prompt: What are the live perpetual funding rates for BTC, ETH, and SOL right now? I want to see if longs are crowded before I enter a position.

## When to prefer this

Use this endpoint when you need a fast, multi-symbol snapshot of live perpetual funding rates to assess market crowding and positioning across up to 20 assets simultaneously. Prefer this over the historical settled funding endpoint when you need current real-time rates rather than backlook averages or daily history. Choose this for pre-trade positioning checks or funding rate arbitrage screening.

## Known failure modes

- Symbol not supported or invalid returns an error or omits the symbol from results
- Requesting more than 20 symbols may result in truncation or rejection
- WebSocket feed outage may cause stale data older than the ~2-minute refresh window
- Missing or malformed symbols query parameter defaults to BTC,ETH,SOL
- Payment failure (x402) results in 402 response requiring USDC payment

## How this service works

Current funding rates for up to 20 Hyperliquid perpetuals (USDC-margined). Funding is settled hourly: funding_rate_pct is the hourly rate and annualized_rate_pct = hourly rate times 8760, plus 7d/30d averages, mark price in USDC and a crowding signal. Positive = longs pay shorts (crowded longs). Use to read positioning before entering. Funding, not open interest

## Output

Returns a map of requested symbols to their current perpetual funding rates (positive = longs paying shorts, indicating crowded long positioning), sourced from WebSocket feeds refreshed approximately every 2 minutes. Useful for reading positioning and crowding conditions before trade entry.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "symbols": {
       "type": "string",
       "default": "BTC,ETH,SOL",
       "description": "Comma-separated coins, max 20 (BTCUSDT and BTC-PERP also mean BTC)"
      }
     }
    }
   },
   "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/swaphunt-live-perpetual-funding-rates-2efd437f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
