# BTC Perpetual Funding Rate Cross-Venue Aggregate

> BTC Perpetual Funding Rate Cross-Venue Aggregate is a paid API for AI agents from nonvisceral-eloisa-mousily.ngrok-free.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Aggregates BTC perpetual funding rates across 8 major exchanges, providing per-venue APR divergence, max dispersion in bps, squeeze-setup detection, and a contrarian funding direction verdict.

## Facts

- Endpoint: GET https://nonvisceral-eloisa-mousily.ngrok-free.dev/api/funding-aggregate
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nonvisceral-eloisa-mousily-ngrok-free-dev-724c4de4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0DzHNJA0r1mM8hOYY4XW3

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 nonvisceral-eloisa-mousily-ngrok-free-dev-724c4de4
```

Example prompt: What's the current BTC funding rate picture across all major exchanges — is it long-skewed, short-skewed, or diverging, and which venue is the outlier with the highest dispersion?

## When to prefer this

Prefer this endpoint when you need cross-venue BTC funding rate synthesis rather than a single-exchange feed — especially for detecting funding squeeze setups, identifying which venue is an outlier, computing max dispersion in bps, or getting a contrarian directional verdict that single-venue APIs cannot provide. Ideal for systematic trading agents that need a single aggregated signal across Binance, Bybit, OKX, Bitget, Coinbase, Hyperliquid, Kraken, and MEXC simultaneously.

## Known failure modes

- Upstream exchange APIs unavailable — reduced reachable_venues count with partial data
- ngrok tunnel downtime — connection refused or 502 gateway error
- Stale data if exchanges throttle — updated_at timestamp may lag
- Payment failure (x402) — 402 response if USDC payment not provided

## How this service works

Cross-venue BTC perpetual funding aggregated across 8 exchanges (Binance/Bybit/OKX/Bitget/Coinbase/Hyperliquid/Kraken/MEXC). Per-venue %APR divergence, max-dispersion in bps, contrarian funding-hunt direction, verdict (long-skew/short-skew/neutral/diverging). Squeeze-setup detector single-venue feeds miss.

## Output

Returns a JSON object with aggregate annualized funding rate (% APR), per-venue funding rates and their divergence from the aggregate (in % APR and per-hour), max dispersion in basis points, the max-divergence venue details, the number of reachable venues (up to 8: Binance/Bybit/OKX/Bitget/Coinbase/Hyperliquid/Kraken/MEXC), a contrarian funding-hunt direction signal, a verdict string (long-skew/short-skew/neutral/diverging), and an updated_at timestamp.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "verdict": {
       "type": "string"
      },
      "updated_at": {
       "type": "string"
      },
      "per_exchange": {
       "type": "object"
      },
      "reachable_venues": {
       "type": "number"
      },
      "aggregate_per_year": {
       "type": "number"
      },
      "max_abs_divergence": {
       "type": "object"
      },
      "max_dispersion_bps": {
       "type": "number"
      },
      "per_venue_divergence_pct_apr": {
       "type": "object"
      },
      "per_venue_divergence_per_hour": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nonvisceral-eloisa-mousily-ngrok-free-dev-724c4de4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nonvisceral-eloisa-mousily.ngrok-free.dev](https://www.zero.xyz/host/nonvisceral-eloisa-mousily.ngrok-free.dev/llms.txt)
