Get Price
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
]
}
'[
{
"token": "<string>",
"usd_price": 123,
"block_slot": 123,
"block_time": 123
}
]Prices
Get Price
Returns prices for one or more tokens.
POST
/
v1
/
solana
/
dex
/
prices
/
get-price
Get Price
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/prices/get-price \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"tokens": [
"Z4d9YXR4pSkdKcu9UBcwxHp7i32buzdDtAR1b1Gbonk"
]
}
'[
{
"token": "<string>",
"usd_price": 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 the latest prices for. Accepts between 1 and 1000 tokens per request.
Required array length:
1 - 1000 elementsWas this page helpful?
⌘I