{"uid":"cap_iC4WiF1ofrSTq8ETnUVcM","slug":"saferoute-dex-swap-quote-99fdddbf","name":"SafeRoute DEX Swap Quote","description":"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; SafeRoute never holds funds, signs, or broadcasts.","url":"https://saferoute-x402-production.up.railway.app/v1/quote","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["USDC","WETH","EURC","CBETH","CBBTC","VIRTUAL","AERO"],"type":"string","description":"Approved Base buy-token symbol"},"from":{"enum":["USDC","WETH","EURC","CBETH","CBBTC","VIRTUAL","AERO"],"type":"string","description":"Approved Base sell-token symbol"},"amount":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"Human-readable sell amount, capped at $500 USDC equivalent"},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Buyer-controlled taker wallet"},"intentId":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","maxLength":128,"minLength":16},"referralCode":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","maxLength":64,"minLength":3},"executionMode":{"enum":["standard","gasless"],"type":"string","default":"standard"},"sourceAgentId":{"type":"string","maxLength":128,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8u49zAofHe5qIdy8hnFW4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a safety-checked DEX swap quote (unsigned calldata or gasless payload) for approved Base network token pairs, without holding funds or broadcasting transactions.","exampleAgentPrompt":"Get me a safety-checked swap quote to buy WETH using 100 USDC on Base from my wallet 0xAbCd1234...5678, using standard execution mode.","exampleUseCases":[{"title":"Agent-driven USDC to ETH swap","prompt":"Get me a SafeRoute quote to swap 250 USDC into WETH on Base for my wallet 0x1234567890abcdef1234567890abcdef12345678 using standard mode."},{"title":"Gasless cbBTC purchase for DeFi bot","prompt":"I need a gasless swap quote to buy cbBTC with 50 USDC on Base, taker wallet is 0xAbCdEf1234567890AbCdEf1234567890AbCdEf12 — give me the signable payload."},{"title":"EURC to USDC stablecoin rebalancing","prompt":"Quote me a swap of 200 EURC to USDC on Base for wallet 0x9999888877776666555544443333222211110000, standard execution, so I can rebalance my stablecoin holdings."}],"resultDescription":"Returns either unsigned calldata (standard mode) or a buyer-signable gasless payload for the requested token swap on Base, including the swap route, expected output amount, and transaction parameters — without the service holding funds, signing, or broadcasting anything.","failureModes":["Unsupported token pair — only 7 approved symbols accepted, any other token returns an error","Amount exceeds $500 USDC equivalent cap — request rejected","Invalid wallet address format — must be a valid 0x EVM address","Token pair ineligible for swap — sibling eligibility endpoint should be checked first","Service unavailability on Railway deployment — HTTP 5xx response","Malformed intentId or referralCode — fails schema pattern validation"],"whenToPreferThis":"Use SafeRoute when your agent needs a non-custodial, safety-checked DEX swap quote on Base network for approved tokens (USDC, WETH, EURC, cbETH, cbBTC, VIRTUAL, AERO) and requires either standard unsigned calldata or a gasless signable payload. Prefer this over raw DEX aggregators when safety validation, agent attribution (sourceAgentId), and non-custodial guarantees matter. Best for AI agents executing DeFi swaps up to $500 USDC equivalent without custody risk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:31:52.703Z","isFirstParty":false}