{"uid":"cap_0yM2LmekUDxssoVEJ7oAF","slug":"pyth-network-oracle-price-feed-61684c72","name":"Pyth Network Oracle Price Feed","description":"Pyth Network oracle prices with confidence bands, read on-chain from Pyth's Solana push feeds: price, confidence interval (absolute and %), EMA price and EMA confidence, publish time and age in seconds, feed id and account, for up to 20 symbols (BTCUSD, ETHUSD, SOLUSD, gold XAUUSD, stablecoins, LST rates; ~65 feeds). Call with list=true for every available symbol.","url":"https://api.chainmarket-api.workers.dev/api/crypto/pyth-network-oracles?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","properties":{"list":{"type":"string","description":"true to list the available symbols instead"},"symbols":{"type":"string","description":"Comma-separated Pyth symbols, e.g. BTCUSD,ETHUSD (1 to 20)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":3,"prices":[{"price":81520.97369762001,"feedId":"0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43","symbol":"BTCUSD","emaPrice":81652.90095,"assetType":"Crypto","ageSeconds":7,"confidence":77.92630238,"publishTime":"2026-10-23T09:35:53.000Z","confidencePct":0.0956,"emaConfidence":73.25261002,"solanaAccount":"4cSM2e6rvbGQUFiJbqytoVMi5GgghSMr8LwVrT9VPSPo"},{"price":2393.33134285,"feedId":"0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace","symbol":"ETHUSD","emaPrice":2401.72906,"assetType":"Crypto","ageSeconds":18,"confidence":2.93365716,"publishTime":"2026-10-23T09:35:42.000Z","confidencePct":0.1226,"emaConfidence":2.50460718,"solanaAccount":"42amVS4KgzR9rA28tkVYqVXjq9Qa8dcZQMbH5EYFX6XC"}],"source":"https://api.mainnet-beta.solana.com","checkedAt":"2026-10-23T09:36:00.816Z"}},"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_4js-H5vSCv5nLjSirXyHp","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 real-time and EMA price data for one or more cryptocurrency symbols from Pyth Network oracles on Solana mainnet","exampleAgentPrompt":"What are the current Pyth Network oracle prices for BTCUSD and ETHUSD, including confidence intervals and EMA prices?","exampleUseCases":[{"title":"DeFi liquidation threshold monitor","prompt":"Check the Pyth oracle prices for BTCUSD and ETHUSD right now — I need the current price, EMA price, and confidence percentage for each so I can evaluate liquidation risk in my DeFi positions."},{"title":"Multi-asset crypto dashboard","prompt":"Pull the latest Pyth Network oracle prices for BTCUSD, ETHUSD, and SOLUSD — I want the price, EMA, and how old the data is in seconds for each one."},{"title":"Discover available Pyth price feeds","prompt":"Can you list all the available symbols I can query on the Pyth Network oracle feed so I know which crypto pairs are supported?"}],"resultDescription":"Returns a JSON object containing the count of symbols queried, an array of price records (each with current price, EMA price, confidence value, confidence percentage, EMA confidence, feed ID, Solana account address, asset type, age in seconds, and publish timestamp), the Solana RPC source URL, and a checkedAt timestamp.","failureModes":["Invalid or unsupported symbol returns empty prices array or error","Requesting more than 20 symbols at once may be rejected","Stale oracle data if Pyth network has latency (age in seconds will be high)","Payment failure results in 402 response and no charge","Network timeout on Solana RPC endpoint"],"whenToPreferThis":"Choose this endpoint when you need authoritative on-chain oracle price data sourced directly from Pyth Network validators on Solana, including confidence intervals and EMA prices — ideal for DeFi calculations, risk management, or any application requiring verifiable, decentralized price feeds rather than centralized exchange prices. Prefer over CEX APIs when you need trust-minimized, manipulation-resistant price data with statistical confidence metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:44.608Z","isFirstParty":false,"canonicalSlug":"pyth-network-oracle-price-feed-61684c72"}