# AgentFeed Cross-Exchange Spread & Arbitrage

> AgentFeed Cross-Exchange Spread & Arbitrage is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Returns best bid/ask prices for a USDT perpetual across Bybit, OKX, and Hyperliquid, plus the best cross-venue arbitrage edge in basis points (pre-fee).

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/spread-arb?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-cross-exchange-spread-arbitrage-7d6ad0b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y3ESufrw3g8Vh0_jwK5PK

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 agentfeed-cross-exchange-spread-arbitrage-7d6ad0b3
```

Example prompt: What's the best bid and ask for SOLUSDT perpetuals right now across Bybit, OKX, and Hyperliquid, and is there a cross-venue arb edge I can exploit?

## When to prefer this

Choose this endpoint when you need real-time, multi-venue best bid/ask comparison and pre-fee arbitrage edge calculation for USDT perpetuals across exactly Bybit, OKX, and Hyperliquid. Ideal for trading agents, arbitrage bots, or market-making workflows that need a single call to compare top-of-book across all three venues simultaneously rather than querying each exchange independently.

## Known failure modes

- Missing or invalid 'symbol' query parameter returns an error
- Symbol not listed as a USDT perp on one or more venues may result in incomplete venue data
- Temporary exchange API downtime could cause missing venue quotes
- Rate limiting or payment failure may block the call

## How this service works

Cross-exchange spread and arbitrage edge for any USDT perp: the best bid and ask on Bybit, OKX and Hyperliquid, with the best cross-venue edge in bps, pre-fee.

## Output

Returns per-venue best bid and ask prices for the requested USDT perpetual, plus the best cross-venue arbitrage edge expressed in basis points (pre-fee), identifying which venues form the best buy/sell pair.

## 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",
     "required": [],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "note": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        },
        "venues": {
         "type": "object"
        },
        "best_cross": {
         "type": "object"
        }
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "note": "gross edge, pre-fee — perp funding and fees usually eat sub-5bps gaps",
   "symbol": "SOLUSDT",
   "venues": {
    "okx": {
     "ask": 121.4,
     "bid": 121.39
    },
    "bybit": {
     "ask": 121.46,
     "bid": 121.45
    },
    "hyperliquid": {
     "ask": 121.45,
     "bid": 121.44
    }
   },
   "best_cross": {
    "edge": 0.04999999999999716,
    "buy_on": "okx",
    "sell_on": "bybit",
    "edge_bps": 4.12,
    "edge_usd_per_unit": 0.05
   }
  },
  "paid": true,
  "tool": "get_spread_arb"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-cross-exchange-spread-arbitrage-7d6ad0b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ochinimus.app](https://www.zero.xyz/host/x402.ochinimus.app/llms.txt)
