Endpoint
POST https://frontend-api-v3.pump.fun/coins/create
Authentication
This endpoint requires JWT authentication. Include your token in the Authorization header.
Authorization: Bearer <your_token>
Request Body
The request body should be sent as application/json with the following structure:
The name of the coin (e.g., “My Awesome Coin”)
The ticker symbol for the coin (e.g., “MAC”)
A description of the coin and its purpose
Twitter handle associated with the coin (optional)
Telegram link associated with the coin (optional)
Website URL associated with the coin (optional)
Base64 encoded image file for the coin’s logo (optional)
Whether to display the creator’s name publicly (default: true)
Response
The newly created Solana mint address for the coin
The URI pointing to the coin’s metadata JSON
The address of the bonding curve contract for this coin
The associated bonding curve token account
The transaction signature for the coin creation
Code Examples
curl -X POST "https://frontend-api-v3.pump.fun/coins/create" \
-H "Authorization: Bearer <your_token>" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"name": "My Awesome Coin",
"symbol": "MAC",
"description": "A revolutionary new token on Pump.fun",
"twitter": "@myawesomecoin",
"telegram": "https://t.me/myawesomecoin",
"website": "https://myawesomecoin.com",
"showName": true
}'
Response Example
{
"mint": "7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr",
"metadata_uri": "https://cf-ipfs.com/ipfs/QmXxX...",
"bonding_curve": "8mRW9kPq3LnY5tHgF2vX9cB7wU6rS4jK3mN8oP1qR2s",
"associated_bonding_curve": "9nXY8lMp4KoH6sGfD3wA0dC9xV7tU5kL4nO9qS2rT3u",
"signature": "5wZ8..."
}
Important Notes
Before Creating a Coin:
- Ensure you have sufficient SOL in your wallet for transaction fees
- Verify all information is correct as coin metadata cannot be easily changed after creation
- Make sure your image meets the platform’s requirements (if uploading)
- Review Pump.fun’s terms of service and content guidelines
Image Requirements
If including a file parameter:
- Image must be base64 encoded
- Supported formats: PNG, JPG, GIF
- Recommended size: 512x512 pixels or larger
- Maximum file size: 2MB
Social Links
When providing social media links:
- Twitter: Use format
@username or https://twitter.com/username
- Telegram: Use full URL
https://t.me/groupname
- Website: Must be a valid HTTPS URL
Bonding Curve
When you create a coin:
- It automatically creates a bonding curve for price discovery
- Initial liquidity is managed by the bonding curve
- The coin “graduates” to Raydium when the bonding curve completes
Additional Resources