← Back to all APIs

Swap Estimate

$0

Free (no payment required): fixed or floating quote for one swap: amount you receive, locked rate id and expiry for fixed quotes. Quote only — no order is created.

POST https://x402.freeq.one/tools/swap_estimate
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/swap_estimate \ -H "Content-Type: application/json" \ -d '{"currency_from":"btc:btc","currency_to":"eth:eth","amount":"0.01","fixed":false}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.