cURL
curl --request POST \ --url https://refract.prismapi.io/v1/solana/dex/tokens/get-prices \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "tokens": [ "<string>" ] } '
[ { "token": "<string>", "price": 123, "updated_at": 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.