# Vextorium DEX Swap Quote (Base / Uniswap v3)

> Vextorium DEX Swap Quote (Base / Uniswap v3) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-01).

Returns an on-chain swap quote on the Base network via Uniswap v3 QuoterV2, providing output amount, unit price, best fee-tier pool, and gas estimate across all four fee tiers — without executing a swap.

## Facts

- Endpoint: POST https://api.vextorium.com/cotizacion-dex-pago?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-dex-swap-quote-base-uniswap-v3-1c8e8285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tXIwpxRJOiXugHWqBAmO-

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 vextorium-dex-swap-quote-base-uniswap-v3-1c8e8285 -d '<json body>'
```

Example prompt: What's the best on-chain quote for swapping 1 WETH to USDC on Base right now — show me the output amount, unit price, and which Uniswap v3 fee tier pool wins?

## When to prefer this

Choose this endpoint when you need a real on-chain Uniswap v3 swap quote specifically on the Base network, across all four fee tiers simultaneously, without executing any transaction. It is ideal when you want to compare fee tiers, estimate gas, or get the true on-chain price before committing to a swap. Prefer it over off-chain price feeds when accuracy of the actual swap output matters, and over full swap execution endpoints when you only need a quote with no side effects.

## Known failure modes

- No liquidity pool exists for the token pair at any fee tier — returns null or empty pool results
- Invalid token symbol or unrecognized contract address — request rejected or returns error
- Amount too small or too large causing quote failure from the on-chain quoter
- Network RPC issues causing timeout or inability to read on-chain state
- Token pair is valid but one token contract is not deployed on Base

## How this service works

On-chain swap quote on Base from Uniswap v3 QuoterV2 across all fee tiers (0.01%, 0.05%, 0.3%, 1%): output amount, unit price, best pool and gas estimate. Accepts symbols (WETH/ETH, USDC, USDT, DAI, cbBTC) or token addresses. Read-only, no swap executed.

## Output

Returns a JSON object containing: the input token (symbol, amount, contract address), the output token (symbol, amount, contract address), the unit price, the best-performing pool fee tier (as a percentage), results for all four fee tiers (0.01%, 0.05%, 0.3%, 1%) each with output amount and estimated gas, the DEX name (Uniswap v3), the network (Base), and an optional note.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "token_entrada",
      "token_salida",
      "cantidad"
     ],
     "properties": {
      "cantidad": {
       "type": "number",
       "description": "Input amount in token units"
      },
      "token_salida": {
       "type": "string",
       "description": "Token to buy: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"
      },
      "token_entrada": {
       "type": "string",
       "description": "Token to sell: WETH (or ETH), USDC, USDT, DAI, cbBTC, or a Base token contract address"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "dex": {
       "type": [
        "string",
        "null"
       ]
      },
      "red": {
       "type": [
        "string",
        "null"
       ]
      },
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "salida": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "token": {
         "type": [
          "string",
          "null"
         ]
        },
        "cantidad": {
         "type": [
          "number",
          "null"
         ]
        },
        "contrato": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "entrada": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "token": {
         "type": [
          "string",
          "null"
         ]
        },
        "cantidad": {
         "type": [
          "number",
          "null"
         ]
        },
        "contrato": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "precio_unitario": {
       "type": [
        "number",
        "null"
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-dex-swap-quote-base-uniswap-v3-1c8e8285/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
