The API is currently in development and is not yet available for production use. Please check back later.
cURL
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": [ "<string>" ] } '
[ { "token": "<string>", "usd_price": 123, "block_slot": 123, "block_time": 123 } ]
Returns prices for one or more tokens.
Your Prism API key. You can get one for free in the Prism Dashboard.
List of token addresses to retrieve prices for.
1 - 1000
List of token prices for the specified tokens.
Token mint address.
Current token price.
Solana block slot number.
Timestamp of the block.
Was this page helpful?