{"uid":"cap_jqjzYc-Mx7xjVsKRBNCKD","slug":"vu-velvetdao-xyz-cd5202e8","name":"Velvet DAO DeFi Token Swap","description":"DeFi token swap: returns best route and ready-to-sign transaction data.","url":"https://vu.velvetdao.xyz/api/v1/swap_402","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"instruction":{"type":"string","description":"Natural-language swap instruction with wallet address"}}},"responseSchema":{"type":"json","example":{"answer":"Best route via Uniswap V3: 10 USDC â 0.003 ETH","txdata":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"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_WYNZhQPxHB7pGi4NJPy8p","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 the best swap route and ready-to-sign transaction data for a DeFi token exchange.","exampleAgentPrompt":"Find me the best swap route to exchange 1 ETH for USDC on Base using my wallet 0xAbC123... and give me the ready-to-sign transaction data.","exampleUseCases":null,"resultDescription":"Returns the optimal DEX route for the requested token swap along with fully constructed, ready-to-sign transaction data including expected output amount, routing path, gas estimates, and on-chain execution payload.","failureModes":["Insufficient liquidity for the requested token pair — no route found","Unsupported chain or token address — 400 error","Slippage too high for the requested trade size","Invalid wallet address format","Payment not received or x402 payment header missing — 402 error","Network congestion causing stale price data"],"whenToPreferThis":"Use this endpoint when you need both a swap route recommendation AND a ready-to-sign transaction payload in one call, particularly within the Velvet DAO ecosystem. Ideal for AI agents that need to execute DeFi swaps on behalf of users without building transaction data manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:21.357Z","isFirstParty":false}