Skip to main content
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

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

Token addresses to retrieve the latest prices for. Accepts between 1 and 1000 tokens per request.

Required array length: 1 - 1000 elements

Response

List of token prices for the specified tokens.

token
string
usd_price
number
block_slot
integer
block_time
integer