# FundingFeed — Cross-Exchange Perpetual Funding Rate Arbitrage

> FundingFeed — Cross-Exchange Perpetual Funding Rate Arbitrage 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, open interest, and best bid/ask across 10+ crypto 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-arb?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-arbitrage-2719c865
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-kIMO3rlBsEhZaYMr_qRz

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-arbitrage-2719c865 -d '<json body>'
```

Example prompt: Pull the current cross-exchange funding rate data for BTC perpetuals — I want to see which venue has the highest and lowest annualized funding rate right now, the arbitrage spread between them, total open interest, and the best bid/ask across OKX, Bybit, Hyperliquid, and Gate.io.

## 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+ exchanges simultaneously — eliminating the need to query each venue individually. It is purpose-built for funding arbitrage analysis, carry trade sizing, crowded-positioning detection, and smart order routing for BTC, ETH, or SOL perpetuals. Prefer it over building your own multi-exchange aggregation when speed and breadth matter and you want annualized funding metrics and arb spreads pre-calculated.

## Known failure modes

- One or more upstream exchanges may be unavailable, reducing exchangesOk count below exchangesQueried
- Symbol not supported (only BTC/ETH/SOL perpetuals covered)
- Stale data if an upstream exchange API is slow or rate-limited
- Payment not processed (x402 payment required — 0.005 USDC on Base/Polygon/Solana)
- Partial data if some venues return incomplete order book or funding data

## 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 rates with annualized percentages and next funding timestamps, aggregate stats (min/max/mean annualized funding, cross-venue arb spread percentage, count of exchanges reporting), total open interest in USD with per-venue breakdown, best bid and best ask prices with the source exchange, overall bid-ask spread percentage, number of exchanges successfully queried, and a generation timestamp. Also includes a disclaimer note.

## 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-arbitrage-2719c865/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)
