Pump.fun API: choose the SDK, a data feed or a launch service
By MassLauncher · Updated · 2 min read
A wallet building a Pump instruction, a dashboard watching new tokens and a script launching saved profiles need different interfaces. Start with the object your application expects back.
Build a transaction with the Pump SDK
If your wallet needs to assemble a creation transaction for a user to review and sign, start with the Pump program. Its interface definition (IDL) describes the instructions, their accounts and arguments. The official TypeScript package, @pump-fun/pump-sdk, provides builders. These are tools for constructing Solana instructions; installing the package does not submit a transaction.
For example, to find which accounts the create_v2 instruction expects, open the Pump coin creation reference. To find out whether a particular transaction landed, look up its signature on Solana. The instruction definition cannot answer that second question.
Watch new launches with PumpPortal
A dashboard that adds a row whenever it sees a new token can subscribe to subscribeNewToken on the PumpPortal WebSocket. PumpPortal is an independent provider. The subscription returns events; you do not need to create a token or authorize a trade to listen.
PumpPortal also documents trading and token creation. If your application needs transaction bytes to sign itself, look at its Local API. If you want the provider to submit from a wallet linked to its API key, read the Lightning terms and key permissions first.
Run saved profiles with MassLauncher
Choose the MassLauncher v1 API when your input is a saved coin profile and a quantity. Your API key authorizes the service to launch against your account credits. You receive a job ID and can read the results for each coin later. The service uses its own launch wallets; if you need your personal address recorded as creator, check the creator and fee terms before choosing this route.
The identifiers belong to different systems. Save a MassLauncher job ID to reopen a batch, a Solana signature to inspect a transaction and a mint address to identify the coin. Two coins can have the same ticker.