|
| 1 | +# Price Feeds |
| 2 | + |
| 3 | +Pyth Price Feeds provide real-time, first-party, market data for a wide range of assets. |
| 4 | + |
| 5 | +Every price feed has a **unique ID**, representing the specific pair of assets being priced. |
| 6 | +These specific pairs are part of an asset class, which is a broader category of assets. |
| 7 | + |
| 8 | +Anyone can fetch available price feeds and their IDs via [Hermes API](https://hermes.pyth.network/docs/#/rest/price_feeds_metadata). |
| 9 | + |
| 10 | +## Asset Classes |
| 11 | + |
| 12 | +At the time of writing, Pyth price feeds are available for the following asset classes: |
| 13 | + |
| 14 | +- **Crypto** |
| 15 | + - **Spot Prices**: Real-time prices for cryptocurrencies and digital assets |
| 16 | + - **Redemption Rates**: Real-time swap rates derived from smart contracts for the redemption of liquid staking and liquid restaking tokens (LSTs and LRTs), liquidity provider tokens (LP Tokens) and interest-bearing assets, including tokenised notes |
| 17 | + - **Indices**: Real-time prices that measure the performance of baskets of cryptocurrencies and digital assets |
| 18 | +- **US Equities** |
| 19 | + - **Spot Prices**: Real-time prices for US equities |
| 20 | +- **FX** |
| 21 | + - **Spot Prices**: Real-time prices for fiat currency pairs |
| 22 | +- **Metals** |
| 23 | + - **Spot Prices**: Real-time prices for precious metals |
| 24 | +- **Rates** |
| 25 | + - **Future Prices**: Real-time prices for fixed income products, including bond futures |
| 26 | +- **Commodities** |
| 27 | + - **Futures Prices**: Real-time prices for commodity futures |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +## Price Feed IDs |
| 34 | + |
| 35 | +Price Feed IDs are unique identifiers for each specific pair of assets being priced (e.g. BTC/USD). |
| 36 | +Every price update is tagged with the corresponding price feed ID. |
| 37 | + |
| 38 | +Applications need to store the IDs of the feeds they wish to read. |
| 39 | +However, the IDs may be represented in different formats (e.g. hex or base58) depending on the blockchain. |
| 40 | +Price feeds also have different IDs in the Stable and Beta channels. |
| 41 | + |
| 42 | +Refer to the [Price Feed ID reference catalog](./price-feed-ids/index.md) to identify a feed's ID in your chosen ecosystem. |
| 43 | + |
| 44 | +### Solana Price Feed Accounts |
| 45 | + |
| 46 | +On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data. |
| 47 | +The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number. |
| 48 | +See [How to Use Real-Time Data on Solana](./use-real-time-data/solana#price-feed-accounts) for more information on price feed accounts. |
0 commit comments