# FundingFeed — Cross-Exchange Perpetual Funding Rate Aggregator

> FundingFeed — Cross-Exchange Perpetual Funding Rate Aggregator is a paid API for AI agents from funding-feed.kaminariouji.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Aggregates live perpetual futures funding rates, open interest, and best bid/ask across 10+ major crypto exchanges (OKX, Bybit, Gate.io, HTX, Hyperliquid, BingX, Bitget, Kraken, Coinbase, MEXC) for BTC, ETH, or SOL into a single call

## Facts

- Endpoint: POST https://funding-feed.kaminariouji.workers.dev/funding-rate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fundingfeed-cross-exchange-perpetual-funding-rate-aggregator-673fc9ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LAHFNdkbzlhT7epgqRCXv

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 fundingfeed-cross-exchange-perpetual-funding-rate-aggregator-673fc9ab -d '<json body>'
```

Example prompt: What's the current funding rate arbitrage spread for BTC perpetuals across all major exchanges right now — show me the min, max, and mean annualized rates, which exchange has the best and worst funding, and the best bid/ask for execution?

## When to prefer this

Choose this endpoint when you need a unified, cross-exchange view of perpetual funding rates, open interest, and top-of-book prices in a single API call rather than querying each exchange individually. It is ideal for funding rate arbitrage research, carry trade sizing, crowding detection, and order routing decisions for BTC, ETH, or SOL. Prefer it over building your own aggregation when you need annualized rate normalization, arb-spread calculation, and best-execution routing pre-computed together.

## Known failure modes

- One or more exchanges may be down or rate-limited, reducing exchangesOk count below exchangesQueried
- Symbol not supported (only BTC/ETH/SOL perpetuals covered)
- Stale data if upstream exchange APIs are slow — check generatedAt timestamp
- Payment of 0.005 USDC required per call via x402 protocol; missing payment returns 402
- Partial response if some venues fail mid-aggregation — byExchange arrays may have fewer entries than expected

## How this service works

Cross-exchange perpetual funding rate arbitrage, open interest, and best-execution for BTC/ETH/SOL. Aggregates live perpetual venues (OKX, Bybit, Gate.io, HTX, Hyperliquid, BingX, Bitget, Kraken, Coinbase, MEXC) into one call: current funding rate per venue, min/max/mean annualized funding, the cross-venue funding arbitrage spread, next funding time per venue, total open interest in USD with a per-venue breakdown, and real top-of-book best bid/ask. Use it to find the best funding rate arbitrage opportunity across exchanges, compare funding rates between Bybit and OKX for a specific coin, check annualized carry cost for a long/short funding arb, identify which exchange has the most negative funding rate right now, scan for cross-venue funding divergences in crypto perpetuals, monitor funding spreads to time a cash-and-carry strategy, detect crowded positioning from open interest, and route orders to the venue with the best price. Paid per call: 0.005 USDC on Base, Polygon, Solana or Tempo (MPP, no gas). FIRST CALL FREE per wallet — send header "X-WALLET: 0x<your Base address>" and get the full feed with no payment. Try it before you pay.

## Output

Returns a JSON object with: the queried symbol, aggregated funding data (count of venues, per-exchange annualized funding rate and next funding timestamp, min/max/mean annualized percentages, cross-venue arb spread %), total and per-venue open interest in USD, best execution data (per-venue top-of-book bid/ask/last, overall best bid and best ask with exchange attribution, spread %), number of exchanges queried and responding, and a generation timestamp. All funding rates are expressed as annualized percentages for easy comparison.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Aggregated from public REST APIs. Not financial advice. Verify independently.",
  "symbol": "BTCUSDT",
  "funding": {
   "count": 5,
   "byExchange": [
    {
     "exchange": "okx",
     "annualizedPct": 10.6,
     "nextFundingAt": "2026-09-21T08:00:00.000Z"
    }
   ],
   "arbSpreadPct": 7.23,
   "maxAnnualizedPct": 10.95,
   "minAnnualizedPct": 3.72,
   "meanAnnualizedPct": 6.83
  },
  "exchangesOk": 7,
  "generatedAt": "2026-09-21T00:00:00.000Z",
  "openInterest": {
   "count": 5,
   "meanUsd": 2660000000,
   "totalUsd": 13300000000,
   "byExchange": [
    {
     "oiUsd": 5000000000,
     "exchange": "okx"
    }
   ]
  },
  "bestExecution": {
   "prices": [
    {
     "ask": 116010,
     "bid": 116000,
     "last": 116005,
     "exchange": "okx"
    }
   ],
   "bestAsk": {
    "price": 116010,
    "exchange": "okx"
   },
   "bestBid": {
    "price": 116000,
    "exchange": "gate"
   },
   "spreadPct": 0.0086
  },
  "exchangesQueried": 11
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fundingfeed-cross-exchange-perpetual-funding-rate-aggregator-673fc9ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from funding-feed.kaminariouji.workers.dev](https://www.zero.xyz/host/funding-feed.kaminariouji.workers.dev/llms.txt)
