DEPRECATEDThis version of the Price API V2 will be/is deprecated by 30th September 2025.Please migrate to Price API V3 which consists of breaking changes.
Let’s Get Started
In this guide, we will be going through the simple price responses and the extra help information.Get Price (Only Price)
Using the root URL and parameters to pass in, it is as simple as the example code below! Notice theids
parameter with the public key or token address of a token mint, you can also input more than 1 address by comma-separating them.
Price vs USDC by default
Price vsToken
- Usage of
vsToken
: The first set of data shows price denoted in USDC while the second set of data denotes in the price of SOL. - With no
showExtraInfo
: There is only 1 price, the derived price is the buy price.
Get Price (with Extra Info)
To get extra help information such as confidence level or depth, you will need to pass inshowExtraInfo=true
. However, do note that if this is set to true
, you will not be able to apply vsToken
.
- You can see both last swap and current quote prices.
- You can see both buy and sell prices of the different types.
- You can see the unix timestamps.
- You can see the confidence and depth information.
Limitations
Query limits- You can query up to 100
id
s at once.
- The token is not tradable on Jupiter - it does not fit Jupiter’s routing criteria.
- There is no route for this token to SOL.
sellPrice
,sellAt
&lastSwappedPrice
might be null in cases- If
sellPrice
&sellAt
is not cached and cannot be retrieved the provided information will bebuyPrice
. lastSwappedPrice
might be null if the token has not been traded recently or cannot be retrieved.- Tokens that have not been traded via USDC in the last 3 days.
- Note that this is only for swaps done via Jupiter, it will not be done for swaps done e.g. directly on Raydium’s platform
buyPriceImpactRatio
& sellPriceImpactRatio
in the depth field might be null in cases
- We are to get the respective price impacts for the 10, 100 and 1000 SOL buys or sells
- It could be because the token’s liquidity does not have enough liquidity for larger values
- We cannot find the sell quote for the respective token and the buy/sell values