Oracle (Pyth) Endpoints

Solana Pyth oracle endpoints for price feed discovery, the current price, historical snapshots, OHLC candles, and product metadata for any Pyth account.

Discover Pyth price feeds on Solana, then read the current price, a time series, or OHLC candles for a feed. A product lookup returns the asset type and the price accounts tied to that Pyth product.

Endpoints

EndpointMethod & PathWhat it returns
Pyth Price FeedsGET /v4/oracle/pyth/pricefeedsAvailable Pyth price feeds and their product accounts.
Pyth Price CandlesGET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/candlesOpen, high, low, and close prices for a Pyth price feed.
Pyth Price HistoryGET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price-tsHistorical price snapshots with confidence intervals.
Pyth ProductGET /v4/oracle/pyth/products/{productAddress}Product account details, asset type, and associated price feeds.
Pyth Current PriceGET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/priceCurrent price, confidence interval, and EMAP.

Other Endpoint Categories

You are on Oracle (Pyth) Endpoints. This table lists the other Solana API reference groups, including tokens, trades, wallets, markets, swaps, programs, and reference data.