API Explorer
RapidAPI Subscription Required
To use this API, you need to subscribe to the PumpFun API on RapidAPI. Once subscribed, you'll receive an API key to use here.
RapidAPI Key
Enter your RapidAPI key to test the endpoints
Code Snippet Generator
Generate ready-made code snippets for common operations
const axios = require('axios');
const options = {
method: 'POST',
url: 'https://solanapumpfunapi.p.rapidapi.com/buy',
headers: {
'X-RapidAPI-Key': 'YOUR_RAPIDAPI_KEY',
'X-RapidAPI-Host': 'solanapumpfunapi.p.rapidapi.com'
}
};
try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}