# FundingFeed — Cross-Exchange Perpetual Funding Rate & Open Interest Aggregator

> FundingFeed — Cross-Exchange Perpetual Funding Rate & Open Interest 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 funding rates, annualized carry spreads, open interest, and best bid/ask across 10+ exchanges (OKX, Bybit, Gate.io, HTX, Hyperliquid, BingX, Bitget, Kraken, Coinbase, MEXC) for BTC, ETH, or SOL in a single call

## Facts

- Endpoint: POST https://funding-feed.kaminariouji.workers.dev/funding?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-open-interest-05889d86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pjWphUMt4IVXU0_0WmrX6

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-open-interest-05889d86 -d '<json body>'
```

Example prompt: Pull the current cross-exchange funding rates for BTC — show me the annualized carry spread, which venue has the best and worst rate right now, the total open interest breakdown, and where I'd get the best bid and ask if I wanted to execute.

## When to prefer this

Choose this endpoint when you need a single aggregated view of perpetual funding rates, open interest, and best execution across 10+ venues simultaneously — rather than calling each exchange API individually. It is ideal for funding arbitrage screening, cash-and-carry carry cost analysis, open interest concentration checks, and best-price routing for BTC, ETH, or SOL perps. Prefer it over single-exchange APIs when cross-venue comparison is the goal.

## Known failure modes

- One or more upstream exchanges may be unreachable — exchangesOk will be less than exchangesQueried, reducing coverage
- Stale data if an exchange API is slow or rate-limiting — check generatedAt timestamp
- Invalid or unsupported symbol returns an error or empty funding array
- Network timeout on the Cloudflare Worker edge if upstream APIs are down
- Payment not included or insufficient — x402 payment required error (0.005 USDC)

## 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, per-exchange funding rate objects (exchange name, annualized funding %, next funding timestamp), aggregate funding stats (min/max/mean annualized %, cross-venue arb spread %, count, exchanges OK/queried), total and per-exchange open interest in USD, and a best-execution block with top-of-book bid/ask per exchange plus global best bid and best ask (price + exchange name) and the spread percentage. A generatedAt timestamp and a disclaimer note are also included.

## 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-open-interest-05889d86/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)
