Skip to main content
POST
Create Coin

Endpoint

Authentication

This endpoint requires JWT authentication. Include your token in the Authorization header.

Request Body

The request body should be sent as application/json with the following structure:
string
required
The name of the coin (e.g., “My Awesome Coin”)
string
required
The ticker symbol for the coin (e.g., “MAC”)
string
required
A description of the coin and its purpose
string
Twitter handle associated with the coin (optional)
string
Telegram link associated with the coin (optional)
string
Website URL associated with the coin (optional)
string
Base64 encoded image file for the coin’s logo (optional)
boolean
Whether to display the creator’s name publicly (default: true)

Response

string
The newly created Solana mint address for the coin
string
The URI pointing to the coin’s metadata JSON
string
The address of the bonding curve contract for this coin
string
The associated bonding curve token account
string
The transaction signature for the coin creation

Code Examples

Response Example

Important Notes

Before Creating a Coin:
  1. Ensure you have sufficient SOL in your wallet for transaction fees
  2. Verify all information is correct as coin metadata cannot be easily changed after creation
  3. Make sure your image meets the platform’s requirements (if uploading)
  4. 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
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