# Cross-DEX Arbitrage & Liquidity Scanner

> Cross-DEX Arbitrage & Liquidity Scanner is a paid API for AI agents from x402-agent-tollbooth.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-21).

Scans Uniswap, Aerodrome, and BaseSwap liquidity pools to identify profitable arbitrage routing opportunities for a given token pair.

## Facts

- Endpoint: POST https://x402-agent-tollbooth.onrender.com/toll/arbitrage_scan?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cross-dex-arbitrage-liquidity-scanner-99f3d14f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3vOOnmyu9cpqq4CQbaoKW

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-dex-arbitrage-liquidity-scanner-99f3d14f -d '<json body>'
```

Example prompt: Scan Uniswap, Aerodrome, and BaseSwap pools for arbitrage opportunities on the WETH/USDC pair and only show me spreads of at least 30 basis points.

## When to prefer this

Choose this endpoint when you need a multi-DEX arbitrage scan specifically across Uniswap, Aerodrome, and BaseSwap on the Base chain. It is ideal for DeFi agents or bots that need real-time spread detection across these three protocols without building their own pool-querying infrastructure. Prefer it over generic price feeds when you need cross-DEX comparison with spread filtering by basis points.

## Known failure modes

- Invalid or unsupported token pair returns an error or empty result
- min_spread_bps set too high may return no opportunities even when spreads exist
- Pool data may be stale if underlying DEX APIs are lagging
- Network or RPC issues on Base chain could cause fetch failures
- Payment failure via x402 protocol prevents the call from completing

## How this service works

Cross-DEX Arbitrage & Liquidity Scanner. Analyzes Uniswap, Aerodrome, and BaseSwap pools for profitable routing opportunities.

## Output

Returns a comparison of pool prices and liquidity across Uniswap, Aerodrome, and BaseSwap for the specified token pair, highlighting any routing opportunities where the spread meets or exceeds the specified minimum basis points threshold. Likely includes per-DEX price quotes, spread calculations, and suggested arbitrage direction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string",
   "description": "Token pair to scan, e.g. WETH/USDC"
  },
  "min_spread_bps": {
   "type": "integer",
   "description": "Minimum spread in basis points"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cross-dex-arbitrage-liquidity-scanner-99f3d14f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tollbooth.onrender.com](https://www.zero.xyz/host/x402-agent-tollbooth.onrender.com/llms.txt)
