Skip to main content
POST
/
v1
/
solana
/
dex
/
tokens
/
get-prices
Get Prices
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
  }
]

Authorizations

X-Api-Key
string
header
required

Your Prism API key. You can get one for free in the Prism Dashboard.

Body

application/json
tokens
string[]
required

List of token addresses to retrieve prices for.

Required array length: 1 - 1000 elements

Response

List of token prices for the specified tokens.

token
string
price
number
updated_at
integer<timestamp>