# TrustDex EVM Swap Quote

> TrustDex EVM Swap Quote is a paid API for AI agents from trustdex.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a best-route EVM swap quote and ready-to-sign transaction payload for a given token pair on a specified EVM chain.

## Facts

- Endpoint: GET https://trustdex.app/api/v1/x402/swap/evm/quote
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustdex-evm-swap-quote-dcd6f2d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yrNYd-M783kPJOSEprQqL

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 trustdex-evm-swap-quote-dcd6f2d9
```

Example prompt: I want to swap 500 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for ETH on Base (chain 8453) — can you get me the best-route quote and the transaction I need to sign? My wallet is 0xAbCd1234...

## When to prefer this

Choose this endpoint when you need a no-KYC, no-account EVM token swap quote with a ready-to-sign transaction across supported EVM chains (Base, Ethereum, and others). It is ideal for autonomous agents that need to obtain swap calldata programmatically without wallet custody or identity requirements. Prefer it over generic DEX UIs when you need machine-readable tx payloads and best-route aggregation in a single API call.

## Known failure modes

- Invalid or unsupported chainId returns an error
- Unrecognized token address (buyToken/sellToken) causes a routing failure
- sellAmount of zero or malformed base-unit string causes validation error
- Insufficient liquidity for the requested pair returns no route found
- taker address missing or malformed causes transaction assembly failure
- Network congestion may cause stale quotes

## How this service works

TrustDex is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.

## Output

Returns a JSON object with ok status, a ready-to-broadcast EVM transaction (to address, calldata, value), expected buy amount, minimum buy amount after slippage, gas estimate, allowance target address, fee mode, and plan metadata. The agent can hand the tx fields directly to a wallet signer.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tx": {
   "to": "0x…",
   "data": "0x…",
   "value": "0x…"
  },
  "meta": {
   "plan": "x402"
  },
  "feeMode": "forwarder",
  "buyAmount": "…",
  "gasEstimate": "…",
  "minBuyAmount": "…",
  "allowanceTarget": "0x…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustdex-evm-swap-quote-dcd6f2d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trustdex.app](https://www.zero.xyz/host/trustdex.app/llms.txt)
