# AllTheBot Base Swap Quote

> AllTheBot Base Swap Quote is a paid API for AI agents from velux.taild4d007.ts.net:8443, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-12).

Returns aggregated DEX swap quotes on Base network for any ERC-20 pair, comparing Uniswap v3 and Aerodrome rates and ranking them best-first

## Facts

- Endpoint: GET https://velux.taild4d007.ts.net:8443/x402/base/swap-quote?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-base-swap-quote-503d8df6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mJH-nLHhY-VVnODfjums4

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 allthebot-base-swap-quote-503d8df6
```

Example prompt: What's the best price I can get to swap 1 ETH for USDC on Base right now — check Uniswap v3 and Aerodrome and tell me which DEX gives the most USDC?

## When to prefer this

Use this endpoint when you need the best available on-chain swap price on Base network without executing a trade. It aggregates multiple DEX sources (Uniswap v3 all fee tiers + Aerodrome stable/volatile) in a single call, saving the agent from querying each DEX separately. Prefer this over single-DEX quote APIs when price optimization matters, or when building a DeFi workflow that needs to pre-check rates before committing a transaction. Not suitable if you need quotes on Ethereum mainnet, other L2s, or need to actually execute the swap.

## Known failure modes

- Unsupported token pair returns no quotes or empty result
- Invalid token symbol or address returns an error
- amount_in format not matching numeric pattern causes validation error
- No liquidity available for pair results in empty or zero quotes
- Network congestion or RPC issues may cause stale or failed quote fetches
- Payment of $0.0025 USDC required per call via x402 protocol; missing payment returns 402

## How this service works

Best swap price on Base (DEX quote aggregator): live quotes from Uniswap v3 (all fee tiers) and Aerodrome (stable/volatile) for any ERC-20 pair, ranked best first. Symbols ETH, USDC, cbBTC, DAI or token addresses. Read-only, no swap executed.

## Output

A ranked list of swap quotes from Uniswap v3 (across all fee tiers: 0.01%, 0.05%, 0.3%, 1%) and Aerodrome (stable and volatile pools), showing the expected output amount for each route, sorted best-first so the agent can immediately identify the optimal DEX and pool for the trade. No swap is executed — this is a read-only price check.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token_in",
      "token_out",
      "amount_in"
     ],
     "properties": {
      "token_in": {
       "type": "string",
       "maxLength": 42
      },
      "amount_in": {
       "type": "string",
       "pattern": "^[0-9]{1,30}(\\.[0-9]{1,30})?$"
      },
      "token_out": {
       "type": "string",
       "maxLength": 42
      }
     }
    }
   },
   "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/allthebot-base-swap-quote-503d8df6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from velux.taild4d007.ts.net:8443](https://www.zero.xyz/host/velux.taild4d007.ts.net%3A8443/llms.txt)
