Launchpad API

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.

network mainnet base URL https://api.qqqqqqqqqqqqqqqqq.xyz 49 endpoints JSON /v1/catalogue Markdown /llms-full.txt llms.txt

Access for your domain is available on request.

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

Access

The model

Conventions

Sequences

Endpoints chain into these flows. Every write is a multi-step handshake, so start here rather than with the endpoint list.

Launch a coin

The creator wants a new pump.fun coin with a dev buy.

  1. POST /v1/auth/challenge { wallet } — returns a message to sign. Skip if you hold an unexpired token.
  2. Wallet signs the message bytes with solana:signMessage. This is a message, not a transaction: no cost, no gas.
  3. POST /v1/auth/verify { wallet, message, signature } — returns a token valid 24 h. Send it as Authorization: Bearer.
  4. POST /v1/launch/prepare — multipart, image part last — returns { launchId, mint, transaction, quote }.
  5. Show quote.estimatedTotalCostLamports as the cost, then have the wallet sign `transaction`. Sign only: do not send.
  6. POST /v1/launch/submit { launchId, signedTransaction } — the API verifies, co-signs with the mint key and broadcasts.
  7. GET /v1/launch/:launchId every ~1.5 s until status is confirmed, failed or expired. On confirmed, `token` is the coin.
  8. If submit returns 410 BLOCKHASH_EXPIRED, call POST /v1/launch/:launchId/refresh, sign the new transaction, submit again.

Launch from a wallet that can only sign and send

The wallet exposes signAndSendTransaction but not signTransaction, so it cannot hand back signed bytes.

  1. Sign in and POST /v1/launch/prepare as usual.
  2. POST /v1/launch/cosign { launchId, transaction } — send the transaction back unsigned. The API adds the mint signature and returns the transaction.
  3. The wallet signAndSendTransaction that returned transaction: it adds the creator signature and broadcasts itself.
  4. Poll GET /v1/launch/:launchId as usual. Do not call /v1/launch/submit on this path — the wallet has already broadcast.
  5. Prefer the normal flow whenever signTransaction exists. This one gives up the API retrying a dropped transaction, and every wallet worth supporting offers signTransaction.

Launch and delegate the dev buy

The launchpad hands the creator’s dev buy to a custodian, so the creator never holds it.

  1. Check GET /v1/config reports project.stakeCustodian. Without it this flow returns 404 and should be hidden.
  2. If that config also reports project.delegationOnly, this is the ONLY way to launch on it: /v1/launch/prepare, prepare-and-mint and prepare-and-mint-manlets all return 404 there. Build the launch form around this route and do not offer the others.
  3. Sign in as above.
  4. POST /v1/launch/prepare-and-delegate — same multipart form as prepare — returns the usual shape plus delegatedTo.
  5. One signature covers everything: the coin is created, the dev buy executes, and the tokens move to the custodian in that one transaction.
  6. Submit and poll exactly as for a plain launch.

Launch and mint a Genesis NFT

The coin should also have a 1-of-1 NFT of itself.

  1. POST /v1/launch/prepare-and-mint instead of prepare. Ignore the nftTransaction it returns.
  2. For a launchpad whose NFTs are the manlets characters, POST /v1/launch/prepare-and-mint-manlets instead, with an extra `colour` form field — one of red, orange, gold, lime-green, turquoise, electric-blue, purple, pink, silver, graphite. It is required there, and the rest of this sequence is unchanged.
  3. Sign and submit the coin transaction, then poll until status is confirmed.
  4. POST /v1/launch/:launchId/nft/prepare — builds the NFT on a fresh blockhash now the coin has landed.
  5. Wallet signs nftTransaction in a second prompt.
  6. POST /v1/launch/:launchId/nft/submit { signedNftTransaction }.
  7. The NFT must be signed after the coin lands. Wallets append a balance assertion computed when they sign, and the launch spends SOL afterwards, so an NFT signed first asserts a balance that no longer holds and the mint reverts.

Buy or sell

Trading a coin launched through this API, on the bonding curve or after graduation.

  1. GET /v1/trade/quote?mint=&side=buy|sell&amount=&slippageBps= for the "you receive" figure. Advisory only.
  2. POST /v1/trade/buy { mint, user, solLamports } or /v1/trade/sell { mint, user, tokenAmount } — returns { txId, transaction }.
  3. Wallet signs `transaction`. Sign only.
  4. POST /v1/tx/submit { txId, signedTransaction }.
  5. GET /v1/tx/:txId every ~1.5 s until confirmed, failed or expired.
  6. No sign-in is needed for any of this.

Transfer or claim

Moving tokens or SOL the wallet already holds, or collecting creator fees.

  1. POST /v1/transfer/token { mint, user, amount }, /v1/transfer/sol { user, destination, lamports }, or /v1/creator/claim { user }.
  2. The token transfer takes no destination: it goes to the project custodian and a request cannot override it.
  3. Each returns { txId, transaction }. Wallet signs, then POST /v1/tx/submit and poll GET /v1/tx/:txId, as for trades.

Read the registry

Listing or displaying coins. No signing involved.

  1. GET /v1/config once at start-up and cache it for the session.
  2. GET /v1/tokens?limit=&cursor= for the list, paginating until nextCursor is null.
  3. GET /v1/tokens/stream to receive new launches as they confirm, rather than polling the list.
  4. GET /v1/tokens/:mint for one coin, then its /trades, /candles and /holders for the detail view.
  5. Live price, market cap and curve progress: GET /v1/market?mints= for a page of coins in one call, or read them from Solana RPC in the client using the addresses on the Token record and the reserve figures in config.pump.

If you hit an error, look here first

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-Length

Cause. 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 address

Cause. 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 transaction

Cause. 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 transaction

Cause. 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 NFT

Cause. 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 it

Cause. 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 request

Cause. 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 string

Cause. 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.

Service

Configure a client and check whether launching is currently possible.

EndpointWhat it doesAccessLimit
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 —

Wallet sign-in

A free, gas-less proof of wallet ownership. Required before launching; never for trading or transfers.

EndpointWhat it doesAccessLimit
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

Launching

Create a real pump.fun coin with a mandatory dev buy. Every variant returns an unsigned transaction.

EndpointWhat it doesAccessLimit
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, image
returns { 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 prepare
returns 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 character
returns 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 prepare
returns 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 —

Registry

The coins launched through this project. Scoped: another project’s coin reads as NOT_FOUND.

EndpointWhat it doesAccessLimit
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&currency=usd|sol
returns { 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

Market data

Live numbers read through the server’s RPC, for clients that cannot read Solana RPC themselves. Browsers may still read the chain directly.

EndpointWhat it doesAccessLimit
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

Boosts

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.

EndpointWhat it doesAccessLimit
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

Trading and creator fees

Build → wallet signs → submit → poll. Works on the bonding curve and after graduation to PumpSwap. No sign-in.

EndpointWhat it doesAccessLimit
GET /v1/trade/quote
Read-only pricing for "you receive ≈" displays.
takes ?mint=&side=buy|sell&amount=&slippageBps=10-5000
returns 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 —

Transfers

Move funds the wallet already holds. Same build → sign → submit shape; no sign-in.

EndpointWhat it doesAccessLimit
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

Transaction lifecycle

Every built transaction — trade, claim or transfer — is submitted and polled through these two.

EndpointWhat it doesAccessLimit
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 —

Echo buys

Read-only view of the echo-buy service: for a watched coin, each unique buyer and the wallet that bought the coin for them.

EndpointWhat it doesAccessLimit
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: Bearer
returns { walkers: [{ id, x, y, dir, hodler, name, no, guest, say, sayAt }], sayError? }
origin 600/min

Public

Readable without a registered origin, because the callers that need them send none.

EndpointWhat it doesAccessLimit
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 —

Limits

Error codes

Every non-2xx response is { error: { code, message, details? } }. The code is stable and safe to branch on.

CodeMeaning
VALIDATION400 — bad input; details.field names it
UNAUTHORIZED401 — sign-in missing, expired, or the wallet does not match
FORBIDDEN403 — the request did not come from a registered origin
VERIFY_FAILED400 — the wallet altered the transaction; do not retry
INSUFFICIENT_FUNDS422 — not enough SOL or tokens; details carries the figures
SIMULATION_FAILED422 — would fail on-chain; details.reason "slippage" means the price moved
SEND_FAILED422 — the network rejected it
BLOCKHASH_EXPIRED410 — signed too late; refresh or rebuild
NOT_FOUND404 — unknown coin, launch or transaction
NOT_TRADABLE404 — that coin was not launched on this launchpad
NOTHING_TO_CLAIM409 — creator fees below 20,000 lamports
INVALID_STATE409 — the launch expired or was already handled
MINT_POOL_EMPTY503 — no vanity addresses available
IPFS_UPLOAD_FAILED502 — metadata upload failed
UPSTREAM_UNAVAILABLE503 — RPC or pump.fun temporarily unavailable
RATE_LIMITED429 — too many requests, or too many pending launches for this wallet
INTERNAL500 — unexpected