Get Price Stats
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
}
]Prices
Get Price Stats
Returns price stats for one or more tokens.
POST
/
v1
/
solana
/
dex
/
prices
/
get-price-stats
Get Price Stats
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.
Authorizations
Your Prism API key. You can get one for free in the Prism Dashboard.
Body
application/json
Token addresses to retrieve price statistics for. Accepts between 1 and 1000 tokens per request.
Required array length:
1 - 1000 elementsResponse
List of price stats for the specified tokens.
Was this page helpful?
⌘I