Price Feeds

The Price of Everything.

Everywhere.

Pure market data sourced directly from the best institutions and traders in the world.

first-party data

Pure market data

Straight from the source

Over 120 financial institutions—including some of the world’s biggest exchanges, market makers, and trading firms—publish their data directly to the network.

Over 120 financial institutions—including some of the world’s biggest exchanges, market makers, and trading firms—publish their data directly to the network.

Over 120 financial institutions—including some of the world’s biggest exchanges, market makers, and trading firms—publish their data directly to the network.

Publishers

128+

Publishers

128+

Publishers

128+

success stories

Trusted by institutions Used by everyone

See how real people use Pyth to build faster, fairer, and more competitive markets—so everyone gets the true price.

Success stories

Testimonials

developers

Simple integration at your fingertips

Integrating takes just a few lines of code and less than 10 minutes.

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 getEthUsdPrice(
        bytes[] calldata priceUpdateData
    ) public payable returns (PythStructs.Price memory) {
        uint fee = pyth.getUpdateFee(priceUpdateData);
        pyth.updatePriceFeeds{value: fee}(priceUpdateData);

        bytes32 priceID = 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace; // ETH/USD
        return pyth.getPrice(priceID);
    }
}
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 getEthUsdPrice(
        bytes[] calldata priceUpdateData
    ) public payable returns (PythStructs.Price memory) {
        uint fee = pyth.getUpdateFee(priceUpdateData);
        pyth.updatePriceFeeds{value: fee}(priceUpdateData);

        bytes32 priceID = 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace; // ETH/USD
        return pyth.getPrice(priceID);
    }
}
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 getEthUsdPrice(
        bytes[] calldata priceUpdateData
    ) public payable returns (PythStructs.Price memory) {
        uint fee = pyth.getUpdateFee(priceUpdateData);
        pyth.updatePriceFeeds{value: fee}(priceUpdateData);

        bytes32 priceID = 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace; // ETH/USD
        return pyth.getPrice(priceID);
    }
}

Built with PYTH

Built with PYTH