{"uid":"cap_HEH4XGhshbd_P12_EuNXM","slug":"base-onchain-token-price-feed-f475ad3f","name":"Base Onchain Token Price Feed","description":"Eleven read-only endpoints answering questions about Base mainnet that are tedious to assemble from raw RPC: what an unverified contract is actually able to do, whether a token transfer will revert and for what reason, what an arbitrary token is worth, and whether an address is safe to pay. Priced $0.001-$0.04 per call in USDC over x402. No account, no API key, no signup, no minimum, no rate limit to negotiate — the payTo address in the 402 response is the whole integration. Failed calls are not billed. The payment middleware cancels settlement on any 4xx or 5xx, so a malformed parameter or an upstream outage costs nothing. Answers are read live from Base mainnet at request time, with failover across five independent RPC providers. A batch that comes back incomplete is treated as a failure rather than returned with the missing entries as zeros, because a confident wrong answer costs a caller more than an error does. Scope is deliberately narrow: Base mainnet only, reads only, no keys held, nothing stored between requests.","url":"https://base-onchain-tools.dolerite.workers.dev/v1/base/price","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"prices":{"ETH/USD":{"price":2401.43,"stale":false}},"source":"chainlink-onchain"}},"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_aGdb8YgKnHEarjMhbHiV4","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 live token prices (e.g. ETH/USD) from Chainlink on-chain oracles on Base mainnet","exampleAgentPrompt":"What's the current on-chain price of ETH in USD right now, pulled live from Chainlink on Base mainnet?","exampleUseCases":[{"title":"Real-time ETH price check","prompt":"What is ETH worth in USD right now according to the Chainlink oracle on Base? I want the live on-chain price, not an exchange quote."},{"title":"Stale price detection for DeFi app","prompt":"Fetch the current ETH/USD price from the Base mainnet Chainlink feed and tell me if the price is stale — I need to know if my app should halt trading."},{"title":"Portfolio valuation at current prices","prompt":"What's the live Chainlink price for ETH on Base mainnet right now? I'm calculating the current USD value of my ETH holdings."}],"resultDescription":"A JSON object containing a prices map keyed by trading pair (e.g. 'ETH/USD'), each entry including the current numeric price and a boolean 'stale' flag indicating whether the oracle data is fresh, plus a 'source' field identifying the oracle (e.g. 'chainlink-onchain').","failureModes":["Upstream RPC outage across all five providers returns an error rather than a zero/stale value — call is not billed","Malformed or unsupported token pair parameter returns a 4xx error — call is not billed","Network timeout or Cloudflare Worker failure returns 5xx — call is not billed","Requesting a token not supported by Chainlink on Base mainnet returns an error"],"whenToPreferThis":"Choose this endpoint when you need a trustworthy, on-chain price sourced directly from Chainlink oracles on Base mainnet, especially when you need a staleness guarantee and want pay-per-call with no API key or account setup. Prefer it over exchange-based price APIs when on-chain oracle provenance matters (e.g. DeFi logic, smart contract inputs, or auditability). It is read-only and covers Base mainnet only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:07.746Z","isFirstParty":false}