Builders
Build on the world.
Official SDK
Not published yet. Use @solana/web3.js and @solana/spl-token directly; examples below.
Webhooks
Push events for launches, swaps and price alerts. Needs authenticated developer accounts first.
API keys & dashboard
Not issued. Keys need backend authentication and access controls, which are not built yet. Public endpoints need no key.
API overview
Live endpoints, live responses
Pick an endpoint, copy the cURL, JavaScript or Python sample, or press Try it to call it from your browser right now. Values the provider does not report come back as null, never as zero.
Market
Platform
Trading
/api/coinsToken lists
Trending, newest or highest-volume Solana tokens, one row per token from its main pool.
Parameters
listtrending | new | top (default trending)page1 to 10 (default 1)qSearch by name, ticker or mint (min 2 chars). Overrides list.Response fields
coins[].address— Token mintcoins[].priceUsd / marketCapUsd— Numbers or null; marketCapIsFdv marks FDV fallbackcoins[].change24hPct, change1hPct…— Price change by windowcoins[].volume24hUsd / liquidityUsd— Main pool figurescoins[].poolAddress— Use with /api/ohlcv and /api/tradesstale— true when serving the last good response
curl -s 'https://pumpwrld.online/api/coins?list=trending&page=1' | jqRate limits
Freshness
stale: true flag means the upstream provider was busy and you got the last good copy.Writes
Token launch integration
The pumpwrld_launch field
A PUMPWRLD launch is a standard SPL Token-2022 mint with its metadata stored on the mint itself. Launch settings sit in one additional metadata field that anyone can read.
- pw1
- Format version
- c
- Curve: cp (constant product), linear, exp
- vs
- Virtual SOL reserves, 5 to 500
- g
- Graduation market cap in USD, 10,000 to 10,000,000
- f
- Creator fee in basis points, 0 to 100
- ib
- Creator first buy in SOL, 0 to 50
- t
- Trading start, unix seconds (0 = at mint, max 30 days ahead)
Recorded, not enforced
import { TOKEN_2022_PROGRAM_ID, getTokenMetadata } from "@solana/spl-token";
import { Connection, PublicKey } from "@solana/web3.js";
// Read the launch settings any PUMPWRLD token carries in its own metadata.
const conn = new Connection("https://api.mainnet-beta.solana.com");
const meta = await getTokenMetadata(conn, new PublicKey(MINT), "confirmed", TOKEN_2022_PROGRAM_ID);
const raw = meta?.additionalMetadata.find(([k]) => k === "pumpwrld_launch")?.[1];
// raw = "pw1;c:cp;vs:30;g:69000;f:50;ib:0;t:0"
const fields = Object.fromEntries(raw!.split(";").slice(1).map((p) => p.split(":")));
console.log(fields); // { c: "cp", vs: "30", g: "69000", f: "50", ib: "0", t: "0" }// After your own Token-2022 launch transaction confirms, ask PUMPWRLD to verify and list it.
await fetch("https://pumpwrld.online/api/launches", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
cluster: "mainnet-beta", // or "devnet"
signature: "<launch tx signature>",
mint: "<mint address>",
creator: "<fee payer wallet>",
name: "My Token", symbol: "MYT",
description: "…", uri: "https://…/metadata.json",
image: "https://…/logo.png",
links: { website: "https://…", x: "https://x.com/…" },
}),
});
// The server re-reads the tx, payer, mint program, supply, authorities and
// pumpwrld_launch from chain. Request-body values never override chain state.Smart contracts
What runs on-chain today
SPL Token-2022
LiveTokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Standard Solana token program maintained by Solana Labs / Anza. PUMPWRLD uses it unmodified; PUMPWRLD has not audited it and does not claim to.
Associated Token Account
LiveATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL
Creates the creator's token account in the launch transaction.
Jupiter aggregator
LiveJUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4
Routes swaps. PUMPWRLD adds no fee account to the route.
PUMPWRLD curve program
Coming soonNot deployed
Will enforce bonding curves, creator fees and graduation. Program id and verified source will be published here when deployed.
Details in Smart Contracts.
Example applications
Start from working code
Small, complete programs against the public API. Copy, run, extend.
// node price-bot.mjs (Node 18+)
const MINT = "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN";
const THRESHOLD = 5; // percent
async function check() {
const r = await fetch(`https://pumpwrld.online/api/coins/${MINT}`);
if (!r.ok) return console.warn("skip:", (await r.json()).error);
const t = await r.json();
const move = t.windows.h1.priceChangePct;
if (move !== null && Math.abs(move) >= THRESHOLD) {
console.log(`${t.symbol} moved ${move.toFixed(2)}% in 1h, now $${t.priceUsd}`);
}
}
check();
setInterval(check, 60_000); // stay well under the per-IP limitDeveloper tools