# x402 DeFi Funding Rates — Cross-Venue Perpetual Signal

> x402 DeFi Funding Rates — Cross-Venue Perpetual Signal is a paid API for AI agents from x402-defi-signals.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns annualized perpetual funding rates for a given token across OKX, Kraken Futures, and dYdX, plus the cross-venue spread as a ready-to-use arbitrage signal.

## Facts

- Endpoint: GET https://x402-defi-signals.onrender.com/defi/funding-rates
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-funding-rates-cross-venue-perpetual-signal-688014bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_58Pyycedgl0T5PA8SfO71

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-defi-funding-rates-cross-venue-perpetual-signal-688014bd
```

Example prompt: What are the current annualized perpetual funding rates for ETH across OKX, Kraken Futures, and dYdX, and what's the cross-venue spread I could use for a funding arb?

## When to prefer this

Choose this endpoint when you need a single-call cross-venue funding rate comparison across OKX, Kraken Futures, and dYdX with the spread pre-computed as an arbitrage signal, rather than querying each exchange API separately and computing the spread yourself. Ideal for trading bots, research agents, and strategy pipelines that need clean JSON funding signals without exchange API credentials.

## Known failure modes

- Unsupported or unrecognized token symbol returns an error or empty result
- One or more upstream venue APIs (OKX, Kraken, dYdX) is unavailable causing partial or stale data
- Missing required symbol query parameter may return an error or default response
- Payment not processed (x402 protocol failure) results in 402 response and no data returned
- Rate limits or cold-start latency on Render hosting may cause timeouts

## How this service works

Cross-venue perpetual funding rates (OKX, Kraken Futures, dYdX) for any major token. Per-venue annualized rates plus the cross-venue spread in percentage points — a ready-to-use funding arbitrage signal. Clean JSON for trading and research agents.

## Output

A JSON object with per-venue annualized funding rates (OKX, Kraken Futures, dYdX) for the requested token and the cross-venue spread in percentage points, formatted as a ready-to-use arbitrage signal.

## 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",
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Token symbol, e.g. BTC, ETH, SOL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-07-15T08:00:00Z",
  "symbol": "BTC",
  "venues": [
   {
    "rate": 0.0000795,
    "venue": "okx",
    "annualized_pct": 8.71,
    "interval_hours": 8
   }
  ],
  "spread_annualized_pp": 5.87
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-funding-rates-cross-venue-perpetual-signal-688014bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-defi-signals.onrender.com](https://www.zero.xyz/host/x402-defi-signals.onrender.com/llms.txt)
