Reading launches
This page lets you list, search and count the launches on your launchpad without running an indexer.
Bankr indexes every launch on the Bankr Hook, on every launchpad, whoever made it, on
every chain the SDK supports. The
Bankr Hook is the set of contracts the Launch SDK launches on, and a launchpad is an entry in those contracts with its
own rules and payees. The index is a public API at https://api.bankr.bot that needs no key, and the SDK reads the
same data.
Each launch in the index has:
- its chain, token, pool, launchpad and the token its pool is paired with
- the wallet that launched it and its primary fee recipient: the first wallet that receives the creator's fees
- the builder it is credited to, if any. A builder is a public profile for an app or a team: see Who gets credit
- whether it is listed or hidden
- price, market cap and 24-hour volume in USD, where Bankr prices it
Launches made with the SDK are hidden from the default list. Add visibility=all (visibility: "all" in the SDK) to
the list reads on this page to include them. Reading one launch by its address returns it either way.
When a launch appears
Bankr's indexer reads every launch from the chain's factory once its block has 20 confirmations on Base.
To show a launch sooner, register it. Registering indexes a launch transaction, on any launchpad, once it has 5 confirmations.
Create the client with api set and launch() registers each launch for you. It waits up to two minutes and puts
Bankr's answer on its result as registration, or null when registration was refused or did not finish in time. The
indexer still picks the launch up.
import { createLaunchClient } from "@bankr/launch-sdk";
import type { WalletClient } from "viem";
// With `api` set, launch() registers each launch with the index.
export function clientThatRegisters(walletClient: WalletClient) {
return createLaunchClient({
chain: "base",
walletClient,
api: {},
});
}
Or register any launch transaction yourself:
import { createLaunchClient } from "@bankr/launch-sdk";
import type { Hex } from "viem";
const client = createLaunchClient({ chain: "base" });
export async function registerLaunch(txHash: Hex) {
const { confirmations, launches } = await client.index.register(txHash);
// launches: [{ tokenAddress, poolId, status: "pending" | "indexed" }]
return { confirmations, launches };
}
curl -X POST https://api.bankr.bot/launches/register \
-H "content-type: application/json" \
-d '{"chain":"base","txHash":"0xYourLaunchTx"}'
pendingmeans Bankr has recorded the launch. It stays hidden until the indexer confirms it at the chain's confirmation depth (20 on Base). If the transaction is no longer in the chain by then, Bankr removes it.indexedmeans the indexer already has the launch.- Registering the same transaction again is safe.
- Before 5 confirmations the API answers
409with codeNOT_CONFIRMEDand the confirmations so far. In the SDK that is anAPI_ERRORwhoseerr.cause.codeisNOT_CONFIRMED.
Read it
With a launch client
client.index reads the index on the client's chain:
import { createLaunchClient } from "@bankr/launch-sdk";
import type { Address } from "viem";
const client = createLaunchClient({ chain: "base" });
export async function readIndex(token: Address) {
// Every launch on launchpad 7, hidden ones included. `all` fetches each page for you.
for await (const launch of client.index.all({
launchpad: 7n,
visibility: "all",
})) {
console.log(launch.symbol, launch.tokenAddress);
}
// One page at a time: pass `nextCursor` back as `cursor`.
const page = await client.index.launches({
launchpad: 7n,
visibility: "all",
q: "acme",
deployedAfter: new Date("2026-11-01T00:00:00Z"),
});
// One launch, hidden or not; null until Bankr has indexed it.
const row = await client.index.launch(token);
// Launchpad 7's launch count and their 24-hour volume.
const pad = await client.index.launchpadStats(7n, { window: "7d" });
// A builder's profile and stats over 24h, 7d or 30d; null for an unknown slug.
const profile = await client.index.builder("acme", {
window: "7d",
visibility: "all",
});
return { page, row, pad, profile };
}
client.index.all asks for 100 launches a request and stops at the last page. Pass { max } as its second argument
to stop early, or { signal } to cancel. It does not retry: an error from a page, a 429 included, comes through
unchanged.
A page can be incomplete while Bankr's index for a chain is behind. client.index.launches returns such a page with
incomplete set, and client.index.all throws INDEX_UNAVAILABLE on one unless you pass { onIncomplete }.
When the index for a chain is behind has the detail.
Without a client
createBankrApi() needs no RPC, wallet or key, and works in a browser:
import { createBankrApi } from "@bankr/launch-sdk";
import type { Address } from "viem";
const api = createBankrApi();
export async function readWithoutClient(token: Address) {
const { launches, nextCursor } = await api.launches({
chain: "base",
launchpad: 7n,
visibility: "all",
});
const one = await api.launch("base", token);
const pad = await api.launchpadStats("base", 7n);
const stats = await api.builder("acme", { window: "30d", visibility: "all" });
return { launches, nextCursor, one, pad, stats };
}
api.allLaunches(query) walks every page, like client.index.all. Pass { url, fetch } to createBankrApi to use
your own fetch with timeouts and retries.
Over HTTP
curl "https://api.bankr.bot/launches?chain=base&launchpad=7&visibility=all"
curl "https://api.bankr.bot/launches?chain=base&launchpad=7&visibility=all&q=acme"
curl "https://api.bankr.bot/launches?chain=base&launchpad=7&visibility=all&deployedAfter=2026-11-01T00:00:00Z"
curl "https://api.bankr.bot/launches?chain=base&builder=acme&visibility=all&limit=50"
curl "https://api.bankr.bot/launches/base/0xYourToken"
curl "https://api.bankr.bot/launchpads/base/7/stats?window=7d"
curl "https://api.bankr.bot/builders/acme?window=7d&visibility=all"
curl "https://api.bankr.bot/builders/acme/launches?window=24h&visibility=all"
- A list answers
{ "launches": [...], "nextCursor": "..." }, newest first. PassnextCursorback ascursor, unchanged, for the next page. It isnullon the last page. /launches/{chain}/{token}returns one launch, hidden or not, or404when Bankr has not indexed it./launchpads/{chain}/{id}/statsreturns one launchpad's totals. See Launchpad stats./builders/{slug}returns the builder's profile (name, description, website, proven wallets, codes) andstatson the launches made insidewindow(24h,7dor30d; default7d): how many, how many have verified credit, and their current 24-hour volume, in total and per chain. An unknown slug is a404./builders/{slug}/launchesis the list scoped to that builder. It takes the filters below exceptbuilder, pluswindowto keep only launches made inside it.
Builder stats count only listed launches with verified credit unless you pass visibility=all and attribution=all.
When the index for a chain is behind
A read never answers as if a chain had no launches while Bankr's index for that chain is behind.
- A read that asks only for that chain's Bankr Hook launches answers
503with codeINDEX_UNAVAILABLE. That is a list withchainand one ofprovider=bankr_v4,launchpad,quoteorcode, and a launchpad's stats. - Any other list answers without that chain's Bankr Hook launches, and says so. The page carries
incomplete, which names the chains left out:
{
"launches": [],
"nextCursor": null,
"incomplete": {
"code": "INDEX_UNAVAILABLE",
"provider": "bankr_v4",
"chains": ["arbitrum"]
}
}
A list of listed launches is never incomplete or refused for Ethereum or BNB Chain: no launch there is listed, so that read holds none of them and answers an empty page.
Retry shortly. The account fee routes, Read an account's fees
and Build a claim-all, answer the same 503.
In the SDK:
- The
503is the error codeINDEX_UNAVAILABLE.client.fees.getOwed,client.fees.buildClaimAll,client.index.launchpadStatsandclient.index.launchesthrow it. It is safe to retry. - A page from
launchescarriesincomplete, andincomplete.chainsalways names at least one chain. Check it before you treat a page as the whole list. allandallLaunchesnever hand you a partial list in silence. When a page is incomplete they throwINDEX_UNAVAILABLEbefore any of that page's launches. PassonIncompleteto take the list without the launches that are left out. It can be called more than once in one walk:
import { createBankrApi, type IndexedLaunch } from "@bankr/launch-sdk";
const api = createBankrApi();
/** Every launch credited to a builder, on every chain. Chains whose index is behind are named, not hidden. */
export async function builderLaunches(builder: string) {
const launches: IndexedLaunch[] = [];
const leftOut = new Set<string>();
for await (const launch of api.allLaunches(
{ builder, visibility: "all" },
{ onIncomplete: ({ chains }) => chains.forEach((c) => leftOut.add(c)) },
))
launches.push(launch);
return { launches, leftOut: [...leftOut] };
}
Filters
GET /launches, client.index.launches and createBankrApi().launches take the same filters, and they combine.
| Filter | What it does | Default |
|---|---|---|
chain | A chain's name, such as base. client.index always uses the client's chain | Every chain |
launchpad | Bankr Hook launches on this launchpad id, whoever they are credited to | |
q | Launches whose name or symbol contains this text, ignoring case. A whole token address matches that token alone. 1 to 64 characters | |
quote | Bankr Hook launches whose pool is paired with this token address, such as WETH or USDC | |
deployedAfter | Launches deployed at or after this time | |
deployedBefore | Launches deployed at or before this time | |
launcher | Launches sent by this wallet | |
builder | Launches credited to this builder's slug. An unknown slug returns an empty page | |
code | Bankr Hook launches whose transaction carried this ERC-8021 builder code, from the newest 1,000 that carried it. Anyone can append any code | |
provider | bankr_v4 is the Bankr Hook. bankr_v3 and doppler are Bankr's other launch types, which the index also serves on every chain it lists | Every provider |
attribution | verified or all. Under verified, a launch credited only by a builder code shows builder: null but stays in the list | verified |
visibility | listed or all. all adds hidden launches | listed |
cursor | The previous page's nextCursor, unchanged. Its format can change, so never build one | |
limit | 1 to 100 launches per page | 20 |
- Dates are ISO 8601 date-times with
Zor an offset over HTTP, such as2026-11-01T00:00:00Z. The SDK also takes aDate.deployedAfterlater thandeployedBeforeis a400. - A search that runs past 3 seconds answers
503. Narrow it withlaunchpador a date range and retry. - In the SDK,
launchpadtakes a bigint (7n) or a decimal string.
A row
Every list and single-launch read returns rows of this shape (IndexedLaunch in the SDK). This is a launch on
launchpad 7, credited to the builder acme through a wallet it proved it controls:
{
"chain": "base",
"tokenAddress": "0x5c0e…acce",
"poolId": "0x8f3b…29d4",
"name": "Acme Coin",
"symbol": "ACME",
"imageUrl": null,
"provider": "bankr_v4",
"launchpadId": "7",
"quoteAddress": "0x4200…0006",
"launcher": "0x2b6f…c410",
"feeRecipient": "0x2b6f…c410",
"builder": "acme",
"attribution": "wallet",
"deployedAt": "2026-11-05T14:02:11.000Z",
"hidden": true,
"market": { "priceUsd": null, "marketCapUsd": null, "volume24hUsd": 0 }
}
| Field | Meaning |
|---|---|
tokenAddress, poolId | The token and its Uniswap v4 pool id (a pool address on bankr_v3). Both are lowercase |
name, symbol | As launched |
imageUrl | The token's image when Bankr has one, otherwise null |
launchpadId | A decimal string. null for providers other than bankr_v4 |
quoteAddress | The token the pool is paired with, lowercase. null for providers other than bankr_v4 |
launcher | The wallet that sent the launch |
feeRecipient | The launch's primary fee recipient |
builder, attribution | The credited builder's slug and how it earned the credit; both null when no builder is credited |
deployedAt | The launch block's time |
hidden | true when the launch is left out of default lists |
market | priceUsd, marketCapUsd and volume24hUsd |
Launchpad stats
GET /launchpads/{chain}/{id}/stats totals one launchpad: how many launches it has made, and their current 24-hour
volume in USD. In the SDK it is client.index.launchpadStats(id) or createBankrApi().launchpadStats(chain, id).
{
"chain": "base",
"launchpadId": "7",
"window": "all",
"visibility": "all",
"stats": { "launches": 42, "volume24hUsd": 18250.5 }
}
| Option | What it does | Default |
|---|---|---|
window | Count launches deployed in the last 24h, 7d or 30d, or all | all |
visibility | all counts hidden launches too. listed counts only listed launches | all |
- Hidden launches count by default, unlike the list reads. SDK launches are hidden by default, so
listedwould show most launchpads as empty. - An unknown launchpad reads zeros, not a
404. - While the index for the chain is behind, the read answers
503with codeINDEX_UNAVAILABLE, and the SDK throwsINDEX_UNAVAILABLE. It never reads zeros for that reason. Retry shortly. volume24hUsdis the launches' volume over the last 24 hours, whatever thewindow. It covers an SDK launch only while Bankr prices it; see Market data.
Who gets credit
builder and attribution say which builder a launch is credited to, and on what evidence. A builder is a public
profile for an app, a launchpad or an agent, created with
POST /builders.
Bankr credits each launch to at most one builder. It checks the evidence strongest first:
attribution | Evidence | Verified |
|---|---|---|
api_key | Bankr launched it through its Token Launch API, called with the builder account's key | Yes |
prepared | Bankr's API built this exact launch for a key on the builder's account | Yes |
wallet | The launcher is a wallet the builder proved it controls | Yes |
code | The launch carried an ERC-8021 builder code registered to the builder | No: anyone can append a code |
- A proven wallet or a registered code counts only if it existed by the launch's block.
- On Ethereum and BNB Chain a launch is credited by a builder code only. Bankr's Token Launch API and proven wallets cover Base, Robinhood Chain, Arbitrum and Arc.
- Reads show only verified credit by default. Under
attribution=verified, a launch credited only by a code readsbuilder: nullandattribution: null. Passattribution=allto see it. - Credit goes to a builder, never to a launchpad. To list everything on your launchpad, filter by
launchpad. - Credit never changes who earns fees.
Listed or hidden
A hidden launch stays indexed, tradable and claimable. It is left out of list reads unless you pass visibility=all,
and reading it by address still returns it.
- SDK launches are hidden by default, on any launchpad. Pass
visibility=allto list them. - Moderation hides a launch whose name or symbol breaks Bankr's name policy, or whose launcher or fee recipient is banned.
- Quotas hide launches past 20 per launcher per chain per hour, and past 50 verified launches per builder per chain per hour.
- Registered launches are hidden until the indexer confirms them.
- Every launch on Ethereum and BNB Chain is hidden. See Ethereum and BNB Chain.
- Banned tokens are removed from every read, not only hidden.
Market data
market is in USD. Until Bankr prices a launch, it reads null price, null market cap and 0 volume.
A launch made with the SDK is priced from its pool's trades, and only when all of this holds:
- Bankr prices SDK launches on its chain. Where it does not, they read
null. It prices none on Ethereum and BNB Chain. - It is indexed and has traded on a quote Bankr prices.
- Moderation has not hidden it. A launch hidden only because SDK launches are hidden by default is still priced. A launch hidden for its name or symbol, a ban or a quota is not.
- It fits the caps. Bankr tracks up to 5,000 SDK launches per chain, 250 per launcher wallet and 250 per builder with verified credit. When a chain is full, the launches with the lowest 24-hour volume drop out first, those without verified credit before those with it.
volume24hUsd reads 0 once a priced SDK launch has gone 24 hours without a trade. Pricing is best effort.
Ethereum and BNB Chain
The index holds every launch on both chains. Three things differ from the other four:
- Every launch is hidden. A default list of either chain is empty. Pass
visibility=all(visibility: "all"in the SDK) and the list returns the chain's launches. Reading one launch by its address returns it either way. - There is no market data.
marketreadsnullprice,nullmarket cap and0volume, and launchpad and builder stats read0volume for these launches. Price a launch on-chain reads a price from the pool. - A launch is credited by a builder code only. See Who gets credit.
| Read | Ethereum and BNB Chain |
|---|---|
The launch list, with visibility=all | Yes |
| One launch by its address | Yes |
| Launchpad stats and builder stats | Yes |
| Registering a launch | Yes |
An account's owed fees (GET /bankr-v4/accounts/{account}/fees, client.fees.getOwed) | Yes |
The single-launch fee routes (/bankr-v4/{token}/…) and the claim-all build over HTTP | No: they serve Base, Robinhood Chain, Arbitrum and Arc |
The SDK's own fee calls (client.fees.get, buildClaim, buildClaimAll and the rest) | Yes: the SDK builds them from the chain and the owed read |
Price a launch on-chain
Any launch's price is in its Uniswap v4 pool, so you can read one the index leaves unpriced. This reads it through Uniswap's StateView contract on Base, with no key:
import {
erc20Abi,
formatUnits,
isAddressEqual,
parseAbi,
type Address,
} from "viem";
import { readContract } from "viem/actions";
import { createLaunchClient } from "@bankr/launch-sdk";
// Uniswap v4's StateView contract on Base.
const STATE_VIEW = "0xA3c0c9b65baD0b08107Aa264b0f3dB444b867A71";
const stateViewAbi = parseAbi([
"function getSlot0(bytes32 poolId) view returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee)",
]);
const factoryAbi = parseAbi([
"struct PoolKey { address currency0; address currency1; uint24 fee; int24 tickSpacing; address hooks; }",
"function poolOf(address token) view returns (bytes32 poolId, PoolKey key)",
]);
const client = createLaunchClient({ chain: "base" });
export async function priceOnChain(token: Address) {
// The coin's pool, from the factory. The pool id is zero for a token this factory never launched.
const [poolId, key] = await readContract(client.publicClient, {
address: client.provider.addresses.factory,
abi: factoryAbi,
functionName: "poolOf",
args: [token],
});
if (BigInt(poolId) === 0n) throw new Error("Not a Bankr Hook launch on Base");
const tokenIsCurrency0 = isAddressEqual(key.currency0, token);
const quote = tokenIsCurrency0 ? key.currency1 : key.currency0;
const [[sqrtPriceX96], supply, quoteDecimals] = await Promise.all([
readContract(client.publicClient, {
address: STATE_VIEW,
abi: stateViewAbi,
functionName: "getSlot0",
args: [poolId],
}),
readContract(client.publicClient, {
address: token,
abi: erc20Abi,
functionName: "totalSupply",
}),
readContract(client.publicClient, {
address: quote,
abi: erc20Abi,
functionName: "decimals",
}),
]);
// The whole supply's value in the quote's base units: the coin's fully diluted value.
const Q192 = 2n ** 192n;
const priceX192 = sqrtPriceX96 * sqrtPriceX96;
const fdv = tokenIsCurrency0
? (supply * priceX192) / Q192
: (supply * Q192) / priceX192;
// One whole token (18 decimals), kept to 18 more decimals so a small price survives.
const price = (fdv * 10n ** 36n) / supply;
return {
fdv: formatUnits(fdv, quoteDecimals),
price: formatUnits(price, quoteDecimals + 18),
};
}
Both figures are in the launch's quote token, such as WETH or USDC. Multiply by the quote's USD price for dollars.
Fees for a launch
The index tells you which launches exist. What a launch has earned is on-chain, in Bankr's fee ledger: the contract that holds each party's share of the fees until it is claimed. Fees and who gets paid shows how each party claims. These routes read fees and build unsigned claims over HTTP with no key, at 60 requests per minute per IP:
- Read fees and Build a fee claim for one launch. They find the launch by its token address, once it is in the index.
- Read an account's fees and Build a claim-all for every launch on a chain.
Limits and caching
- Reads:
/launches,/launches/{chain}/{token},/launchpads/{chain}/{id}/stats,/builders/{slug}and/builders/{slug}/launchesshare one limit of 120 requests per minute per IP. - No key: every read on this page, and register, works with no API key.
- Caching: successful reads are marked cacheable for 10 seconds (
Cache-Control: public, max-age=10), so poll no faster than that. - Register: 30 requests per minute per IP. If register answers
503, retry in a minute. - 429: a rate-limited answer carries
Retry-Afterin seconds. The SDK throwsRATE_LIMITED, with the wait onerr.cause.retryAfterSeconds. - Browsers: reads and register answer any origin, so a web page can call them directly.
Full reference
Every parameter, response and error is in the API reference:
- List launches
- Get a launch
- Register a launch
- Get a launchpad's stats
- Get a builder
- List a builder's launches
Keys, limits and conventions for the whole API are in the Launch API.