{"uid":"cap_mJH-nLHhY-VVnODfjums4","slug":"allthebot-base-swap-quote-503d8df6","name":"AllTheBot Base Swap Quote","description":"Best swap price on Base (DEX quote aggregator): live quotes from Uniswap v3 (all fee tiers) and Aerodrome (stable/volatile) for any ERC-20 pair, ranked best first. Symbols ETH, USDC, cbBTC, DAI or token addresses. Read-only, no swap executed.","url":"https://velux.taild4d007.ts.net:8443/x402/base/swap-quote?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","required":["token_in","token_out","amount_in"],"properties":{"token_in":{"type":"string","maxLength":42},"amount_in":{"type":"string","pattern":"^[0-9]{1,30}(\\.[0-9]{1,30})?$"},"token_out":{"type":"string","maxLength":42}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_--545_HfkkC3PwR9c04E_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns aggregated DEX swap quotes on Base network for any ERC-20 pair, comparing Uniswap v3 and Aerodrome rates and ranking them best-first","exampleAgentPrompt":"What's the best price I can get to swap 1 ETH for USDC on Base right now — check Uniswap v3 and Aerodrome and tell me which DEX gives the most USDC?","exampleUseCases":[{"title":"Best ETH-to-USDC rate before trading","prompt":"I want to swap 2 ETH for USDC on Base — can you check all the DEX quotes across Uniswap v3 and Aerodrome and tell me which one gives me the most USDC?"},{"title":"cbBTC arbitrage opportunity check","prompt":"What's the best swap quote available right now for trading 0.05 cbBTC to USDC on Base? Compare all the DEXes and fee tiers and rank them best first."},{"title":"Token price discovery before DeFi action","prompt":"How much DAI would I get if I swap 500 USDC on Base today? Check Uniswap v3 all fee tiers and Aerodrome and show me the best rate."}],"resultDescription":"A ranked list of swap quotes from Uniswap v3 (across all fee tiers: 0.01%, 0.05%, 0.3%, 1%) and Aerodrome (stable and volatile pools), showing the expected output amount for each route, sorted best-first so the agent can immediately identify the optimal DEX and pool for the trade. No swap is executed — this is a read-only price check.","failureModes":["Unsupported token pair returns no quotes or empty result","Invalid token symbol or address returns an error","amount_in format not matching numeric pattern causes validation error","No liquidity available for pair results in empty or zero quotes","Network congestion or RPC issues may cause stale or failed quote fetches","Payment of $0.0025 USDC required per call via x402 protocol; missing payment returns 402"],"whenToPreferThis":"Use this endpoint when you need the best available on-chain swap price on Base network without executing a trade. It aggregates multiple DEX sources (Uniswap v3 all fee tiers + Aerodrome stable/volatile) in a single call, saving the agent from querying each DEX separately. Prefer this over single-DEX quote APIs when price optimization matters, or when building a DeFi workflow that needs to pre-check rates before committing a transaction. Not suitable if you need quotes on Ethereum mainnet, other L2s, or need to actually execute the swap.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:36.876Z","isFirstParty":false,"canonicalSlug":"allthebot-base-swap-quote-503d8df6"}