PYTH PRICE FEEDSReal-time data fromfinancial institutions
The fastest and most reliable data powering more transactions than any other oracle. Permissionless integration on every blockchain.
AVAILABLE EVERYWHEREThe market data you need, right where you need it
Access 600+ price feeds across every major chain. Pyth data furthers your product’s reach and accessibility without limitations.
SECURE & RELIABLEProtect your users from bad experiences
All data is secured through economic protection and transparent aggregation so you don’t have to worry about inaccurate data.
SIMPLE & EASYPermissionless integration designed for your specific needs
import "@pythnetwork/pyth-sdk-solidity/IPyth.sol";
import "@pythnetwork/pyth-sdk-solidity/PythStructs.sol";
contract ExampleContract {
IPyth pyth;
constructor(address pythContract) {
pyth = IPyth(pythContract);
}
function getBtcUsdPrice(
bytes[] calldata priceUpdateData
) public payable returns (PythStructs.Price memory) {
uint fee = pyth.getUpdateFee(priceUpdateData);
pyth.updatePriceFeeds{value: fee}(priceUpdateData);
bytes32 priceID = 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b;
return pyth.getPrice(priceID);
}
}
Pull prices only when you need them, or schedule regular updates directly to your chain. Integrate in less than 10 minutes with 3 lines of code.
LIGHTSPEED DATAExperience the lowest latency data in DeFi
Pyth Lazer, a specialized version of Pyth Price Feeds, prioritizes speed and precision to enable 1ms price update frequency on EVM and SVM environments.
Update frequencies as low as 1ms
A few milliseconds make all the difference. Wield the power of price update frequencies as fast as every 1ms. If this is too fast, you can also choose pre-set and custom frequency channels.
Deep market data
Designed to provide the market data traders need—bid-ask prices, market-depth, custom averaging techniques.
Efficient on-chain
Engineered to minimize compute costs while maximizing performance. Tap into highly efficient price updates for EVM, Solana, and more.
FIRST-PARTY DATAGet your data straight from the source
Gain a competitive advantage by tapping directly into market data from the largest financial institutions in the world. Pyth levels the playing field so dApps can compete with apps.
Get started with Price Feeds
Reliable, low-latency, high-fidelity prices at your fingertips. Gain the edge you deserve.