WORKFLOW 03 / 1 ETH → USDC · Ethereum

Estimate one swap route + gas

Read a ParaSwap aggregate route, then compare it with current chain gas estimates.
0.003USDC / WORKFLOW
Run it yourself ↓
01

ParaSwap route quote

/api/dex-quotes?from=ETH&to=USDC&amount=1&chain=ethereum
0.002USDC
02

Current gas tiers

/api/gas-tracker
0.001USDC
No wallet connected. Inspect requests reveal the live price without signing or spending.

Recorded from public providers through a local development run. Development payment bypass used; this is not proof of a paid production call. Values are historical, not a live quote.

View recorded JSON ↗
Loading recorded example…

One command.
Clear spending limit.

Start in inspect mode. To buy data, use a dedicated wallet with Base USDC and add --pay. The runner validates the recipient, asset, price, and total budget.

Open the runnable example ↗
TERMINAL / NODE 22
git clone https://github.com/fernsugi/x402-api-server
cd x402-api-server
npm ci
node examples/demo.mjs swap-cost
OR ASK YOUR MCP AGENT

Quote 1 ETH to USDC on Ethereum using ParaSwap, then fetch gas tiers. Explain expected output and estimated gas separately. Do not execute a swap. Budget: 0.003 USDC.