{"uid":"cap_y1yPvQAwHxR9pvv90boSw","slug":"beggar-bot-v2-swap-build-base-mainnet-40f22902","name":"Beggar Bot V2 Swap Build (Base Mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/v2swapbuild?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1cVU-gMo_aGMxQsSEN9Pb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Builds a Uniswap V2 swap transaction for execution on Base mainnet, returning calldata or transaction parameters for a token swap.","exampleAgentPrompt":"Build me a Uniswap V2 swap transaction on Base mainnet to swap 100 USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) for WETH, sending the output to my wallet 0xAbC123...","exampleUseCases":[{"title":"Automate USDC-to-token swap","prompt":"Build me a V2 swap transaction on Base mainnet to exchange 50 USDC for the token at 0xDeF456... and send the proceeds to my address 0xAbC123."},{"title":"Prepare DEX trade for execution","prompt":"I want to swap 200 of the token at 0x111aaa... for USDC on Base mainnet — can you build the swap calldata I need to sign and send?"},{"title":"Test swap build on Base Sepolia","prompt":"Build a Uniswap V2 swap transaction on base-sepolia testnet to swap 10 USDC for the token at 0x999bbb... using my wallet 0xDef789."}],"resultDescription":"Returns JSON containing the constructed swap transaction parameters such as calldata, target contract address, estimated output amounts, swap route, and gas estimates suitable for signing and broadcasting to Base mainnet.","failureModes":["Invalid or unsupported token address returns an error","Insufficient liquidity for the requested swap pair","Network mismatch or unsupported network parameter","Malformed input parameters result in a 400 error","Payment not provided or failed x402 micropayment ($0.02 USDC) results in 402 response","Token pair with no Uniswap V2 pool on Base returns an error"],"whenToPreferThis":"Use this endpoint when you need to programmatically build Uniswap V2 swap transaction data on Base mainnet without running your own node or router logic. Prefer it over manual ABI encoding when you want a quick, pay-per-use service to generate ready-to-sign swap calldata. Best suited for agents that need on-demand swap construction without maintaining DeFi infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:42:59.491Z","isFirstParty":false,"canonicalSlug":"beggar-bot-v2-swap-build-base-mainnet-40f22902"}