{"uid":"cap_FckTamm-p5DhY8bPqrPAb","slug":"x402-silverbackdefi-app-710d4cb0","name":"SilverbackDeFi Token Swap via 0x Permit2","description":"Token swap via 0x Permit2. You sign EIP-712 data, append signature to tx, and broadcast. Response includes step-by-step instructions with code examples.","url":"https://x402.silverbackdefi.app/api/v1/swap","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"tokenIn":{"type":"string","description":"Token to sell (symbol like USDC, WETH, VIRTUAL or 0x address)"},"amountIn":{"type":"string","description":"Amount to swap in human-readable units (e.g. '0.1' for 0.1 WETH)"},"slippage":{"type":"string","description":"Max slippage % (default: '1')"},"tokenOut":{"type":"string","description":"Token to buy (symbol or 0x address)"},"walletAddress":{"type":"string","description":"Your wallet address — you will sign the Permit2 data and submit the transaction"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Re9gfQvyoRYV7dHRG-bA5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns step-by-step EIP-712 signing instructions and code examples to execute a token swap on-chain using 0x Permit2","exampleAgentPrompt":"I want to swap 0.5 WETH for USDC using my wallet 0xAbc123... — give me the EIP-712 signing instructions and transaction steps with 1% max slippage.","exampleUseCases":null,"resultDescription":"Returns structured step-by-step instructions including EIP-712 data to sign, how to append the signature to the transaction, and code examples for broadcasting the swap transaction on-chain via 0x Permit2.","failureModes":["Invalid token symbol or address returns error with no swap data","Unsupported token pair not available on 0x returns empty or error response","Slippage too low causes quote to fail due to price movement","Invalid wallet address format returns validation error","Insufficient liquidity for requested amount returns no route found"],"whenToPreferThis":"Use this endpoint when you need to execute a token swap on-chain via 0x Permit2 with EIP-712 signing, especially when you want code examples and step-by-step guidance for the signing and broadcast flow. Prefer this over generic DEX endpoints when you need structured signing instructions rather than just a quote.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T15:29:06.873Z","isFirstParty":false}