Skip to main content
POST
Get Price

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[]

Token addresses to retrieve the latest prices for.

Required array length: 1 - 1000 elements
pools
string[]

Pool addresses to retrieve the latest prices for.

Required array length: 1 - 1000 elements

Response

List of token prices for the specified tokens.

token_address
string
pool_address
string
usd_price
number
block_slot
integer
block_time
string<date-time>