# Funding Rates Multi-Venue Aggregator

> Funding Rates Multi-Venue Aggregator is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-31).

Fetches live perpetual futures funding rates from Binance, Bybit, OKX, and Hyperliquid for a given symbol, with annualized figures and best-venue comparison

## Facts

- Endpoint: GET https://api.firstmention.uk/s/funding-rates/funding?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/funding-rates-multi-venue-aggregator-8c2215c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eIYVu3atBEG6D7tCzH6jh

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 funding-rates-multi-venue-aggregator-8c2215c1
```

Example prompt: What are the live perpetual funding rates for BTC across Binance, Bybit, OKX, and Hyperliquid right now, and which venue has the best annualized rate?

## When to prefer this

Use this endpoint when you need real-time, cross-venue perpetual funding rate data in a single call without querying each exchange individually. Ideal for agents performing funding rate arbitrage analysis, cost comparison for perp position management, or monitoring funding across Binance, Bybit, OKX, and Hyperliquid simultaneously. Prefer this over building your own multi-exchange aggregation when low-latency, pre-annualized, normalized data is needed cheaply at $0.04/call.

## Known failure modes

- Invalid or unsupported symbol returns an error or empty venue data
- Network timeout or upstream exchange API outage causes partial or failed response
- Batch request exceeding 10 symbols is rejected
- Missing required 'symbol' query parameter results in validation error
- Rate limiting or payment failure (x402) blocks the call

## How this service works

Current funding rate and annualized carry for one asset across every supported venue.

## Output

A JSON object with: the queried symbol, per-venue funding rate and annualized percentage for Binance, Bybit, OKX, and Hyperliquid, plus a 'best' field indicating which venue offers the most favorable annualized rate. An 'ok' boolean indicates success.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "symbol": {
       "type": "string"
      },
      "venues": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "venue": {
          "type": "string"
         },
         "rate_pct": {
          "type": "number"
         },
         "annualized_pct": {
          "type": "number"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/funding-rates-multi-venue-aggregator-8c2215c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
