# DEX Price Spread

> DEX Price Spread 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 a Base token's price across multiple liquid DEX venues to classify the spread as tight, arbitrage window, wide mispricing, or single venue

## Facts

- Endpoint: GET https://402.com.tr/api/x402/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/dex-price-spread-b5a2501f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MxpkRWFqrRUtJLnPgLDsy

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 dex-price-spread-b5a2501f
```

Example prompt: Check the price spread for the token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed across Base DEXes and tell me whether there's a real arbitrage window or just thin-pool noise — use the default $5k liquidity floor.

## When to prefer this

Use this endpoint when you need to assess the price consistency of a Base token across multiple DEX venues, particularly to distinguish real arbitrage windows from thin-pool mirpricing or manipulation signals. Prefer it over a simple price lookup when spread analysis, venue comparison, or manipulation detection is the goal.

## Known failure modes

- Invalid or non-Base token contract address returns an error
- Token with no DEX pools or liquidity below the floor returns single_venue or empty result
- Stale snapshot may not reflect real-time price movements
- Network or upstream DEX data provider outage returns 5xx error
- Malformed address format rejected with 4xx validation error

## How this service works

A token on several Base DEXes should cost about the same on each; a gap is either an arbitrage window or, on a thin pool, a mispricing that signals wash/manipulation. Compares the price across the LIQUID venues (over a floor, default $5k): tight (trustworthy), arb_window, wide (likely mispricing), or single_venue (one pool, as manipulable as it is thin). Separates real arbitrage from thin-pool noise. Snapshots — confirm with a live quote. Not financial advice.

## Output

Returns a spread classification (tight, arb_window, wide, or single_venue), per-venue prices and liquidity in USD, the computed spread percentage, and contextual signals indicating whether any gap reflects genuine arbitrage or thin-pool manipulation noise. This is a snapshot — not a live quote.

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Token contract address"
      },
      "minLiquidityUsd": {
       "type": "string",
       "description": "Liquidity floor per venue (optional, default 5000)"
      }
     }
    }
   },
   "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/dex-price-spread-b5a2501f/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)
