Pyth Price Candles

Solana API endpoint for fetching historical OHLC data from Pyth oracle price feeds. Get open, high, low, close prices for any Pyth price feed account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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

boolean

Eliminate gaps between candles by using previous close as next open. Default is true.

Responses

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