Launchpads
Filter through launchpad data and get realtime updates.
In this recipe we’ll show you how to use the Codex api to create a 3 column launchpad view, complete with filtering, sorting, and realtime updates. This data directly powers the launchpads view on defined.fi. It
The supported launchpads include Pump.fun, Four.meme, Launchlab, Meteora, and more. You can find a complete list of supported launchpads here.

Initial Fetch
Start by implementing the following query to fetch the launchpad data, one query for each column.
New
New
Completing
Completing
Completed
Completed
Now you have the data for the initial render for each column. You can adjust the filters with the remaining of the arguments to the filterTokens query. See the TokenFilters type for more details.
By default filterTokens
will return all tokens from a launchpad, across all networks, if you want to scope down to a specific launchpad, use the exchangeAddress
filter,
if you want to narrow down just to specific network, use the network
filter.
Realtime Updates
To get realtime updates, you can use the onLaunchpadTokenEventBatch subscription. This gives you every update for each launchpad token.
Now you’ve got all you need to build a fully functional launchpad view.
Launchpad events are extremely high-frequency and will send a large number of requests. We offer a monthly flat-rate option with unlimited requests for this subscription. Contact us for more information.
Check out other similar queries and subscriptions in the GraphQL reference