Data API
GET /v1/tokens/{mint}/bonding-curve
LaunchLab bonding-curve progress and liquidity.
Endpoint
GET https://solindex.infinityblocks.io/v1/tokens/{mint}/bonding-curve
Authentication
Send your key in the x-api-key header (or ?api-key=). See Authentication.
Path parameters
| Param | Description |
|---|---|
mint | Base-58 token mint address. |
Request
curl -s "https://solindex.infinityblocks.io/v1/tokens/<MINT>/bonding-curve" \
-H "x-api-key: <API_KEY>"
const r = await fetch("https://solindex.infinityblocks.io/v1/tokens/<MINT>/bonding-curve", {
headers: { "x-api-key": "<API_KEY>" },
});
const { data } = await r.json();
Response
{ "data": {
"progressPct": 1.54, "realQuoteSol": 1.3129, "targetQuoteSol": 85,
"liquidityUsd": 217.65, "status": 0, "migrateType": 1 } }
status: 0 = funding, 1 = ended, 2 = graduated. migrateType: 0 = AMM, 1 = CpSwap. Returns 404 in three distinct cases — check the error message: (1) "no bonding-curve state for this mint" — no curve account was ever decoded for this mint; (2) "token graduated/migrated; bonding curve no longer active" — the mint has a non-LaunchLab pool (liquidity moved to an AMM/CPMM), so the decoded curve state is stale and intentionally withheld (use /tokens/{mint}/pools instead); (3) "bonding-curve state unavailable (out-of-range/stale)" — a sanity guard rejects corrupt decoded rows (targetQuoteSol must be in (0, 1000) SOL and liquidityUsd in [0, 1e9)).Try it
Run GET /v1/tokens/{mint}/bonding-curvelive · GET
Your key is stored only in this browser (localStorage).
—