ParaSwap route quote
/api/dex-quotes?from=ETH&to=USDC&amount=1&chain=ethereum/api/dex-quotes?from=ETH&to=USDC&amount=1&chain=ethereum/api/gas-trackerRecorded 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.
Loading recorded example…
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.
git clone https://github.com/fernsugi/x402-api-server cd x402-api-server npm ci node examples/demo.mjs swap-cost
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.