{"uid":"cap_8ZzirRaqyWFUH3FX46YA3","slug":"scrapemole-onchain-chainlink-usd-prices-base-ethereum-afffb3f4","name":"ScrapeMole Onchain: Chainlink USD Prices (Base & Ethereum)","description":"Pay-per-call on-chain data for agents on Base and Ethereum, read directly from chain state: Chainlink USD prices (crypto, stablecoins, FX, metals; 10 per call), ERC-20 token info, wallet balances with USD values, transaction lookup with decoded ERC-20 transfers, ENS and Basename resolution (forward and reverse), gas and fee estimates in USD, and Uniswap v3 DEX prices for long-tail tokens (verify a payment arrived). USDC via x402; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://onchain.scrapemole.workers.dev/terms","url":"https://onchain.scrapemole.workers.dev/v1/price?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["symbols"],"properties":{"chain":{"enum":["base","ethereum"],"type":"string","default":"base","description":"Chain to read the feeds from."},"symbols":{"type":"string","examples":["ETH,BTC"],"description":"Comma-separated asset symbols (max 10), e.g. \"ETH,BTC,USDC,EUR\". GET / lists all supported symbols per chain."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","count":2,"prices":[{"feed":"0x…","stale":false,"symbol":"ETH","roundId":"18446744073709600000","priceUsd":3912.45,"updatedAt":"2026-10-11T18:59:11.000Z","ageSeconds":240,"assetClass":"Crypto"}],"unsupported":[]}},"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_O2jy9-RxT2JbiAaMzmEbI","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":"Returns real-time Chainlink oracle USD prices for up to 10 crypto, stablecoin, FX, or metals symbols from Base or Ethereum chain state","exampleAgentPrompt":"What are the current on-chain USD prices for ETH and BTC right now? Use Chainlink feeds on Base.","exampleUseCases":[{"title":"DeFi portfolio USD valuation","prompt":"Get me the current Chainlink USD prices for ETH, BTC, and USDC on Base so I can calculate the total USD value of my wallet."},{"title":"Multi-asset FX and metals check","prompt":"What are the current on-chain prices for EUR, gold, and silver in USD? Fetch them from Chainlink feeds on Ethereum."},{"title":"Stale price feed monitoring","prompt":"Pull the Chainlink USD price for ETH on Base and tell me if the price feed is stale or how many seconds old it is."}],"resultDescription":"Returns a JSON object containing the chain name, count of results, and an array of price records — each with the symbol, USD price, Chainlink feed address, round ID, last updated timestamp, age in seconds, staleness flag, and asset class (Crypto, Stablecoin, FX, Metals). Any unrecognized symbols are listed in an 'unsupported' array.","failureModes":["Unsupported symbol requested — symbol appears in 'unsupported' array","More than 10 symbols requested — request rejected","Invalid chain value — must be 'base' or 'ethereum'","Chainlink feed temporarily unavailable — stale flag set to true","Payment failure via x402 — call not charged, no data returned","Network/RPC error reading chain state — 5xx response"],"whenToPreferThis":"Choose this endpoint when you need authoritative, tamper-resistant USD prices sourced directly from Chainlink oracle contracts on Base or Ethereum — not from a centralized exchange API. It is ideal for DeFi agents that need on-chain verified prices for crypto, stablecoins, FX pairs, or metals, especially when you need to batch up to 10 prices in a single cheap ($0.002 USDC) call. Prefer it over CEX price APIs when trustless, chain-native data is required, and over Uniswap DEX prices when assets are mainstream and Chainlink feeds exist for them.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:38:15.096Z","isFirstParty":false,"canonicalSlug":"scrapemole-onchain-chainlink-usd-prices-base-ethereum-afffb3f4"}