Get Price History
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
}
]
}
]Prices
Get Price History
Returns price history for one or more tokens.
POST
/
v1
/
solana
/
dex
/
prices
/
get-price-history
Get Price History
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.
Authorizations
Your Prism API key. You can get one for free in the Prism Dashboard.
Body
application/json
Token addresses to retrieve price history for. Accepts between 1 and 100 tokens per request.
Required array length:
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?
⌘I