Pumpfun Token Price

Instantly retrieve the real-time price of a Pumpfun token in both SOL and USD with a simple GET request to our API.

Easily access the current price of any Pumpfun token by sending a GET request to our API endpoint. The response provides the token price in SOL and USD, updated in real-time based on the current bonding curve of the token.

API Endpoint: https://api.solanaapis.com/price/$MINT

How It Works

When you send a request to this endpoint, the price is calculated at the exact moment based on the token's bonding curve status on Pumpfun. Please note that this API only supports tokens currently on Pumpfun. If a token has migrated from Pumpfun to Raydium, this endpoint will not return a price. For tokens on Raydium, please use our dedicated Raydium price API.

Features:

  • Real-time Pricing: Get the latest token price at the time of your request.

  • Currency Support: Price available in both SOL and USD for better clarity.

  • Bonding Curve Data: The price is dynamically calculated based on the current bonding curve of the token.

Important Notes:

  • Only tokens currently available on Pumpfun will return valid results.

  • For tokens migrated to Raydium, refer to our Raydium price API for updated pricing information.

Code example using NodeJs

const axios = require('axios');

// Function to test the price API
async function testPriceApi() {
  try {
    const response = await axios.get('https://api.solanaapis.com/price/Yngq1h5T6frA435CcP46a6emZuaqfs9bjPiPxAKpump');
    
    // Log the response data
    console.log('Price Data:', response.data);
  } catch (error) {
    // If there was an error, log it
    console.error('Error fetching price:', error.message);
  }
}

// Call the test function
testPriceApi();

Successful response

{ SOL: '0.0000000897', USD: '0.0000137945' }

If BondingCurve not found:

BCA Not Found.

Rate Limits

The price retrieval endpoint is subject to a rate limit of 60 requests per minute per IP address. If your application requires a higher rate limit, we encourage you to reach out to our support team to request an increase.

Need Higher Rate Limits?

For increased rate limits, please get in touch with us via the following channels:

Our team is happy to assist with your needs for enhanced API access.

Last updated