# Cross-Venue Perp Funding Arbitrage Scanner

> Cross-Venue Perp Funding Arbitrage Scanner is a paid API for AI agents from klane402.deanhiki.workers.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-31).

Scans multiple crypto perpetual exchanges to find coins where the funding rate spread between the best long venue and best short venue exceeds a minimum APR threshold, ranked by arbitrage opportunity size.

## Facts

- Endpoint: GET https://klane402.deanhiki.workers.dev/api/funding/arb?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cross-venue-perp-funding-arbitrage-scanner-fb65d12a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4aQL5Ro9Rg4w3h93bZgX9

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 cross-venue-perp-funding-arbitrage-scanner-fb65d12a
```

Example prompt: Can you scan for funding rate arbitrage opportunities across Hyperliquid, Bybit, and the other perp venues — show me coins where the long/short spread is at least 15% APR and there's meaningful open interest, top 20 results?

## When to prefer this

Use this endpoint when you need a ready-made cross-venue funding arbitrage scanner that aggregates Hyperliquid, Bybit, Pacifica, Extended, and Lighter in a single call, rather than querying each exchange separately and computing spreads yourself. Prefer this over raw funding rate endpoints when you want pre-ranked, filtered arbitrage pairs with open interest data included.

## Known failure modes

- Payment not included or insufficient — 402 response with payment required
- min_apr or min_oi_usd set too high — returns empty opportunities array
- One or more underlying venues temporarily unavailable — partial data or degraded results
- limit out of range — may return fewer results than requested
- Network timeout if any upstream exchange API is slow

## How this service works

Cross-venue funding arbitrage scanner: for each coin listed on 2+ of Hyperliquid/Bybit/Pacifica/Extended/Lighter, the best long venue (lowest funding) vs short venue (highest), spread in APR %, both sides' open interest. Sorted by spread. Query: min_apr (default 10), min_oi_usd (default 0), limit (default 30). $0.008 per call.

## Output

Returns a ranked list of arbitrage opportunities, each containing the coin ticker, the recommended long venue (lowest funding rate), the recommended short venue (highest funding rate), the spread expressed in annualized percentage rate (APR), and both sides' open interest in USD. Results are sorted by spread descending.

## 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": {
      "min_apr": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "opportunities": [
   {
    "coin": "ETH",
    "longVenue": "hyperliquid",
    "spreadApr": 25.3,
    "shortVenue": "bybit"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cross-venue-perp-funding-arbitrage-scanner-fb65d12a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klane402.deanhiki.workers.dev](https://www.zero.xyz/host/klane402.deanhiki.workers.dev/llms.txt)
