API Reference
Explore interactive Pyth API references for on-chain and off-chain integrations
The API reference is a comprehensive guide to the various APIs -- both on- and off-chain -- that developers can use in their applications. Developers can consult this reference to better understand what methods exist and what they do. The API reference is interactive, so developers can try out the APIs from the website to better understand their behavior.
Pyth Core upgrades on July 31, 2026
- We recommend new integrations use the upgraded contract addresses.
- Existing integrations using the current addresses will be automatically upgraded by the DAO on July 31, 2026. See the upgrade guide for details.
The following on-chain contracts are documented in the API reference:
Hermes also has interactive API documentation hosted by the service itself: