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-history \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
],
"from": "2026-04-27T00:00:00Z",
"to": "2026-04-27T01:00:00Z",
"interval": 3600
}
'[
{
"token": "<string>",
"prices": [
{
"timestamp": 123,
"usd_price": 123,
"usd_volume": 123
}
]
}
]Returns price history for one or more tokens.
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price-history \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
],
"from": "2026-04-27T00:00:00Z",
"to": "2026-04-27T01:00:00Z",
"interval": 3600
}
'[
{
"token": "<string>",
"prices": [
{
"timestamp": 123,
"usd_price": 123,
"usd_volume": 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 addresses to retrieve price history for. Accepts between 1 and 100 tokens per request.
1 - 100 elementsStart of the history range, as a date-time RFC3339 string.
Sampling interval between data points, in seconds.
End of the history range, as a date-time RFC3339 string. Defaults to the current time.
Was this page helpful?