{"uid":"cap_PGW9kKz26gQ1RCpo7_3Oo","slug":"beggar-bot-dex-quote-base-mainnet-fa1b8887","name":"Beggar Bot DEX Quote (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/dexquote?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"type":"string","description":"base (default)"},"amount":{"type":"string","description":"decimal amount in (default 1)"},"token_in":{"type":"string","description":"symbol or 0x"},"token_out":{"type":"string","description":"symbol or 0x"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_4Q-5cKAUXDMKjbOuwNvlh","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":"Returns a decentralized exchange (DEX) price quote for swapping one token to another on Base mainnet, priced at $0.02 USDC per call via x402.","exampleAgentPrompt":"What's the current DEX quote to swap 100 USDC to ETH on Base mainnet?","exampleUseCases":[{"title":"Pre-trade swap price check","prompt":"Before I execute a trade, can you get me a DEX quote for swapping 500 USDC to WETH on Base mainnet so I know what rate to expect?"},{"title":"Token arbitrage price comparison","prompt":"What's the DEX quote on Base mainnet for swapping 1 ETH to USDC right now? I want to compare rates."},{"title":"Testnet swap quote validation","prompt":"Can you fetch a DEX quote on Base Sepolia testnet for swapping 10 USDC to DAI — just 1 unit in — to verify the price feed is working?"}],"resultDescription":"A JSON object containing the DEX swap quote for the requested token pair on Base mainnet, including the estimated output amount for the given input token and amount, exchange rate, and relevant chain context.","failureModes":["Missing required token_in or token_out parameters returns an error","Unrecognized token symbol or invalid contract address results in a lookup failure","Payment not provided or insufficient USDC balance causes x402 payment rejection","Unsupported chain parameter returns an error","Network congestion or DEX liquidity issues may result in stale or unavailable quotes"],"whenToPreferThis":"Use this endpoint when an AI agent needs a live DEX swap price quote specifically on Base mainnet or Base Sepolia testnet. It is ideal for pre-trade checks, price monitoring, and DeFi automation workflows where the agent needs to know the current on-chain exchange rate between two tokens before executing or recommending a swap. It suits scenarios where paying $0.02 USDC per call via x402 micropayment is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:43:55.153Z","isFirstParty":false,"canonicalSlug":"beggar-bot-dex-quote-base-mainnet-fa1b8887"}