Pyth Price History

Solana API endpoint for fetching Pyth oracle price time series data on Solana. Get historical price snapshots with confidence intervals for any Pyth price feed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Fetch historical Pyth oracle price time series data on Solana using this API endpoint. Retrieve price snapshots with confidence intervals for any price feed, with flexible time resolutions, pagination, and time range filters.

Ideal for building trading models, backtesting strategies, and analytics using reliable oracle-based price data. Returns historical price data from a Pyth oracle feed.

Replaces: GET /price/{priceFeedId}/pyth-price-ts

Path Params
string
required

The public key identifying the Pyth price feed account

Query Params
string | null

Resolution of the data. Possible values: 1h, 1d, 1w, 1m, 1y, or a string parseable to seconds

int64 | null
≥ 0

Start time of the data to return (unix timestamp)

int64 | null
≥ 0

End time of the data to return (unix timestamp)

int32 | null
≥ 0

Limit of the number of records to return

int32 | null
≥ 0

Pagination offset

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json