Get Quote
Get a price quote by providing the specified tokens information through Pump.fun.
Request
Be aware that this endpoint is using a dedicated URL.
Method:
GET ./api/v2/pumpfun/quotes
Parameters:
Parameter
Type
Description
quoteType
string
Type of the quote. Potential value could be "BUY"
or "SELL"
mintAddress
string
Token mint address.
bondingCurveAddress
string
Bonding Curve program address.
amount
double
The amount of SOL users expected to spend.
Request example:
Response:
Fields:
Field
Type
Description
result
resultMessage
See resultMessage
below for details
resultMessage
Parameter
Description
quoteType
string
Type of the quote.
inTokenAddress
string
InToken address .
inAmount
double
Amount of the InToken.
outTokenAddress
string
OutToken address.
outAmount
double
Amount of the OutToken.
Example:
Last updated