{"uid":"cap_7kcagj90Z2pG-VFk5Fz7c","slug":"base-toolbox-eth-token-price-on-base-3c98d172","name":"Base Toolbox: ETH/Token Price on Base","description":"Base toolbox: before you sign on Base — Uniswap v3 preflight, leftover allowances, tx explain, transfer check. $0.10 USDC. Also $0.001 price/gas/ENS. GET /v1/constants free. No CoinGecko key.","url":"https://basetoolbox.cartonpliant.workers.dev/v1/base-price","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"type":"object"},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"ok":true,"usd":2500.12,"pool":"0xd0b5…","quote":"0x8335…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_siosscMEyQnyqIByJmIQG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the current USD price of ETH or a token on Base network using Uniswap v3 pool data","exampleAgentPrompt":"What's the current USD price of ETH on Base right now, using live Uniswap v3 pool data?","exampleUseCases":[{"title":"Pre-swap price check on Base","prompt":"Before I approve this swap on Base, can you pull the current ETH price in USD from Uniswap v3 so I know if the rate is fair?"},{"title":"DeFi bot token valuation","prompt":"My trading bot needs the live on-chain price of WETH in USD on Base — can you fetch it from the Uniswap v3 pool?"},{"title":"Portfolio value snapshot","prompt":"I'm tracking my Base wallet and need to know what ETH is currently worth in USD according to Uniswap v3 on Base — can you get that for me?"}],"resultDescription":"Returns a JSON object with ok (boolean success flag), usd (current USD price as a float), pool (the Uniswap v3 pool address used), and quote (the quote token address used for the price calculation).","failureModes":["Token or pool not found on Base — returns ok: false or error message","Invalid token address format — bad request error","Uniswap v3 pool has insufficient liquidity for reliable price — may return stale or inaccurate price","Payment not provided or insufficient — x402 payment required response","Network or RPC unavailability — upstream timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a live, on-chain USD price for ETH or a token on the Base network sourced directly from Uniswap v3 liquidity pools — no CoinGecko API key required. It is ideal for pre-transaction price checks, DeFi agent workflows, or any scenario where you want Base-native, DEX-derived pricing rather than centralized exchange data. At $0.001 USDC per call it is very cheap for per-transaction price lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:45:10.051Z","isFirstParty":false}