# Perp Funding Rates by Exchange

> Perp Funding Rates by Exchange is a paid API for AI agents from derivs.duoleads.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Returns current perpetual futures funding rates across 8 crypto exchanges for a given coin symbol, including per-venue rate, APR, mark price, index price, and next funding time.

## Facts

- Endpoint: GET https://derivs.duoleads.com/v1/funding-rates?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/perp-funding-rates-by-exchange-c0149a30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nirl4JVrctVqC7-ql3sHA

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 perp-funding-rates-by-exchange-c0149a30
```

Example prompt: What are the current perpetual funding rates for ETH across all exchanges — show me the APR on each venue and flag which one is highest and lowest right now?

## When to prefer this

Use this endpoint when you need real-time, multi-exchange funding rate comparison for a specific coin symbol in a single call — particularly for funding arbitrage analysis, monitoring long/short carry costs, or gauging market sentiment across Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, and OKX simultaneously. Prefer this over exchange-native APIs when you need a normalized, cross-venue view without separate API keys. The x402 micropayment model ($0.003/call) makes it cost-effective for on-demand agent queries without subscription overhead.

## Known failure modes

- Invalid or unknown coin symbol returns an error or empty venues array
- Stale data flagged with stale:true on individual venue objects when exchange feed is delayed
- Some venues may return null mark price if no active market
- dYdX or other venues may return rate:0 if contract is newly listed or inactive
- Payment failure via x402/USDC on Base if wallet balance is insufficient

## How this service works

Perp funding rates, open interest, futures basis, implied volatility, liquidations, order book depth and a perp screener for crypto perpetual futures across 8 exchanges (Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, OKX), paid per call over x402 with USDC on Base. No account, no API key.

## Output

A JSON object containing: per-venue funding rate data (mark price, index price, current rate, 8h-normalized rate, APR%, next funding time, predicted rate, interval hours, quote currency, staleness flag) for up to 8 exchanges; a summary with average APR, min/max APR venue, and spread; recent 24-hour funding history stats for the most active venue; and a coin/as_of timestamp for freshness.

## 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": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "maxLength": 32,
       "minLength": 1,
       "description": "Coin symbol: BTC, ETH, SOL, PEPE ... (also BTCUSDT, BTC-PERP, XBT, 1000PEPE, kPEPE)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "BTC",
  "colo": null,
  "as_of": "2026-10-14T23:00:00Z",
  "units": {
   "mark": "USD per coin (USDT/USDC at par)",
   "rate": "fraction per funding interval (0.0001 = 0.01 %)",
   "index": "USD per coin (oracle price on Hyperliquid and dYdX)",
   "times": "ISO 8601 UTC",
   "apr_pct": "simple annualised percent = rate * 24 / interval_h * 365 * 100",
   "rate_8h": "fraction per 8 hours = rate * 8 / interval_h",
   "interval_h": "hours between funding payments"
  },
  "recent": {
   "as_of": "2026-10-14T23:00:00Z",
   "hours": 24,
   "stats": {
    "n": 24,
    "avg_apr_pct": 9.96273,
    "avg_rate_8h": 0.00009098383333,
    "max_rate_8h": 0.0001,
    "min_rate_8h": 0.0000346392,
    "pct_positive": 100
   },
   "venue": "hyperliquid",
   "prints": [
    {
     "rate": 0.0000125,
     "time": "2026-10-13T23:00:00Z",
     "rate_8h": 0.0001
    },
    {
     "rate": 0.000006651,
     "time": "2026-10-14T00:00:00Z",
     "rate_8h": 0.000053208
    }
   ]
  },
  "venues": [
   {
    "mark": 81631.8,
    "rate": 0.00003501,
    "as_of": "2026-10-14T23:00:00Z",
    "index": 81672.62,
    "quote": "USDT",
    "stale": false,
    "venue": "bybit",
    "symbol": "BTCUSDT",
    "apr_pct": 3.83359,
    "rate_8h": 0.00003501,
    "interval_h": 8,
    "predicted_rate": null,
    "next_funding_time": "2026-10-15T00:00:00Z",
    "contract_multiplier": 1
   },
   {
    "mark": 81624,
    "rate": 0.0000125,
    "as_of": "2026-10-14T23:00:00Z",
    "index": 81658,
    "quote": "USDC",
    "stale": false,
    "venue": "hyperliquid",
    "symbol": "BTC",
    "apr_pct": 10.95,
    "rate_8h": 0.0001,
    "interval_h": 1,
    "predicted_rate": null,
    "next_funding_time": "2026-10-15T00:00:00Z",
    "contract_multiplier": 1
   },
   {
    "mark": null,
    "rate": 0,
    "as_of": "2026-10-14T23:00:00Z",
    "index": 81538.38,
    "quote": "USD",
    "stale": false,
    "venue": "dydx",
    "symbol": "BTC-USD",
    "apr_pct": 0,
    "rate_8h": 0,
    "interval_h": 1,
    "predicted_rate": 0,
    "next_funding_time": "2026-10-15T00:00:00Z",
    "contract_multiplier": 1
   }
  ],
  "summary": {
   "venues": 8,
   "max_apr": {
    "venue": "kraken",
    "apr_pct": 11.8121
   },
   "min_apr": {
    "venue": "dydx",
    "apr_pct": 0
   },
   "avg_apr_pct": 5.30702,
   "avg_rate_8h": 0.000048465931,
   "spread_apr_pct": 11.8121
  },
  "see_also": {
   "params": [
    "min_apr",
    "min_volume_usd"
   ],
   "reason": "Looking for the widest 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/perp-funding-rates-by-exchange-c0149a30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from derivs.duoleads.com](https://www.zero.xyz/host/derivs.duoleads.com/llms.txt)
