{"uid":"cap_JlYLXHcBU4HTtarQTV7dp","slug":"onchain-health-oracle-price-9cce5c49","name":"Onchain Health Oracle Price","description":"Chainlink oracle prices read on-chain: answer, decimals, round id, last update time, age and a staleness flag for up to 10 pairs per call (ETH, BTC, USDC, USDT, DAI, LINK, UNI, AAVE, stETH, USDe, ARB, OP, POL, AERO, cbETH vs USD) on Ethereum, Base, Arbitrum, Optimism or Polygon. Free sample: https://onchain-health.mick8511.workers.dev/sample","url":"https://onchain-health.mick8511.workers.dev/oracle-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"One chain (default ethereum)"},"pairs":{"type":"string","description":"Comma list of pairs, e.g. ETH/USD,BTC/USD"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5L0DvcLMRe_CwY9EeFJOj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Chainlink oracle prices on-chain for up to 10 token/USD pairs per call, returning answer, decimals, round ID, last update time, age, and a staleness flag across five EVM chains.","exampleAgentPrompt":"What are the current Chainlink oracle prices for ETH/USD, BTC/USD, and LINK/USD on Arbitrum — and are any of the feeds stale?","exampleUseCases":[{"title":"DeFi liquidation risk check","prompt":"Pull the on-chain Chainlink oracle prices for ETH/USD, AAVE/USD, and stETH/USD on Ethereum and tell me if any feeds are stale — I need to know if my collateral valuations are safe."},{"title":"Multi-chain price comparison","prompt":"Fetch the current Chainlink oracle price for ETH/USD on both Base and Optimism and tell me if there's any difference in the reported price or staleness between the two chains."},{"title":"Stablecoin oracle sanity check","prompt":"Check the on-chain Chainlink oracle prices for USDC/USD, USDT/USD, and DAI/USD on Polygon and flag any feeds that are more than a few hours old."}],"resultDescription":"Returns a JSON object for each requested pair containing: the oracle price answer (in the feed's native decimals), the decimals field, the round ID, the last update timestamp, the age of the price in seconds, and a boolean staleness flag indicating whether the feed is considered outdated. Supports up to 10 pairs per call.","failureModes":["Unsupported chain name returns an error or empty response","Unsupported pair symbol returns null or missing entry for that pair","More than 10 pairs requested may be rejected or truncated","Network congestion on the target chain may cause delayed reads","Stale feeds return data but with staleness flag set to true"],"whenToPreferThis":"Use this endpoint when you need authoritative, on-chain Chainlink oracle prices with freshness metadata (age and staleness flag) for DeFi use cases such as liquidation checks, collateral valuation, or peg monitoring across Ethereum, Base, Arbitrum, Optimism, or Polygon. Prefer it over off-chain price APIs when on-chain data integrity and Chainlink round ID traceability matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:37:52.656Z","isFirstParty":false,"canonicalSlug":"onchain-health-oracle-price-9cce5c49"}