{"uid":"cap_scVUE_WNrkluOQeWuEhFh","slug":"pyth-network-oracle-price-feed-via-x402-datashop-62cdfe0b","name":"Pyth Network Oracle Price Feed via x402-datashop","description":"Real-time oracle prices from Pyth Network (Hermes API): aggregate price, confidence interval (uncertainty band), EMA price and publish_time per asset, all vs USD. Query: ?symbols=btc,eth,sol (1-8 of: btc, eth, sol, bnb, xrp, ada, avax, doge, link, dot, usdc, usdt). Cross-check against CEX spot to detect oracle/spot divergence. 30s cache.","url":"https://x402-datashop-production.up.railway.app/v1/oracle/pyth","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"},"queryParams":{"type":"object","properties":{"symbols":{"type":"string","default":"btc,eth","description":"Comma-separated tickers (1-8), e.g. btc,eth,sol"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0HfB1czUmv4T_hRNmJgc6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Pyth Network oracle prices (aggregate price, confidence interval, EMA price, publish_time) for up to 8 crypto assets vs USD, with a 30-second cache.","exampleAgentPrompt":"Can you grab me the latest Pyth oracle prices for BTC, ETH, and SOL — including confidence intervals and EMA prices — so I can cross-check them against Binance spot?","exampleUseCases":null,"resultDescription":"A JSON object keyed by ticker symbol, each containing: aggregate price (USD), confidence interval (uncertainty band), EMA price, and publish_time timestamp — sourced from Pyth Network's Hermes API with a 30-second cache. Covers up to 8 assets per call from the supported list (btc, eth, sol, bnb, xrp, ada, avax, doge, link, dot, usdc, usdt).","failureModes":["Unsupported ticker symbol returns error or is silently omitted","More than 8 symbols requested exceeds limit","Stale data: 30-second cache means publish_time may lag real-time by up to 30s","Pyth Hermes API upstream outage causes downstream failure","Malformed symbols query parameter (e.g. spaces, uppercase) may return no results"],"whenToPreferThis":"Use this endpoint when you need Pyth Network oracle prices specifically (as used in DeFi protocols) rather than CEX spot prices — especially when detecting oracle/spot divergence, computing confidence intervals, or auditing on-chain price feed freshness. Prefer this over generic market data APIs when the Pyth EMA price or confidence band is required for DeFi risk assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T20:13:29.166Z","isFirstParty":false}