The API is currently in development and is not yet available for production use. Please check back later.
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price-candles \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"token": "Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk",
"interval": 60,
"from": "2026-04-27T00:00:00Z",
"to": "2026-04-27T01:00:00Z"
}
'[
{
"timestamp": 123,
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"volume": 123,
"count": 123
}
]Returns price candles for a specific token.
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price-candles \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"token": "Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk",
"interval": 60,
"from": "2026-04-27T00:00:00Z",
"to": "2026-04-27T01:00:00Z"
}
'[
{
"timestamp": 123,
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"volume": 123,
"count": 123
}
]Documentation Index
Fetch the complete documentation index at: https://docs.prismapi.io/llms.txt
Use this file to discover all available pages before exploring further.
Your Prism API key. You can get one for free in the Prism Dashboard.
Token address to retrieve price candles for.
Sampling interval between data points, in seconds.
Start of the candle range, as a date-time RFC3339 string.
Must be combined with to to define a bounded range.
End of the candle range, as a date-time RFC3339 string. Defaults to the current time.
Must be combined with either from (to define a bounded range) or count (to return the N most recent candles ending at to).
Number of candles to return, ending at to.
Must be combined with to.
Was this page helpful?