API Reference
Program every part of the platform — deploy coins, manage wallets, claim earnings, and drive the sniper and auto-deploy engines. JSON in, JSON out. 35 endpoints across 10 groups.
pumplaunch.io
Session cookie
JSON
100 / min
Authentication
Programmatic endpoints (marked API key, under /api/v1) authenticate with your personal API key — get it in your profile and send it as Authorization: Bearer <key>. In-app endpoints (marked Session) use the NextAuth session cookie. Public endpoints need no auth. Private keys are never returned by any endpoint except the PIN-gated export.
Example
curl https://pumplaunch.io/api/settings
Programmatic API (v1)
4Authenticated with your personal API key — grab it in your profile and send it as Authorization: Bearer <key> (or x-api-key). Actions run on your account's API wallet.
/api/v1/deployAPI keyLaunch a token from your API wallet.
Request body
{
"name": "My Token",
"symbol": "TKN",
"imageUrl": "https://.../logo.png",
"buyAmount": 0.1
}Response 200
{
"success": true,
"mint": "6ybz...pump",
"signature": "...",
"pumpFunUrl": "https://pump.fun/coin/...",
"solscanUrl": "https://solscan.io/token/..."
}/api/v1/buyAPI keyBuy a token on the bonding curve.
Request body
{ "mint": "...", "amountSol": 0.1, "slippageBps": 1500 }Response 200
{ "success": true, "signature": "...", "solscanUrl": "https://solscan.io/tx/..." }/api/v1/sellAPI keySell a percentage of your holding (1–100, default 100).
Request body
{ "mint": "...", "percent": 100, "slippageBps": 1500 }Response 200
{ "success": true, "signature": "...", "percent": 100, "solscanUrl": "https://solscan.io/tx/..." }/api/v1/watchAPI keyRecent tweets (≤24h) from your watched accounts + platform defaults.
Request body
{ "accounts": ["elonmusk", "pumpdotfun"] }Response 200
{ "tweets": [ ... ], "accounts": [ ... ] }Deploy
1Launch a token to pump.fun from an account wallet. Signing happens server-side — private keys never leave the server.
/api/wallets/deploySessionCreate and launch a coin. Supports bundle or sniper mode, dev buy, extra buyer wallets, Mayhem, cashback, charity, auto-sell, multi-deploy, and vanity mints.
Request body
{
"walletId": "wlt_abc123",
"name": "My Token",
"symbol": "TKN",
"description": "Launched on Pumplaunch.io",
"imageUrl": "https://.../logo.png",
"buyAmount": 0.1,
"launchMode": "bundle",
"mayhemMode": false,
"cashback": false,
"buyers": [{ "walletId": "wlt_x", "amountSol": 0.05 }],
"autoSell": { "enabled": true, "delaySeconds": 300, "percent": 100 }
}Response 200
{
"success": true,
"mint": "6ybz...pump",
"signature": "5Nq8...",
"mode": "bundle",
"feeCharged": true,
"pumpFunUrl": "https://pump.fun/coin/6ybz...pump",
"solscanUrl": "https://solscan.io/token/6ybz...pump"
}Wallets
10Account-bound custodial wallets. Keys are AES-encrypted at rest and returned only through the PIN-gated export.
/api/walletsSessionList the account's wallets. Keys are never returned.
Response 200
{ "wallets": [
{ "id": "wlt_abc123", "address": "9xQ...", "name": "Dev", "createdAt": 1737600000000 }
] }/api/walletsSessionCreate a new wallet, encrypted and stored on the account.
Request body
{ "name": "Sniper 1" }Response 200
{ "wallet": { "id": "wlt_new", "address": "3aF...", "name": "Sniper 1" } }/api/wallets/{id}SessionRename a wallet.
Request body
{ "name": "Treasury" }Response 200
{ "success": true }/api/wallets/{id}SessionRemove a wallet from the account. Export the key first if you still need it.
Response 200
{ "success": true }/api/wallets/importSessionImport an existing base58 private key (encrypted server-side).
Request body
{ "name": "Imported", "privateKey": "base58..." }Response 200
{ "wallet": { "id": "wlt_i", "address": "7kL...", "name": "Imported" } }/api/wallets/exportSessionExport a wallet's private key. Requires the account export PIN.
Request body
{ "id": "wlt_abc123", "pin": "your-pin" }Response 200
{ "privateKey": "base58..." }/api/wallets/pinSessionWhether an export PIN is set. POST { pin } to set it, DELETE to clear.
Response 200
{ "hasPin": true }/api/wallets/distributeSessionFund several wallets from one source wallet.
Request body
{
"fromWalletId": "wlt_hub",
"targets": [{ "walletId": "wlt_x", "amountSol": 0.1 }]
}Response 200
{ "results": [{ "walletId": "wlt_x", "ok": true, "signature": "..." }] }/api/wallets/consolidateSessionSweep the balance of several wallets into one (minus a small fee reserve).
Request body
{ "toWalletId": "wlt_hub", "fromWalletIds": ["wlt_x", "wlt_y"] }Response 200
{ "results": [{ "walletId": "wlt_x", "ok": true, "sweptSol": 0.42 }] }/api/wallets/holdingsSessionToken-2022 balances held by a wallet, enriched with pump.fun name/symbol/image.
Query
?walletId=wlt_abc123Response 200
{ "walletId": "wlt_abc123", "address": "9xQ...", "holdings": [
{ "mint": "...", "uiAmount": 1200000, "name": "My Token", "symbol": "TKN" }
] }Earnings
3Read and claim creator fees and trading cashback accrued by your wallets. Claims are signed server-side.
/api/wallets/earningsSessionClaimable creator fees and cashback (SOL) per wallet on the account.
Response 200
{ "earnings": [
{ "walletId": "wlt_abc123", "creatorFeesSol": 0.184, "cashbackSol": 0.021 }
] }/api/wallets/claim-feesSessionSweep accrued creator fees to the wallet.
Request body
{ "walletId": "wlt_abc123" }Response 200
{ "success": true, "signature": "...", "solscanUrl": "https://solscan.io/tx/..." }/api/wallets/claim-cashbackSessionClaim accrued trading cashback to the wallet.
Request body
{ "walletId": "wlt_abc123" }Response 200
{ "success": true, "signature": "...", "solscanUrl": "https://solscan.io/tx/..." }Trading
2Sell holdings and inspect scheduled auto-sells.
/api/wallets/sellSessionSell a percentage of a wallet's holding of a mint (1–100; 100 sells all).
Request body
{ "walletId": "wlt_abc123", "mint": "...", "percent": 50, "slippageBps": 1500 }Response 200
{ "success": true, "signature": "...", "percent": 50, "solscanUrl": "https://solscan.io/tx/..." }/api/wallets/auto-sellsSessionPending auto-sell jobs for the account.
Response 200
{ "jobs": [{ "mint": "...", "sellAt": 1737600300000, "percent": 100 }] }Automation
8Server-side engines that buy or deploy on their own. Sniper watches for mints and keywords; Auto-deploy launches when a watched account tweets a match.
/api/sniperSessionList sniper tasks with live status.
Response 200
{ "tasks": [{ "id": "tsk_1", "type": "keyword", "keyword": "doge", "active": true, "status": "armed" }] }/api/sniperSessionArm a sniper task — snipe a mint, or auto-buy new coins matching a keyword.
Request body
{
"walletId": "wlt_abc123",
"type": "keyword",
"keyword": "doge",
"amountSol": 0.1,
"maxBuys": 3,
"slippageBps": 1500
}Response 200
{ "task": { "id": "tsk_1", "active": true, "status": "armed" } }/api/sniper/{id}SessionPause or resume a task.
Request body
{ "active": false }Response 200
{ "success": true }/api/sniper/{id}SessionDelete a sniper task.
Response 200
{ "success": true }/api/automationsSessionList auto-deploy automations with live status.
Response 200
{ "automations": [{ "id": "aut_1", "keywords": ["moon"], "active": true, "deploysDone": 0 }] }/api/automationsSessionArm an auto-deploy automation from watched accounts + trigger keywords.
Request body
{
"walletId": "wlt_abc123",
"accounts": ["elonmusk"],
"keywords": ["doge", "moon"],
"buyAmountSol": 0.05,
"launchMode": "bundle",
"maxDeploys": 1
}Response 200
{ "automation": { "id": "aut_1", "active": true } }/api/automations/{id}SessionPause or resume an automation.
Request body
{ "active": false }Response 200
{ "success": true }/api/automations/{id}SessionDelete an automation.
Response 200
{ "success": true }Watch & Tweets
3The realtime tweet feed and Twitter lookups that power the terminal and automations.
/api/watch/feedPublicRecent tweets from the default accounts plus your own, newest first, with media.
Query
?accounts=elonmusk,pumpdotfunResponse 200
{ "tweets": [...], "accounts": ["elonmusk", "pumpdotfun"], "source": "syndication" }/api/watch/accountsPublicDefault watched accounts and trigger keywords.
Response 200
{ "accounts": ["pumpdotfun"], "keywords": ["launch"] }/api/tweets/searchPublicSearch tweets (q), a user's tweets (username), or one tweet (tweetId).
Query
?q=memecoinResponse 200
{ "tweets": [
{ "id": "...", "text": "...", "authorUsername": "...", "likeCount": 100, "url": "..." }
] }Token library
1A continuously-scraped index of pump.fun tokens, searchable by word or matched against a tweet.
/api/libraryPublicTop tokens by market cap; add ?q=word to search or ?match=text to word-match a tweet.
Query
?q=dogeResponse 200
{ "tokens": [{ "mint": "...", "name": "Doge", "symbol": "DOGE", "image": "..." }] }AI
2Generate token metadata and images from a tweet. Uses the operator's configured model key.
/api/generatePublicDerive a name, symbol, description, and image prompt from a tweet.
Request body
{ "tweet": { "text": "...", "authorName": "...", "authorUsername": "..." } }Response 200
{ "metadata": { "name": "...", "symbol": "...", "description": "...", "imagePrompt": "..." } }/api/generate-imageSessionGenerate a token logo. Returns a base64 data URL.
Request body
{ "prompt": "a shiba astronaut" }Response 200
{ "image": "data:image/png;base64,..." }System
1Public configuration status. No secrets are ever returned.
/api/settingsPublicOperator RPC and whether AI / Twitter integrations are configured.
Response 200
{ "solanaRpc": "https://...", "hasTwitter": true, "hasOpenAI": false }Errors
Failures return the matching HTTP status and a JSON body with a single error string. Messages are safe to surface to users.
{ "error": "walletId is required" }200Success.400Invalid or missing parameters.401Not signed in — a valid session is required.404Resource (e.g. wallet) not found.500Unexpected server or on-chain error.