# x402 Cross-Venue Perpetual Funding Rate Divergence

> x402 Cross-Venue Perpetual Funding Rate Divergence is a paid API for AI agents from x402-funding.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Returns annualised perpetual funding rate divergence between Hyperliquid and a CEX benchmark (Binance or OKX fallback), with basis trade direction.

## Facts

- Endpoint: GET https://x402-funding.onrender.com/funding?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-cross-venue-perpetual-funding-rate-divergence-6a6312d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7NNRtPdu01dgD-DXcCLxY

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 x402-cross-venue-perpetual-funding-rate-divergence-6a6312d0
```

Example prompt: What's the current annualised funding rate divergence between Hyperliquid and the Binance benchmark right now, and which direction should I leg the basis trade?

## When to prefer this

Choose this endpoint when you need a live, cross-venue annualised funding rate comparison specifically between Hyperliquid (a leading decentralised perpetuals exchange) and major CEX benchmarks (Binance/OKX). It is purpose-built for basis trading signal generation and funding arbitrage analysis, making it more targeted than generic market data APIs that may not normalise across DEX and CEX venues or annualise the rate.

## Known failure modes

- Binance and OKX both unavailable or rate-limited — may return error or incomplete data
- Market symbol not listed on both venues — divergence data absent for that pair
- Network timeout from Render-hosted service under cold-start conditions
- Payment not processed (x402 protocol) — request rejected before data is returned
- Invalid limit parameter (outside 1-50 range) — schema validation error

## How this service works

Cross-venue perpetual funding divergence: Hyperliquid against a liquid CEX benchmark (Binance, falling back to OKX where Binance restricts the region), annualised, with the direction of the basis trade.

## Output

A list (up to `limit` entries, default likely 1-50) of perpetual markets showing the annualised funding rate divergence between Hyperliquid and the CEX benchmark (Binance preferred, OKX fallback for restricted regions), along with the recommended direction of the basis trade (e.g. long CEX/short Hyperliquid or vice versa).

## 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": [],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      }
     }
    }
   },
   "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/x402-cross-venue-perpetual-funding-rate-divergence-6a6312d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-funding.onrender.com](https://www.zero.xyz/host/x402-funding.onrender.com/llms.txt)
