# Base DEX Arbitrage & Spread Oracle

> Base DEX Arbitrage & Spread Oracle is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-17).

Compares real-time prices and liquidity across Aerodrome and Uniswap v3 on Base, calculating gross spread in bps, fee-adjusted net arbitrage profitability, and optimal routing direction for a given token.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/base-dex-spread?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-dex-arbitrage-spread-oracle-eda4bc27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jHJfa3FSKNL9kHWiQOOYP

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 base-dex-arbitrage-spread-oracle-eda4bc27
```

Example prompt: Check the current arbitrage spread between Aerodrome and Uniswap v3 on Base for the token at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — tell me the gross spread in bps, which direction to trade, and the estimated net profit per $1,000.

## When to prefer this

Choose this endpoint when you need real-time, fee-adjusted arbitrage profitability between Aerodrome and Uniswap v3 specifically on the Base chain. It is ideal for autonomous trading agents, market makers, and routing engines that need to know not just the raw price difference but the direction and net profitability after pool fees, expressed per $1,000 USD. Prefer this over generic price feeds when you need actionable routing direction rather than just a spot price.

## Known failure modes

- Invalid or unrecognized token contract address returns an error
- Token not listed on one or both DEXes results in incomplete comparison
- Insufficient liquidity in a pool may yield unreliable spread estimates
- Network or RPC latency on Base may cause stale or failed data fetch
- Malformed token address format causes a validation error

## How this service works

🆕 Compares real-time liquidity and prices across Base's primary DEXes: Aerodrome (AMM / Slipstream) vs Uniswap v3. Calculates gross spread in bps, pool fee-adjusted net arbitrage profitability, optimal routing direction (BUY_AERODROME_SELL_UNISWAP or reverse), and estimated net profit per $1,000 USD. Essential for trading agents and market makers. Pass token= (token contract address).

## Output

Returns gross spread in basis points between Aerodrome (AMM/Slipstream) and Uniswap v3 pools on Base, the pool fee-adjusted net arbitrage profitability, the optimal routing direction (BUY_AERODROME_SELL_UNISWAP or BUY_UNISWAP_SELL_AERODROME), and the estimated net profit per $1,000 USD trade.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "Token address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-dex-arbitrage-spread-oracle-eda4bc27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
