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
| Endpoint | Method & Path | What it returns |
|---|---|---|
| Pyth Price Feeds | GET /v4/oracle/pyth/pricefeeds | Available Pyth price feeds and their product accounts. |
| Pyth Price Candles | GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/candles | Open, high, low, and close prices for a Pyth price feed. |
| Pyth Price History | GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price-ts | Historical price snapshots with confidence intervals. |
| Pyth Product | GET /v4/oracle/pyth/products/{productAddress} | Product account details, asset type, and associated price feeds. |
| Pyth Current Price | GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price | Current 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.
| 🪙 Token Endpoints | 📜 Trades/Transfers Endpoints | 💱 Trading Endpoints |
| 👛 Wallet Endpoints | 🧰 Utility Endpoints | 📊 Market Endpoints |
| 🔮 Oracle (Pyth) Endpoints | 🧩 Program Endpoints | 📖 Reference Endpoints |