# EZ-Path DEX Meta-Router Quote

> EZ-Path DEX Meta-Router Quote is a paid API for AI agents from ezpath.myezverse.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Races 0x, ParaSwap, Aerodrome, and Uniswap V3 on Base mainnet to return the best available swap quote for a given token pair and sell amount

## Facts

- Endpoint: GET https://ezpath.myezverse.xyz/api/v1/quote
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ez-path-dex-meta-router-quote-80d3ba00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sh8O9U1MPOEffOY47dKH0

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 ez-path-dex-meta-router-quote-80d3ba00
```

Example prompt: What's the best rate I can get swapping 1000 USDC (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) for WETH (contract 0x4200000000000000000000000000000000000006) on Base right now — race all the DEXes and tell me which one wins, with at most 0.5% slippage?

## When to prefer this

Choose this endpoint when you need a real-time best-price DEX quote on Base mainnet without a subscription or API key, especially when you want to compare across 0x, ParaSwap, Aerodrome, and Uniswap V3 simultaneously in a single call. Ideal for agents that need to execute or evaluate swaps on Base and want the meta-routing intelligence without integrating each DEX separately.

## Known failure modes

- Invalid or non-Base ERC-20 token addresses return an error
- sellAmount of zero or non-numeric string causes a bad request
- slippagePercentage outside 0-1 range is rejected
- Token pair with no liquidity on any supported DEX returns no quote
- Payment of 0.03 USDC not included or rejected causes 402 Payment Required
- Network congestion may cause timeout fetching live quotes from all four DEXes

## How this service works

Pay-per-request DEX meta-router on Base mainnet. Races 0x, ParaSwap, Aerodrome, and Uniswap V3 to return the best swap quote. No API key. No subscription.

## Output

Returns the best available swap quote including the effective price, the buy amount in base decimals, the DEX that offered the best rate (topSource), the routing engine used, and the estimated price impact percentage.

## 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": [
      "sellToken",
      "buyToken",
      "sellAmount"
     ],
     "properties": {
      "buyToken": {
       "type": "string"
      },
      "sellToken": {
       "type": "string"
      },
      "sellAmount": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "price": {
       "type": "string"
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "name",
         "proportion"
        ],
        "properties": {
         "name": {
          "type": "string"
         },
         "proportion": {
          "type": "string"
         }
        }
       }
      },
      "buyToken": {
       "type": "string"
      },
      "buyAmount": {
       "type": "string"
      },
      "sellToken": {
       "type": "string"
      },
      "sellAmount": {
       "type": "string"
      },
      "estimatedGas": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "price": "0.000457",
  "buyAmount": "457000000000000",
  "topSource": "Aerodrome",
  "routingEngine": "0x",
  "priceImpactPct": 0.02
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ez-path-dex-meta-router-quote-80d3ba00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ezpath.myezverse.xyz](https://www.zero.xyz/host/ezpath.myezverse.xyz/llms.txt)
