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 thex-launchpad-key header, or as a bearer token:
Endpoints
All endpoints areGET. Any other method returns 405.
List coins
sortisrecent(default),volume, ormcap.laneisnew,stretch, orgraduated.- Prices, market caps, and volumes are in CC.
- To get the next page, pass
nextCursorascursor. AnullnextCursormeans 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.statusbefore you trustholderCount. It iscomplete,partial, orunavailable. After graduation, holder data can beunavailablebecause pool holdings are not indexed.
Quotes
- For a buy,
amountis the CC to spend. For a sell,amountis the tokens to sell. tokensOutworks for buys only.
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 witherror (a message) and code: