Directory / saferoute-x402-production.up.railway.app
Check whether an approved Base token swap is eligible before supplying a wallet. Returns verified token contracts, indicative output, liquidity sources, fee estimate, warnings, and the exact next action. No custody, signing, or execution.
# 1. Ask the endpoint what it costs (no payment, no wallet needed): curl -i -X POST 'https://saferoute-x402-production.up.railway.app/v1/swap-safety-check' # -> HTTP/1.1 402 Payment Required # the response carries the price, asset and pay-to address. # 2. Pay and retry with any x402 client: npx x402-fetch -X POST 'https://saferoute-x402-production.up.railway.app/v1/swap-safety-check'
Endpoint: https://saferoute-x402-production.up.railway.app/v1/swap-safety-check. Operated by saferoute-x402-production.up.railway.app, not by Animica. Price and availability were correct at the last probe on 2026-09-02 and are set by the operator, who may change them.
Buy a safety-checked Base DEX swap quote for USDC, WETH, EURC, cbETH, cbBTC, VIRTUAL, or AERO. Returns unsigned calldata or a buyer-signable gasless payload; Sa…
All 2 endpoints on saferoute-x402-production.up.railway.app →