# AllTheBot Perp Funding Rates

> AllTheBot Perp Funding Rates is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Returns current perpetual futures funding rates for any coin across Hyperliquid, Binance, and Bybit in a single call, including annualized %, next funding time, 24h average, mark price, open interest, and volume.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/perp/funding?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-perp-funding-rates-dff7d41a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z1QfRN3tG9FxSN7Z1qho9

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 allthebot-perp-funding-rates-dff7d41a
```

Example prompt: What are the current perp funding rates for ETH on Hyperliquid, Binance, and Bybit — give me the annualized rate, 24h average, mark price, and open interest all in one shot.

## When to prefer this

Choose this endpoint when you need cross-exchange perpetual funding rate data in a single API call without maintaining connections to Hyperliquid, Binance, and Bybit separately. Ideal for trading bots, arbitrage agents, or market sentiment dashboards that need consolidated funding metrics (rate, annualized %, 24h avg, open interest, volume) without building their own multi-exchange data pipeline. Best when you want a pay-per-call model at $0.003 USDC rather than managing API keys and rate limits across three exchanges.

## Known failure modes

- Invalid or unrecognized coin symbol returns an error — coin must match pattern ^[A-Za-z0-9]{1,15}$
- Coin not listed on a specific venue may return null or omit that venue's data
- Network or upstream exchange API unavailability may cause stale or missing data for one or more venues
- Missing required 'coin' query parameter returns a 400-level error
- Payment failure or insufficient USDC balance returns a 402 Payment Required

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

A JSON object keyed by exchange (hyperliquid, binance, bybit) containing per-venue funding rate data: hourly and annualized funding rate percentage, 24h average funding rate and its annualized equivalent, mark price, oracle price, open interest in coin units, 24h USD volume, and funding interval in hours.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{1,15}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "ETH",
  "venues": {
   "hyperliquid": {
    "rate": -0.0000090995,
    "annualized_pct": -7.9712,
    "interval_hours": 1
   }
  },
  "hyperliquid": {
   "premium": -0.0005216731,
   "mark_price": 2529,
   "oracle_price": 2530.32,
   "open_interest": 1161464.5886,
   "annualized_pct": -7.9712,
   "volume_24h_usd": 1046549822.45,
   "avg_rate_hourly_24h": 0.0000093606,
   "funding_rate_hourly": -0.0000090995,
   "avg_annualized_pct_24h": 8.1999
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-perp-funding-rates-dff7d41a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
