# agentsvc.io Perpetual Futures Funding Rate API

> agentsvc.io Perpetual Futures Funding Rate API is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-10).

Fetches real-time perpetual futures funding rates, APR, open interest, and cross-venue arbitrage hints for specified crypto coins across Binance, Bybit, OKX, and Hyperliquid.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/perp-funding?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-perpetual-futures-funding-rate-api-3d598243
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jymJEvGGIBMs8dtmP2lV7

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 agentsvc-io-perpetual-futures-funding-rate-api-3d598243 -d '<json body>'
```

Example prompt: What are the current perpetual funding rates for BTC and ETH on Binance, Bybit, OKX, and Hyperliquid — and is there any funding rate arbitrage opportunity between them?

## When to prefer this

Use this endpoint when you need real-time cross-venue perpetual futures funding rate data with built-in arbitrage analysis. It covers four major venues (Binance, Bybit, OKX, Hyperliquid) in a single call and provides computed APR, open interest, and actionable arbitrage hints — saving you from querying each exchange separately and doing the math yourself. Prefer it over exchange-specific APIs when you need a unified, multi-venue comparison in one request.

## Known failure modes

- Invalid or unsupported coin ticker returns no data for that coin
- Unsupported venue enum value causes validation error
- Exchange API outage may result in missing venue data for some coins
- Requesting more than 10 coins at once is rejected
- Payment failure via x402 results in 402 response and no data returned

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object with per-coin, per-venue data including funding rate (per interval), APR percentage, mark price, open interest in USD, next funding time, and interval hours. Also includes cross-venue summary fields: max APR venue, min APR venue, average APR, spread APR, total open interest, and a plain-English arbitrage hint suggesting which venue to short and which to go long on to capture the spread.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "coins": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 10,
   "description": "Tickers, e.g. BTC, ETH, SOL, HYPE"
  },
  "venues": {
   "type": "array",
   "items": {
    "enum": [
     "binance",
     "bybit",
     "okx",
     "hyperliquid"
    ],
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "note": "funding_rate is per interval; positive means longs pay shorts. APR = rate x intervals per year.",
   "markets": [
    {
     "coin": "BTC",
     "venues": [
      {
       "venue": "binance",
       "symbol": "BTCUSDT",
       "apr_pct": 2.86,
       "mark_price": 86008.66819565,
       "funding_rate": 0.00002614,
       "interval_hours": 8,
       "next_funding_time": "2026-10-06T16:00:00.000Z",
       "open_interest_usd": 8135786988
      },
      {
       "venue": "bybit",
       "symbol": "BTCUSDT",
       "apr_pct": 6.64,
       "mark_price": 86005.8,
       "funding_rate": 0.00006064,
       "interval_hours": 8,
       "next_funding_time": "2026-10-06T16:00:00.000Z",
       "open_interest_usd": 4930504638
      }
     ],
     "max_apr": {
      "venue": "hyperliquid",
      "apr_pct": 10.95
     },
     "min_apr": {
      "venue": "binance",
      "apr_pct": 2.86
     },
     "venues_ok": 4,
     "avg_apr_pct": 6.57,
     "arbitrage_hint": "Short perp on hyperliquid, long perp on binance to collect about 8.09% APR before fees, if rates persist",
     "spread_apr_pct": 8.09,
     "total_open_interest_usd": 19077640267
    }
   ],
   "checked_at": "2026-10-06T14:29:37.754Z"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentsvc-io-perpetual-futures-funding-rate-api-3d598243/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentsvc.io](https://www.zero.xyz/host/agentsvc.io/llms.txt)
