# TrustDex EVM Swap Price Quote

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

Returns a best-route price estimate for swapping one EVM token for another across 7 supported chains

## Facts

- Endpoint: GET https://trustdex.app/api/v1/x402/swap/evm/price
- Price: $0.002/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-price-quote-4f25f4c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9oMpsqZNKT95GVXS0CPXQ

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-price-quote-4f25f4c4
```

Example prompt: What's the best price I'd get swapping 1000 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for native ETH on Base (chain ID 8453) right now?

## When to prefer this

Use this endpoint when you need a fast, no-KYC, non-custodial EVM token swap price estimate across any of TrustDex's 7 supported EVM chains without setting up an account. Prefer it over centralized exchange price APIs when privacy matters or when operating on chains like Base, Arbitrum, or Polygon with a need for best-route aggregation.

## Known failure modes

- Invalid or unsupported chainId returns an error or empty result
- Unrecognized token address (non-0x format or unlisted token) causes a failed lookup
- sellAmount of zero or non-integer string may return a validation error
- Unsupported chain returns no route
- Network congestion may cause stale or unavailable price data
- Payment of 0.002 USDC not fulfilled triggers 402 response blocking the call

## 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, plan metadata, an estimate flag, the expected buyAmount in the token's base units, minBuyAmount accounting for slippage, and nativeUsd price if available.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "meta": {
   "plan": "x402"
  },
  "estimate": true,
  "buyAmount": "…",
  "nativeUsd": null,
  "minBuyAmount": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustdex-evm-swap-price-quote-4f25f4c4/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)
