# DEX Swap Quote — The Stall x402

> DEX Swap Quote — The Stall x402 is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.059/call, status unknown (last checked 2026-09-13).

Returns a DEX swap quote for a given token pair and amount across multiple EVM chains, including price, route, and slippage details.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/dex-swap-quote
- Price: $0.059/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-swap-quote-the-stall-x402-0ecdcd16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__gpGvNAW1ljx8D8liMK2a

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-swap-quote-the-stall-x402-0ecdcd16
```

Example prompt: What's the best DEX quote to swap 0.5 ETH for USDC on Base mainnet right now, with a max slippage of 0.5%?

## When to prefer this

Use this endpoint when you need a real-time DEX swap quote before executing a token swap on EVM-compatible chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche). Ideal for agents that need to check price, slippage, and routing without executing a trade. Requires no API key — pay $0.012 USDC per call via x402 on Base mainnet.

## Known failure modes

- Unsupported chain ID or name returns an error
- Unknown or unlisted token symbol with no contract address provided
- Requested swap amount too small or too large for available liquidity
- Cross-chain pair with no route available returns no-quote error
- Invalid slippage value outside allowed range (0.0001–0.5) rejected
- Payment not included or insufficient USDC returns 402 response

## How this service works

Best-route DEX swap quote across 20+ chains via Li.Fi aggregator. Returns expected output, exchange rate, gas cost, price impact, and route (DEX/bridge names). Works for same-chain and cross-chain swaps. Use ETH/USDC/WBTC symbols or ERC-20 addresses. Chains: ethereum, base, polygon, arbitrum, optimism, bsc, avalanche, and more. $0.012/call — free upstream.

## Output

Returns a swap quote including the estimated output token amount, exchange rate, DEX routing path, price impact, and slippage parameters for the specified token pair and chain(s).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "slippage": 0.005,
   "to_chain": "ethereum",
   "to_token": "USDC",
   "from_chain": "ethereum",
   "from_token": "ETH",
   "from_amount": "0.5"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dex-swap-quote-the-stall-x402-0ecdcd16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
