A non-custodial backend for launching coins on pump.fun, trading them, and reading the registry of what it has launched. Every write returns an unsigned transaction for a wallet to sign — the API never holds funds or keys.
The /v1 endpoints are currently closed to every domain — not just yours. Access is granted per-origin, and enabling it is a configuration change the operator makes, not an application you have to qualify for.
To request it, send the operator the exact origins your site will call from — production, staging and any preview domains — as full origins including the scheme, for example https://example.com and https://www.example.com. Wildcards matching one DNS label are supported for preview hosts.
A server-side caller that sends no browser Origin needs a project key instead: ask for one and give the operator the source IP it will call from.
Everything in this catalogue stays readable meanwhile, so an integration can be written and reviewed before access is turned on.
Contact qoq.qoqovich@gmail.com
Endpoints chain into these flows. Every write is a multi-step handshake, so start here rather than with the endpoint list.
The creator wants a new pump.fun coin with a dev buy.
The wallet exposes signAndSendTransaction but not signTransaction, so it cannot hand back signed bytes.
The launchpad hands the creator’s dev buy to a custodian, so the creator never holds it.
The coin should also have a 1-of-1 NFT of itself.
Trading a coin launched through this API, on the bonding curve or after graduation.
Moving tokens or SOL the wallet already holds, or collecting creator fees.
Listing or displaying coins. No signing involved.
Each of these has been made against this API by a real caller, and none is diagnosable from the message alone. The error text is quoted exactly, so you can match it against the one you have.
Request body size did not match Content-LengthCause. A FormData body sent with `content-type: application/json`, usually by a shared fetch wrapper that sets JSON headers on every request. The launch endpoints are multipart, so the body is routed to the wrong parser.
Fix. Do not set content-type when the body is FormData — the browser must set it, because only it knows the multipart boundary it generated. Setting `multipart/form-data` by hand is also wrong: it omits the boundary. Branch on whether the body is a FormData instance rather than listing paths, because every other endpoint does take JSON.
creator is not a valid Solana addressCause. The field holds a non-empty string that is not base58. Every one of these produces it: an address shortened for display ("AUHB…xdTA"), a wallet object stringified to "[object Object]", the literal "undefined" or "null", or an address with surrounding whitespace.
Fix. Send `wallet.publicKey.toBase58()` raw — unformatted, untrimmed, not the value you render in the UI.
signedTransaction is not a valid serialized transactionCause. The signed transaction encoded as anything other than base64. Base58 is the usual one, because that is the habit from signatures; hex, a JSON-stringified byte array, a comma-joined array, the signature string, and the message without the transaction all fail the same way.
Fix. Send `Buffer.from(signed.serialize()).toString("base64")`, or in a browser without Buffer, `btoa(String.fromCharCode(...signed.serialize()))`. Note that `/v1/tx/submit` and `/v1/launch/submit` do take JSON — only the prepare endpoints are multipart.
FORBIDDEN — This API serves approved sites only (on every single call)Cause. Either the origin was never registered, or the frontend is hosted on the API’s own domain. Browsers send no Origin header on same-origin requests, and the gate refuses anything without a recognised one.
Fix. Host the site on its own hostname and have the operator register that origin. When testing with curl, omit `-H "Origin: …"` — passing it by hand is not what a browser does and hides this entirely.
VERIFY_FAILED — the wallet altered the transactionCause. Something changed the transaction between prepare and submit. The API compares the returned bytes against what it built and allows only ComputeBudget and Lighthouse guard instructions to be added.
Fix. Sign the transaction exactly as returned. Do not rebuild it, re-sign the message, change the fee payer, or add instructions. Do not retry blindly on this error — report it.
Custom: 6400 from L2TExMFKdjpN9kozasaurPirfHy9P8sbXoAN1qA3S95, on a Genesis NFTCause. The NFT was signed before the coin landed. A wallet appends its own balance assertion computed when it signs; the launch then spends SOL, so the assertion no longer holds and reverts the mint.
Fix. Ignore the `nftTransaction` that `prepare-and-mint` returns. Submit the coin, poll until it is confirmed, then call `/v1/launch/:launchId/nft/prepare` and sign the transaction that gives you, in a second prompt.
BLOCKHASH_EXPIRED (410)Cause. More than about 60 seconds passed between preparing and submitting, which is easy to exceed while a user reads a wallet prompt.
Fix. For a launch, POST `/v1/launch/:launchId/refresh`, have the wallet sign the new transaction, and submit that. For a trade, build it again. Do not resubmit the old bytes.
The coin list renders empty although /v1/tokens returns 200 with the coin in itCause. The list endpoint returns an object, not an array. Calling .map on the response itself yields nothing, silently. The single-coin endpoint does return a bare record, which is why a coin page can work while the list stays empty.
Fix. Destructure it: `const { items, nextCursor } = await res.json()`, then map over `items`. Page by passing `nextCursor` back as `?cursor=` until it is null.
VALIDATION on a field you did send, in a multipart requestCause. The file part came before it. The parser only exposes fields that precede the file, so anything after `image` is invisible.
Fix. Append the image last, after every text field.
VALIDATION — must be a positive integer stringCause. An amount sent as a JSON number. Lamports and token base units exceed 2^53, so a number would silently lose precision.
Fix. Send amounts as strings and parse them with BigInt, never Number.
Configure a client and check whether launching is currently possible.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET /v1/health |
Liveness, network, and whether launches are available. returns { ok, network, project, mintPoolFree, launchesAvailable, lookupTables } |
origin | — |
GET /v1/config |
Everything a client needs to configure itself. Fetch once at start-up. returns { network, project, apiBaseUrl, programs, pump, limits, publicEndpoints, features, explorer } |
origin | — |
GET /v1/stats |
Counts of what this project has launched. No market numbers on purpose. returns { coins, coinsLast24h, genesisMinted, creators, lastLaunchAt } |
origin | — |
A free, gas-less proof of wallet ownership. Required before launching; never for trading or transfers.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
POST /v1/auth/challenge |
Issue a text message for the wallet to sign. Valid 5 minutes. takes { wallet }returns { message, expiresAt } |
origin | 30/min |
POST /v1/auth/verify |
Exchange the signed message for a 24 h session token. takes { wallet, message, signature }returns { token, wallet, expiresAt } |
origin | 30/min |
Create a real pump.fun coin with a mandatory dev buy. Every variant returns an unsigned transaction.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
POST /v1/launch/prepare |
Build a launch transaction. multipart/form-data, file part last. takes multipart: name, symbol, description?, website?, twitter?, telegram?, category? (memes|narrative|tech|other; required where the project says so), creator, devBuyLamports, imagereturns { launchId, mint, transaction, lastValidBlockHeight, expiresAt, quote, metadataUri, imageUri, nftAsset, delegatedTo } |
sign-in | 10/min |
POST /v1/launch/prepare-and-mint |
As prepare, plus a Metaplex 1-of-1 Genesis NFT of the coin, signed in a second prompt after the coin lands. takes same multipart form as preparereturns as prepare, plus nftTransaction and nftAsset |
sign-in | 10/min |
POST /v1/launch/prepare-and-mint-manlets |
As prepare-and-mint, except the NFT shows one of ten fixed characters on black instead of the coin’s avatar. Takes an extra `colour` form field. takes same multipart form as prepare, plus colour — the slug (red, orange, gold, lime-green, turquoise, electric-blue, purple, pink, silver, graphite), the colour name (Red … Charcoal) or the class (Sprinter, Streaker, Farmer, Market Maker, Collector, Trader, Scout, Socialite, All-Rounder, Whale) all resolve to the same characterreturns as prepare-and-mint |
sign-in | 10/min |
POST /v1/launch/prepare-and-delegate |
As prepare, but the dev buy is forwarded to the project custodian inside the same transaction. One signature; the creator never holds the tokens. takes same multipart form as preparereturns as prepare, with delegatedTo naming the custodian |
sign-in | 10/min |
POST /v1/launch/:launchId/refresh |
Rebuild a launch on a fresh blockhash after BLOCKHASH_EXPIRED. Max 5 per launch. returns the same shape as the call that prepared it |
sign-in | 20/min |
POST /v1/launch/submit |
Broadcast the wallet-signed launch. Idempotent. takes { launchId, signedTransaction }returns { launchId, signature, nftSignature, status } |
origin | 60/min |
POST /v1/launch/cosign |
Co-sign for wallets that can only signAndSendTransaction. The wallet broadcasts, not the API. takes { launchId, transaction }returns { launchId, transaction } |
sign-in | 60/min |
POST /v1/launch/:launchId/nft/prepare |
Build the Genesis NFT transaction once the coin has confirmed. returns { launchId, nftAsset, nftTransaction, lastValidBlockHeight } |
sign-in | 20/min |
POST /v1/launch/:launchId/nft/submit |
Broadcast the wallet-signed NFT transaction. takes { signedNftTransaction }returns { launchId, nftAsset, nftSignature, status } |
origin | 60/min |
GET /v1/launch/:launchId |
Launch status: prepared, submitted, cosigned, confirmed, failed or expired. returns { launchId, status, mint, signature, error, token, nft } |
origin | — |
The coins launched through this project. Scoped: another project’s coin reads as NOT_FOUND.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET /v1/tokens |
Coins launched here, newest first. Cursor-paginated; filterable by creator. takes ?limit=1-100&cursor=&creator=returns { items, nextCursor } |
origin | — |
GET /v1/tokens/:mint |
One coin: metadata, links, serial, category and memory number, dev buy, and its on-chain addresses. returns Token record |
origin | — |
GET /v1/tokens/stream |
Server-Sent Events feed of newly confirmed launches. Replays from ?since=<event id>. returns text/event-stream: ready | token | reset |
origin | 30/min |
GET /v1/tokens/:mint/trades |
pump.fun trade history, cached ~5 s and shared between callers. takes ?limit=1-100&cursor=returns { trades, nextCursor, source } |
origin | 120/min |
GET /v1/tokens/:mint/candles |
pump.fun OHLCV, cached ~20 s. Intervals 1m to 1d, in USD or SOL. takes ?interval=&limit=1-1000¤cy=usd|solreturns { candles, interval, currency, source } |
origin | 120/min |
GET /v1/tokens/:mint/holders |
Top holders with labels. The one server-assisted on-chain read. returns { mint, updatedAt, totalSupply, holders } |
origin | 120/min |
Live numbers read through the server’s RPC, for clients that cannot read Solana RPC themselves. Browsers may still read the chain directly.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET /v1/market |
Price, market cap, curve progress and 24 h volume/change for up to 60 coins in one call. Cached ~10 s; 24 h figures ~60 s. takes ?mints=<comma-separated, max 60>returns { updatedAt, solUsd, items: { <mint>: { mint, venue, complete, priceSol, priceUsd, marketCapSol, marketCapUsd, progressPct, solInCurve, volume24hUsd, change24hPct } } } |
origin | 120/min |
GET /v1/balances/:wallet |
A wallet’s SOL balance and, with ?mint=, its balance of one coin launched here. Integer strings. takes ?mint=returns { wallet, lamports, mint, tokenAmount } |
origin | 120/min |
Hourly voting on memories (coins in memes, narrative or tech). One rocket per wallet per coin per UTC hour; each hour’s top three are pinned for the next three hours.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
POST /v1/votes |
Rocket a memory in the current hour. 409 INVALID_STATE on a second rocket for the same coin this hour. takes { mint }returns { ok, mint, cycleId, rockets } |
sign-in | 60/min |
GET /v1/votes/board |
Current standings, pinned winners, 24 closed hours of history and all-time totals. Adds `mine` with a valid session. returns { now, cycle, standings, pinned, history, totals, mine? } |
origin | 120/min |
Build → wallet signs → submit → poll. Works on the bonding curve and after graduation to PumpSwap. No sign-in.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET /v1/trade/quote |
Read-only pricing for "you receive ≈" displays. takes ?mint=&side=buy|sell&amount=&slippageBps=10-5000returns BuyQuote | SellQuote |
origin | 120/min |
POST /v1/trade/buy |
Build a buy transaction. takes { mint, user, solLamports, slippageBps? }returns { txId, transaction, lastValidBlockHeight, quote } |
origin | 60/min |
POST /v1/trade/sell |
Build a sell transaction. takes { mint, user, tokenAmount, slippageBps? }returns { txId, transaction, lastValidBlockHeight, quote } |
origin | 60/min |
POST /v1/creator/claim |
Build a transaction collecting the wallet’s pump.fun creator fees. takes { user }returns { txId, transaction, lastValidBlockHeight, claimableLamports, bondingCurveLamports, ammLamports } |
origin | 30/min |
GET /v1/creators/:wallet |
Creator vault addresses, for reading claimable balances in the browser. returns { creator, bondingCurveCreatorVault, ammCreatorVaultAuthority, ammCreatorVaultAta } |
origin | — |
Move funds the wallet already holds. Same build → sign → submit shape; no sign-in.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
POST /v1/transfer/token |
Send a coin launched here to the project’s stake custodian. Takes no destination — it comes from project config and cannot be overridden. takes { mint, user, amount }returns { txId, transaction, lastValidBlockHeight, destination, amount } |
origin | 60/min |
POST /v1/transfer/sol |
Plain SOL transfer to any on-curve address. takes { user, destination, lamports }returns { txId, transaction, lastValidBlockHeight } |
origin | 60/min |
Every built transaction — trade, claim or transfer — is submitted and polled through these two.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
POST /v1/tx/submit |
Broadcast a wallet-signed transaction. Idempotent. takes { txId, signedTransaction }returns { txId, signature, status } |
origin | 60/min |
GET /v1/tx/:txId |
Transaction status: built, submitted, confirmed, failed or expired. returns { txId, kind, status, signature, error } |
origin | — |
Read-only view of the echo-buy service: for a watched coin, each unique buyer and the wallet that bought the coin for them.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET /api/track05usd/:coinCA |
Landed echo buys of one watched coin, oldest first. 404 for a coin that was never watched. 1 s cache with ETag. returns [{ buyerWallet, spbWallet, txHash }] |
origin | 600/min |
GET /api/hodlers/:coinCA/village |
Hodler Village of one SPB coin: its metrics (residents, holders, named Hodlers, market cap, 24 h volume and transactions), the landmarks they open with their targets and opening times, and every resident, oldest first. 1 s cache with ETag; 404 for a coin that was never watched. returns { coin: { mint, progressPct, complete, graduatedAt, milestones: { <key>: ISO|null }, metrics: { residents, holding, named, marketCapUsd, volume24hUsd, txns24h }, milestoneList: [{ key, name, metric, target, art, icon, blurb, openedAt }] }, residents: [{ no, buyer, hodler, tx, name, holding, founder }] } |
origin | 600/min |
POST /api/hodlers/:coinCA/name |
Name the signed-in wallet's own Hodler (2-20 characters; links and slurs refused). 404 when that wallet has no Hodler in the village. takes { name }returns { name } |
sign-in | 10/min |
GET /api/hodlers/:coinCA/chat/:room |
A building's chat room (a landmark key, or townhall which is always open): the last 60 messages, or with ?after=<message id> only newer ones (at most 100), oldest first. open is false until the landmark has opened; 404 for an unknown room. returns { room, open, messages: [{ id, wallet, name, no, hodler, text, at }] } |
origin | 600/min |
POST /api/hodlers/:coinCA/chat/:room |
Post in a building chat as the signed-in resident (1-200 characters; links and slurs refused; one message per wallet per 3 s). 403 for a non-resident, 409 while the building is closed. takes { text }returns { id, wallet, name, no, hodler, text, at } |
sign-in | 20/min |
POST /api/hodlers/:coinCA/walk |
Walk the village: send your position about every 500 ms, get everyone else walking there (nearest first, at most 120; gone after 8 s of silence). An optional session walks as your Hodler and lets residents say something (1-120 characters, one per 3 s, shown 6 s); a refused say comes back as sayError and never fails the call. In memory: resets on API restart. takes { id (8-40 of A-Za-z0-9_-), x, y (cells from the plaza, -200..200), dir (n|s|e|w|ne|nw|se|sw|null), say? } + optional Authorization: Bearerreturns { walkers: [{ id, x, y, dir, hodler, name, no, guest, say, sayAt }], sayError? } |
origin | 600/min |
Readable without a registered origin, because the callers that need them send none.
| Endpoint | What it does | Access | Limit |
|---|---|---|---|
GET / |
This catalogue, as a page. |
public | — |
GET /v1/catalogue |
This catalogue, as JSON. |
public | — |
GET /llms.txt |
Plain-text pointer to the catalogue, for agents that look for one. |
public | — |
GET /llms-full.txt |
This whole catalogue as Markdown — sequences, endpoints, limits and error codes. Also what GET / returns to a caller whose Accept header prefers text over HTML. |
public | — |
GET /nft/:mint |
A coin’s NFT metadata document, for explorers and marketplaces. |
public | — |
GET /sdk/launchpad-client.js |
Dependency-free ES module wrapping every endpoint, with wallet handling and flows. |
public | — |
GET /sdk/launchpad-chart.js |
Candlestick chart module built on the client above. |
public | — |
GET /sdk/cmp-client.js |
Pre-rename alias. 301 to /sdk/launchpad-client.js. |
public | — |
GET /sdk/cmp-chart.js |
Pre-rename alias. 301 to /sdk/launchpad-chart.js. |
public | — |
Every non-2xx response is { error: { code, message, details? } }. The code is
stable and safe to branch on.
| Code | Meaning |
|---|---|
VALIDATION | 400 — bad input; details.field names it |
UNAUTHORIZED | 401 — sign-in missing, expired, or the wallet does not match |
FORBIDDEN | 403 — the request did not come from a registered origin |
VERIFY_FAILED | 400 — the wallet altered the transaction; do not retry |
INSUFFICIENT_FUNDS | 422 — not enough SOL or tokens; details carries the figures |
SIMULATION_FAILED | 422 — would fail on-chain; details.reason "slippage" means the price moved |
SEND_FAILED | 422 — the network rejected it |
BLOCKHASH_EXPIRED | 410 — signed too late; refresh or rebuild |
NOT_FOUND | 404 — unknown coin, launch or transaction |
NOT_TRADABLE | 404 — that coin was not launched on this launchpad |
NOTHING_TO_CLAIM | 409 — creator fees below 20,000 lamports |
INVALID_STATE | 409 — the launch expired or was already handled |
MINT_POOL_EMPTY | 503 — no vanity addresses available |
IPFS_UPLOAD_FAILED | 502 — metadata upload failed |
UPSTREAM_UNAVAILABLE | 503 — RPC or pump.fun temporarily unavailable |
RATE_LIMITED | 429 — too many requests, or too many pending launches for this wallet |
INTERNAL | 500 — unexpected |