# OP Mainnet Cross-DEX Arbitrage Scanner

> OP Mainnet Cross-DEX Arbitrage Scanner is a paid API for AI agents from x402.donnyautomation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Scans all liquid SushiSwap and Uniswap v3 pairs on Optimism mainnet and returns ranked cross-venue arbitrage spreads with buy/sell venue, spread in bps, optimal trade size, and gross USD value.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/optimism/scan
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/op-mainnet-cross-dex-arbitrage-scanner-e10726f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tqph9FLPa203_CbqmIByI

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 op-mainnet-cross-dex-arbitrage-scanner-e10726f1
```

Example prompt: Scan all liquid pairs on Optimism right now and show me every cross-DEX arbitrage opportunity with at least a 15 bps gross spread across SushiSwap and Uniswap v3, ranked by spread size.

## When to prefer this

Use this endpoint when you need a full-market sweep of arbitrage opportunities across SushiSwap and all Uniswap v3 fee tiers on Optimism in a single call, rather than querying individual pairs manually. Ideal for arbitrage bots that need a ranked, filtered opportunity list on OP L2 with liquidity-gated results to avoid dust-pool false positives.

## Known failure modes

- No opportunities found if minSpreadBps is set too high relative to current market conditions
- Stale data if on-chain RPC is lagging
- Missing pairs if venues fall below the minVenueTvlUsd liquidity floor
- Invalid query parameter types return 400 errors
- Payment failure if USDC balance is insufficient for the $0.01 per-call fee

## How this service works

Ranked cross-DEX arbitrage spreads across every liquid pair on OP Mainnet (SushiSwap and Uniswap v3 fee tiers). Returns opportunities[] with pair, grossSpreadBps, buyAt, sellAt, optimalTradeSizeUsd, capturable. GROSS, before gas and MEV. Optional ?minSpreadBps=20 (default 10), minVenueTvlUsd, limit. Send one param: a bare call skips the free tier. Errors: 400 bad_min_spread. Scans EVERY pair; for one known pair use /route. Chain-pinned; bare /scan = BSC.

## Output

A ranked list of cross-venue arbitrage opportunities on OP mainnet, each including: the trading pair, the buy venue (exchange and fee tier), the sell venue, the gross spread in basis points, the optimal trade size, and the estimated gross USD profit at that size. Only pairs above the specified liquidity floor are included.

## 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": [
      "minSpreadBps"
     ],
     "properties": {
      "minSpreadBps": {
       "type": "string",
       "description": "Minimum gross spread to report (default 10). Also minVenueTvlUsd (default 1000) and limit."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-07-31T00:00:00.000Z",
  "chainId": 10,
  "network": "optimism"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/op-mainnet-cross-dex-arbitrage-scanner-e10726f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.donnyautomation.com](https://www.zero.xyz/host/x402.donnyautomation.com/llms.txt)
