Skip to main content
The Launchpad API is a read-only HTTP API for the OneSwap Launchpad. It serves the same coins, prices, trades, holder counts, and indicative quotes as the website. It cannot trade. If you work in TypeScript, the Launchpad SDK wraps this API for you.

Base URL

Authentication

Every request needs a Launchpad API key. Sign in to OneSwap, open Developer, and under Launchpad API keys click Generate key. See Get a Launchpad API key for the details. Send the key in the x-launchpad-key header, or as a bearer token:
Keep the key on a server. Anyone with the key can spend its rate limit.

Endpoints

All endpoints are GET. Any other method returns 405.

List coins

  • sort is recent (default), volume, or mcap.
  • lane is new, stretch, or graduated.
  • Prices, market caps, and volumes are in CC.
  • To get the next page, pass nextCursor as cursor. A null nextCursor means there are no more pages.

Read one coin

coin includes its bonding-curve state (curve), recent trades, and holderCount. After graduation, liquidityMigrated turns true once the coin trades on its pool. imageUrl, websiteUrl, xUrl, and telegramUrl show the coin’s current image and links. The creator can change them after launch, so read them again rather than caching them forever. A link the creator removes is an empty string.

Trades and holder count

  • Trades come newest first.
  • Holders are a count only. No addresses, usernames, or balances are returned.
  • Check holderData.status before you trust holderCount. It is complete, partial, or unavailable. After graduation, holder data can be unavailable because pool holdings are not indexed.

Quotes

  • For a buy, amount is the CC to spend. For a sell, amount is the tokens to sell.
  • tokensOut works for buys only.
Quotes are indicative. They are not tied to a wallet and do not include the network fee. To trade, use the Trader SDK.

Rate limits

Each key has its own per-minute limit, 120 requests a minute by default. Every response carries these headers: Contact OneSwap if you need a higher limit.

Errors

Errors return JSON with error (a message) and code: