{"uid":"cap_XwyxRa4wC8rtAaG4JPD1K","slug":"base-l2-token-spot-price-x402-donnyautomation-com-cc492495","name":"Base L2 Token Spot Price (x402.donnyautomation.com)","description":"Pay-per-call (x402/USDC on Base) market-data, geocoding, randomness and hook-risk endpoints. Free demo route included.","url":"https://x402.donnyautomation.com/base/price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ts":"2026-07-31T00:00:00.000Z","chainId":8453,"network":"base"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"down","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__wqb49Q8IudEt7MSOVfvu","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 real-time USD spot price of any ERC-20 token on Base L2 by ticker symbol or contract address, sourced live from BaseSwap, SushiSwap, and Uniswap v3 pools, with liquidity depth and confidence rating.","exampleAgentPrompt":"What's the current USD price of WETH on Base right now — and how confident is the quote based on pool liquidity?","exampleUseCases":[{"title":"Trading bot real-time price feed","prompt":"Get me the live USD price of cbBTC on Base, including which DEX pair was used and how much liquidity is backing the quote — I need to know if I can trust the number before I execute a trade."},{"title":"DeFi dashboard token valuation","prompt":"What is USDC worth on Base right now? Pull the spot price from on-chain DEX pools and give me the confidence rating so I know if the pool is deep enough to rely on."},{"title":"Price oracle sanity check","prompt":"I'm running a price oracle for DAI on Base — can you fetch the current on-chain USD spot price from BaseSwap or Uniswap v3 and tell me the USD liquidity depth behind it?"}],"resultDescription":"Returns a JSON object containing: priceUsd (the current USD spot price of the token), the DEX pair used to derive the quote (e.g. WETH/USDC on BaseSwap), the USD value of liquidity backing the quote, and a confidence rating indicating whether the pool is deep enough to treat the price as a reliable market price.","failureModes":["Token symbol not found on Base — no matching pool exists across BaseSwap, SushiSwap, or Uniswap v3","Token has extremely thin liquidity — price returned with low confidence rating warning","Invalid or unrecognized contract address — returns error","Network or RPC latency causes stale or missing pool state at call time","Token exists but has no active USD-denominated pool — cannot derive USD price"],"whenToPreferThis":"Choose this endpoint when you need a real-time, on-chain USD price for any ERC-20 token on Base L2 — not just tokens on a fixed curated list. It is especially valuable when you need a confidence signal alongside the price (i.e., you need to know if the pool is deep enough to trust the quote), making it ideal for trading bots, price oracles, and DeFi dashboards that must avoid acting on thin-pool prices. Prefer it over centralized exchange price APIs when on-chain/Base-native data is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T07:29:06.214Z","isFirstParty":false,"canonicalSlug":"base-l2-token-spot-price-x402-donnyautomation-com-cc492495"}