{"uid":"cap_dlLrxmYb-XpY3EEYxB7Un","slug":"chainlink-price-feed-api-d6a452e1","name":"Chainlink Price Feed API","description":"Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.","url":"https://ai-policy-kit.moneymaker-ai.workers.dev/api/chainlink-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":["pair"],"properties":{"pair":{"type":"string","description":"e.g. ETH/USD, BTC, cbETH/USD (USD quote only)"},"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon","bsc"],"type":"string","description":"optional; omit to read all chains with this pair"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pair":"ETH/USD","results":[{"ok":true,"feed":"0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70","block":52790760,"chain":"base","price":"2416.00578766","chainId":8453,"decimals":8,"positive":true,"round_id":"55340232221128663698","age_seconds":41,"updated_at_utc":"2026-10-19T00:47:07.000Z"}],"feeds_read":6,"spread_pct":0.4082,"median_price":2413.040993315}},"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_msnOx_VZ_tM0BWCDLUEXn","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 real-time cryptocurrency price data from Chainlink decentralized oracle feeds across multiple EVM chains, returning median price, spread, and per-chain results.","exampleAgentPrompt":"What's the current ETH/USD price from Chainlink across all chains? I want the median price and the spread between chains.","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"Get me the current ETH/USD price from Chainlink on Base so I can calculate the USD value of my ETH holdings."},{"title":"Cross-chain price arbitrage check","prompt":"Fetch the BTC price from Chainlink across Ethereum, Arbitrum, and Optimism and tell me the spread percentage — I want to see if there's a price discrepancy between chains."},{"title":"Stablecoin collateral monitoring","prompt":"What is the current cbETH/USD price from Chainlink on Ethereum? I need it for a collateral health check."}],"resultDescription":"Returns a JSON object containing the trading pair, a results array with per-chain data (price, feed address, block number, chain name, chain ID, decimals, round ID, age in seconds, last updated UTC timestamp), total number of feeds read, spread percentage across chains, and the median price across all chains queried.","failureModes":["Unsupported trading pair returns error or empty results","Unsupported chain enum value returns validation error","Chainlink feed not available on requested chain returns no result for that chain","Stale feed data may be returned if oracle hasn't updated recently","Network timeout if underlying RPC nodes are slow"],"whenToPreferThis":"Choose this endpoint when you need decentralized, on-chain price data sourced from Chainlink oracles rather than centralized exchange APIs. Ideal for DeFi applications, smart contract parameter calculation, cross-chain price comparison, and any use case where tamper-resistant oracle pricing is required. Supports aggregation across multiple EVM-compatible chains in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:40:45.773Z","isFirstParty":false,"canonicalSlug":"chainlink-price-feed-api-d6a452e1"}