{"uid":"cap_JwXaOKPgIn7tNSbLEB-TG","slug":"pyth-price-feed-lookup-via-agent402-tools-fabdb08e","name":"Pyth Price Feed Lookup via agent402.tools","description":"Latest aggregated price for one or more Pyth feeds, sourced live from Pyth's Hermes service. Use when you need an ORACLE-grade price with a published confidence interval (cross-checking an exchange feed, settling onchain logic); for a plain fiat quote crypto-price is simpler and cheaper. Identify feeds by hex feed-id (preferred - full precision) or by a small set of well-known aliases (BTCUSD, ETHUSD, SOLUSD, USDC, USDT).","url":"https://agent402.tools/api/price-pyth","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ids":{"type":"array","description":"Pyth feed IDs (hex, with or without 0x) or known aliases (BTCUSD, ETHUSD, SOLUSD, USDC, USDT). 1-20 entries."}}},"responseSchema":{"type":"json","example":{"count":2,"feeds":[{"id":"e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43","conf":18.5,"alias":"BTCUSD","price":67000.12,"publishTime":"2026-06-22T17:30:00Z"},{"id":"ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace","conf":1.2,"alias":"ETHUSD","price":3500.05,"publishTime":"2026-06-22T17:30:00Z"}]}},"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_VoNScRQmnzVat8ITuO7XK","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 the latest aggregated cryptocurrency/asset prices from Pyth Network's Hermes service for one or more feed IDs or well-known aliases","exampleAgentPrompt":"What are the current live prices for Bitcoin, Ethereum, and Solana right now? Pull them from the Pyth price feeds.","exampleUseCases":null,"resultDescription":"Returns the latest aggregated price data for each requested feed, including price value, confidence interval, exponent, and timestamp, sourced live from Pyth's Hermes service. Each feed is identified by its hex feed ID and/or alias.","failureModes":["Invalid or unrecognized feed ID returns an error or empty result","Alias not in supported set (only BTCUSD, ETHUSD, SOLUSD, USDC, USDT supported) returns an error","More than 20 feed IDs in a single request may be rejected","Pyth Hermes service unavailability causes upstream errors","Payment failure (x402) results in 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when you need real-time, oracle-grade cryptocurrency or asset prices from the Pyth Network specifically, especially when building DeFi applications, on-chain price checks, or when you need Pyth feed IDs with full precision. Prefer this over generic market data APIs when Pyth feed compatibility or confidence intervals are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:45:01.189Z","isFirstParty":false}