# x402stock Predicted Perps Funding Rate

> x402stock Predicted Perps Funding Rate is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns predicted next-period funding rates for each coin across on-chain DEX and centralized perp venues (Hyperliquid, Binance, Bybit), enabling cross-exchange funding arbitrage signal analysis.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/perps/predicted-funding
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-predicted-perps-funding-rate-9a4caa13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-G2ZVhZC_-6yRKyKecvSP

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 x402stock-predicted-perps-funding-rate-9a4caa13
```

Example prompt: Pull the predicted next-period funding rates for all coins across Hyperliquid, Binance, and Bybit so I can spot where the funding arbitrage spread is richest right now.

## When to prefer this

Use this endpoint when you need a unified, cross-venue view of predicted perpetual funding rates in a single call — especially for funding arbitrage strategies comparing CEX (Binance, Bybit) vs DEX (Hyperliquid, on-chain) rates. Prefer this over scraping individual exchange APIs when you want a normalized, pre-aggregated signal without managing multiple API keys.

## Known failure modes

- Network or upstream venue data unavailable — may return stale or null funding rate values for affected venues
- Payment failure — 402 response if USDC payment not supplied correctly
- Rate limiting or bad request — 4xx response if the call is malformed
- Venue temporarily offline — specific venue entries may have null funding_rate or null next_funding_time

## How this service works

Predicted next-period funding rate for each coin across venues — on-chain plus centralized perp venues (Hyperliquid, Binance, Bybit) — each with the funding interval and next funding time. A cross-exchange funding-arbitrage signal in one call: compare where a coin's funding is richest or cheapest. Free on-chain DEX data, no key. From x402stock, a market & economic data API (x402, USDC).

## Output

A JSON object containing an array of coins, each with a list of venues (Hyperliquid, Binance, Bybit, on-chain DEX) showing the predicted funding rate, funding interval in hours, and next funding timestamp. Also includes a top-level as_of timestamp, source identifier, and total coin count.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-06-04T00:00:00.000Z",
  "coins": [
   {
    "coin": "BTC",
    "venues": [
     {
      "venue": "HlPerp",
      "funding_rate": 0.0000125,
      "next_funding_time": "2026-06-04T01:00:00.000Z",
      "funding_interval_hours": 1
     },
     {
      "venue": "BinPerp",
      "funding_rate": 0.0000066,
      "next_funding_time": "2026-06-04T04:00:00.000Z",
      "funding_interval_hours": 4
     }
    ]
   }
  ],
  "count": 1,
  "source": "x402stock"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-predicted-perps-funding-rate-9a4caa13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
