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-stats \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
]
}
'[
{
"token": "<string>",
"usd_price": 123,
"usd_price_change_5m": 123,
"usd_price_change_1h": 123,
"usd_price_change_6h": 123,
"usd_price_change_12h": 123,
"usd_price_change_1d": 123,
"usd_price_change_7d": 123,
"usd_price_change_30d": 123,
"usd_volume_5m": 123,
"usd_volume_1h": 123,
"usd_volume_6h": 123,
"usd_volume_12h": 123,
"usd_volume_1d": 123,
"usd_volume_7d": 123,
"usd_volume_30d": 123,
"usd_volume_change_5m": 123,
"usd_volume_change_1h": 123,
"usd_volume_change_6h": 123,
"usd_volume_change_12h": 123,
"usd_volume_change_1d": 123,
"usd_volume_change_7d": 123,
"usd_volume_change_30d": 123,
"block_slot": 123,
"block_time": 123
}
]Returns price stats for one or more tokens.
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price-stats \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
]
}
'[
{
"token": "<string>",
"usd_price": 123,
"usd_price_change_5m": 123,
"usd_price_change_1h": 123,
"usd_price_change_6h": 123,
"usd_price_change_12h": 123,
"usd_price_change_1d": 123,
"usd_price_change_7d": 123,
"usd_price_change_30d": 123,
"usd_volume_5m": 123,
"usd_volume_1h": 123,
"usd_volume_6h": 123,
"usd_volume_12h": 123,
"usd_volume_1d": 123,
"usd_volume_7d": 123,
"usd_volume_30d": 123,
"usd_volume_change_5m": 123,
"usd_volume_change_1h": 123,
"usd_volume_change_6h": 123,
"usd_volume_change_12h": 123,
"usd_volume_change_1d": 123,
"usd_volume_change_7d": 123,
"usd_volume_change_30d": 123,
"block_slot": 123,
"block_time": 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 statistics for. Accepts between 1 and 1000 tokens per request.
1 - 1000 elementsList of price stats for the specified tokens.
Was this page helpful?