{"uid":"cap_90npN3iZW42h4C27Zk678","slug":"meryol-agenticmarket-x402-hf-space-83700af5","name":"Chainlink Oracle Freshness Probe","description":"Pre-execution oracle staleness check: direct eth_call to a Chainlink aggregator's latestRoundData(). feed = 0x-address OR alias (eth-usd, btc-usd, usdc-usd). Returns scaled answer, updated_at, staleness vs the feed's real heartbeat, and is_safe_to_use. Call before borrows or oracle-dependent execution. Chains: ethereum, base, arbitrum, optimism.","url":"https://meryol-agenticmarket-x402.hf.space/oracle/freshness/:chain/:feed","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"},"pathParams":{"type":"object","required":["chain","feed"],"properties":{"feed":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["is_safe_to_use","staleness_seconds"]}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"feed":"0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612","chain":"ethereum"},"queryParams":{}}},"response":{"feed":"0x639fe6ab55c921f74e7fac1ee960c0b6293ba612","chain":"ethereum","notes":["feed_read_failed"],"decimals":null,"answer_raw":null,"description":null,"answer_scaled":null,"updated_at_ts":null,"is_safe_to_use":false,"staleness_seconds":null}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_MbpPmzHYdtgfH0iClO9Hq","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":"Probes a Chainlink oracle feed on EVM chains via eth_call to latestRoundData(), returning staleness, scaled answer, and a safety flag for lending/AMM agents","exampleAgentPrompt":"Before I trigger this borrow on Arbitrum, can you check whether the Chainlink ETH/USD feed at 0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612 is fresh and safe to use — give me the staleness in seconds and whether it's safe?","exampleUseCases":null,"resultDescription":"Returns feed description, decimals, scaled price answer, updated_at timestamp, staleness in seconds since last update, and an is_safe_to_use boolean indicating whether the oracle data is fresh enough to act on.","failureModes":["Invalid feed address format (not a valid 0x EVM address) — 400 error","Unsupported chain name (not one of ethereum/base/arbitrum/optimism) — 400 or validation error","Feed address does not correspond to a Chainlink oracle on the specified chain — RPC call failure or null response","RPC unavailable for the target chain — upstream timeout or 503","Payment not provided or insufficient — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi protocol needs to verify Chainlink oracle freshness before executing any oracle-dependent action such as borrowing, liquidating, or swapping on Ethereum, Base, Arbitrum, or Optimism. Prefer this over generic RPC calls when you need a structured staleness judgment (is_safe_to_use boolean) rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:27.949Z","isFirstParty":false}