{"openapi":"3.1.0","info":{"title":"LiveLaunch API","version":"1.0.0","description":"Free public API to list, quote, launch, buy and sell LiveLaunch tokens (Meteora Dynamic Bonding Curve on Solana mainnet). Non-custodial: the API returns unsigned transactions; you sign with your own wallet and send them (or POST them to /tx/send). No API key. Rate limits per IP: 120 reads/min, 30 transaction builds/min, 20 sends/min. AI agents can also connect to the remote MCP server at https://livelaunch.vercel.app/mcp (stateless Streamable HTTP). See https://livelaunch.vercel.app/agents.","contact":{"url":"https://livelaunch.vercel.app/developers"},"license":{"name":"MIT"}},"servers":[{"url":"https://livelaunch.vercel.app/api/v1"}],"externalDocs":{"url":"https://livelaunch.vercel.app/developers","description":"Guide with TypeScript and curl examples"},"paths":{"/tokens":{"get":{"operationId":"listTokens","summary":"List LiveLaunch tokens (newest first)","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"Opaque cursor from `nextCursor`."},{"name":"creator","in":"query","schema":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Only tokens created by this wallet."},{"name":"sort","in":"query","schema":{"type":"string","enum":["new","marketCap","progress"],"default":"new"}}],"responses":{"200":{"description":"Tokens","content":{"application/json":{"schema":{"type":"object","properties":{"tokens":{"type":"array","items":{"$ref":"#/components/schemas/TokenSummary"}},"nextCursor":{"type":["string","null"]},"total":{"type":"integer"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/tokens/{mint}":{"get":{"operationId":"getToken","summary":"Token info: metadata, price, market cap, curve progress, current fee and launch protection","parameters":[{"name":"mint","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"}}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenDetail"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/quote":{"get":{"operationId":"getQuote","summary":"Quote a buy (SOL in) or sell (tokens in)","parameters":[{"name":"mint","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"}},{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"amount","in":"query","schema":{"type":"string"},"description":"Buy: SOL (decimal, e.g. 0.1). Sell: tokens (decimal UI amount)."},{"name":"lamports","in":"query","schema":{"type":"string"},"description":"Buy only: SOL amount in lamports instead of `amount`."},{"name":"tokenAmountRaw","in":"query","schema":{"type":"string"},"description":"Sell only: token amount in base units instead of `amount`."},{"name":"slippageBps","in":"query","schema":{"type":"integer","minimum":0,"maximum":5000,"default":300}},{"name":"wallet","in":"query","schema":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Optional trader wallet (the streamer share is skipped when you are the streamer)."}],"responses":{"200":{"description":"Quote","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/links":{"get":{"operationId":"listLinks","summary":"Creator links stored for every token","responses":{"200":{"description":"Links keyed by mint"}}}},"/tokens/{mint}/links":{"post":{"operationId":"updateTokenLinks","summary":"Set creator links. The creator signs the message; the server checks that signature and the on-chain pool creator.","parameters":[{"name":"mint","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["wallet","message","signature"],"properties":{"wallet":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"message":{"type":"string","description":"Exact \"LiveLaunch update token links\" message. Website, X, Telegram and Telegram stream lines are the values stored. Use - to clear. https only; t.me; x.com or twitter.com."},"signature":{"type":"string","description":"Base64 ed25519 signature of `message` by `wallet`."}}}}}},"responses":{"200":{"description":"Stored links"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/fees":{"get":{"operationId":"getFees","summary":"Fee model for new launches, computed from the on-chain config","responses":{"200":{"description":"Fees","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fees"}}}}}}},"/tx/buy":{"post":{"operationId":"buildBuy","summary":"Build an unsigned buy transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mint","wallet"],"properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"wallet":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"solAmount":{"type":["number","string"],"description":"SOL to spend (decimal)."},"lamports":{"type":"string","description":"Alternative to solAmount."},"slippageBps":{"type":"integer","minimum":0,"maximum":5000,"default":300},"skipSimulationCheck":{"type":"boolean","default":false,"description":"Return the transaction even if simulation fails."},"priorityFeeMicroLamports":{"type":"integer","minimum":0,"maximum":2000000,"description":"Override the automatic priority fee."}}}}}},"responses":{"200":{"description":"Unsigned transaction + quote","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"transaction":{"type":"string","description":"Base64 serialized v0 transaction. Sign it with your wallet (and the mint keypair for launches if you supplied `mint`), then send it."},"encoding":{"type":"string","const":"base64"},"version":{"type":"integer","const":0},"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"integer","description":"Sign and send before the network passes this block height (~60-90 s)."},"computeUnitLimit":{"type":"integer"},"priorityFeeMicroLamports":{"type":"integer"},"sizeBytes":{"type":"integer"},"requiredSigners":{"type":"array","items":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Public keys that still have to sign."},"simulation":{"type":"object","properties":{"ok":{"type":"boolean"},"unitsConsumed":{"type":["integer","null"]},"error":{"type":["string","null"]},"logs":{"type":"array","items":{"type":"string"}}}}}},{"type":"object","properties":{"quote":{"$ref":"#/components/schemas/Quote"}}}]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/tx/sell":{"post":{"operationId":"buildSell","summary":"Build an unsigned sell transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mint","wallet"],"properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"wallet":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"tokenAmount":{"type":["number","string"],"description":"Tokens to sell (decimal UI amount)."},"tokenAmountRaw":{"type":"string"},"percent":{"type":"number","minimum":0.01,"maximum":100,"description":"Sell this % of the wallet balance instead."},"slippageBps":{"type":"integer","minimum":0,"maximum":5000,"default":300},"skipSimulationCheck":{"type":"boolean","default":false,"description":"Return the transaction even if simulation fails."},"priorityFeeMicroLamports":{"type":"integer","minimum":0,"maximum":2000000,"description":"Override the automatic priority fee."}}}}}},"responses":{"200":{"description":"Unsigned transaction + quote","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"transaction":{"type":"string","description":"Base64 serialized v0 transaction. Sign it with your wallet (and the mint keypair for launches if you supplied `mint`), then send it."},"encoding":{"type":"string","const":"base64"},"version":{"type":"integer","const":0},"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"integer","description":"Sign and send before the network passes this block height (~60-90 s)."},"computeUnitLimit":{"type":"integer"},"priorityFeeMicroLamports":{"type":"integer"},"sizeBytes":{"type":"integer"},"requiredSigners":{"type":"array","items":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Public keys that still have to sign."},"simulation":{"type":"object","properties":{"ok":{"type":"boolean"},"unitsConsumed":{"type":["integer","null"]},"error":{"type":["string","null"]},"logs":{"type":"array","items":{"type":"string"}}}}}},{"type":"object","properties":{"quote":{"$ref":"#/components/schemas/Quote"}}}]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/tx/launch":{"post":{"operationId":"buildLaunch","summary":"Build an unsigned launch transaction (token + bonding-curve pool, optional creator first buy in the same transaction)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["creator","name","symbol"],"properties":{"creator":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"name":{"type":"string","maxLength":32},"symbol":{"type":"string","maxLength":10},"description":{"type":"string","maxLength":1000},"imageUrl":{"type":"string","format":"uri","description":"https link to the image. Required unless metadataUri is set."},"metadataUri":{"type":"string","format":"uri","maxLength":200,"description":"Optional already-hosted Metaplex JSON. When omitted, LiveLaunch hosts one at /api/v1/metadata/{id}.json and uses that URL on-chain. Image and socials are optional."},"website":{"type":"string","format":"uri","description":"https website. Not stored by the launch transaction; POST /tokens/{mint}/links after the pool exists."},"twitter":{"type":"string","format":"uri","description":"https://x.com or https://twitter.com profile."},"x":{"type":"string","format":"uri","description":"Same as twitter."},"telegram":{"type":"string","format":"uri","description":"https://t.me group or channel."},"telegramStream":{"type":"string","format":"uri","description":"https://t.me livestream."},"streamUrl":{"type":"string","format":"uri","description":"Live stream link (Kick, Twitch, YouTube, X)."},"initialBuySol":{"type":"number","minimum":0,"maximum":100,"description":"Creator's first buy, in the launch transaction (no one can buy before you)."},"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Recommended: public key of a fresh keypair you generated (sign with it too). If omitted the server generates one and pre-signs with it."},"slippageBps":{"type":"integer","minimum":0,"maximum":5000,"default":300},"skipSimulationCheck":{"type":"boolean","default":false,"description":"Return the transaction even if simulation fails."},"priorityFeeMicroLamports":{"type":"integer","minimum":0,"maximum":2000000,"description":"Override the automatic priority fee."}}}}}},"responses":{"200":{"description":"Unsigned launch transaction","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"transaction":{"type":"string","description":"Base64 serialized v0 transaction. Sign it with your wallet (and the mint keypair for launches if you supplied `mint`), then send it."},"encoding":{"type":"string","const":"base64"},"version":{"type":"integer","const":0},"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"integer","description":"Sign and send before the network passes this block height (~60-90 s)."},"computeUnitLimit":{"type":"integer"},"priorityFeeMicroLamports":{"type":"integer"},"sizeBytes":{"type":"integer"},"requiredSigners":{"type":"array","items":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Public keys that still have to sign."},"simulation":{"type":"object","properties":{"ok":{"type":"boolean"},"unitsConsumed":{"type":["integer","null"]},"error":{"type":["string","null"]},"logs":{"type":"array","items":{"type":"string"}}}}}},{"type":"object","properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"pool":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"config":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"metadataUri":{"type":"string"},"url":{"type":"string"},"initialBuy":{"type":["object","null"]},"fees":{"$ref":"#/components/schemas/Fees"}}}]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/tx/claim-creator-fees":{"post":{"operationId":"buildClaimCreatorFees","summary":"Build an unsigned transaction that claims creator trading fees for one LiveLaunch pool","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["creator"],"properties":{"creator":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"wallet":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Alias of creator."},"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Token mint. Pass mint or pool."},"pool":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Meteora DBC pool address. Pass mint or pool."},"skipSimulationCheck":{"type":"boolean","default":false,"description":"Return the transaction even if simulation fails."},"priorityFeeMicroLamports":{"type":"integer","minimum":0,"maximum":2000000,"description":"Override the automatic priority fee."}}}}}},"responses":{"200":{"description":"Unsigned claim transaction. Sign it locally with the creator wallet. The server does not broadcast it.","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"transaction":{"type":"string","description":"Base64 serialized v0 transaction. Sign it with your wallet (and the mint keypair for launches if you supplied `mint`), then send it."},"encoding":{"type":"string","const":"base64"},"version":{"type":"integer","const":0},"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"integer","description":"Sign and send before the network passes this block height (~60-90 s)."},"computeUnitLimit":{"type":"integer"},"priorityFeeMicroLamports":{"type":"integer"},"sizeBytes":{"type":"integer"},"requiredSigners":{"type":"array","items":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"description":"Public keys that still have to sign."},"simulation":{"type":"object","properties":{"ok":{"type":"boolean"},"unitsConsumed":{"type":["integer","null"]},"error":{"type":["string","null"]},"logs":{"type":"array","items":{"type":"string"}}}}}},{"type":"object","properties":{"pool":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"mint":{"anyOf":[{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},{"type":"null"}]},"note":{"type":"string"}}}]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/tx/send":{"post":{"operationId":"sendTransaction","summary":"Broadcast a signed LiveLaunch transaction and wait for confirmation (optional convenience)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["transaction"],"properties":{"transaction":{"type":"string","description":"Base64 fully signed transaction from /tx/*"},"referrer":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Launches only: referrer wallet credited like a ?ref= link."}}}}}},"responses":{"200":{"description":"Sent","content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string"},"status":{"type":"string","enum":["confirmed","finalized","pending"]},"explorer":{"type":"string"},"launch":{"type":["object","null"]},"referral":{"type":"object"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"404":{"description":"Unknown token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"422":{"description":"Simulation or send failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}},"required":["code","message"]}}}}}}}}},"/health":{"get":{"operationId":"health","summary":"Service status","responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"TokenSummary":{"type":"object","properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"pool":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"config":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"configGeneration":{"type":"string","enum":["current","legacy"]},"name":{"type":"string"},"symbol":{"type":"string"},"image":{"type":["string","null"]},"description":{"type":["string","null"]},"creator":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"streamer":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"streamUrl":{"type":["string","null"]},"website":{"type":["string","null"]},"x":{"type":["string","null"],"description":"X profile. twitter is the same URL."},"twitter":{"type":["string","null"]},"telegram":{"type":["string","null"],"description":"Telegram community or group."},"telegramStream":{"type":["string","null"],"description":"Telegram livestream."},"createdAt":{"type":["string","null"],"format":"date-time"},"createdAtUnix":{"type":["integer","null"]},"priceSol":{"type":"number"},"marketCapSol":{"type":"number"},"curveProgress":{"type":"number","description":"0..1 toward graduation"},"quoteReserveSol":{"type":"number"},"migrationThresholdSol":{"type":"number"},"isMigrated":{"type":"boolean"},"currentFeeBps":{"type":"number","description":"Total pool fee right now in bps (1% = 100). Higher only while a legacy token's launch protection is still running."},"protectionEndsAt":{"type":["integer","null"],"description":"Unix seconds when launch protection ends and the normal fee applies. null = no protection. Agents: wait until this time before buying or selling."},"url":{"type":"string"}}},"TokenDetail":{"allOf":[{"$ref":"#/components/schemas/TokenSummary"},{"type":"object","properties":{"metadataUri":{"type":"string"},"decimals":{"type":"integer"},"totalSupply":{"type":"number"},"curveTokens":{"type":"number"},"soldFromCurve":{"type":"number"},"fees":{"$ref":"#/components/schemas/Fees"},"lifetime":{"type":"object"},"unclaimed":{"type":"object"},"trading":{"type":"object"}}}]},"Fees":{"type":"object","properties":{"currentFeePct":{"type":"number"},"currentFeeBps":{"type":"number","description":"currentFeePct in bps"},"protectionEndsAt":{"type":["integer","null"],"description":"Unix seconds when launch protection ends (null when none or pool not created)"},"startFeePct":{"type":"number"},"normalFeePct":{"type":"number"},"launchProtection":{"type":"object","properties":{"enabled":{"type":"boolean","description":"False for the current flat-fee config. True only on legacy protection configs."},"active":{"type":"boolean"},"secondsRemaining":{"type":"integer"},"durationSeconds":{"type":"integer"},"schedule":{"type":"array","items":{"type":"object","properties":{"fromSecond":{"type":"integer"},"toSecond":{"type":["integer","null"]},"feePct":{"type":"number"}}}}}},"dynamicFee":{"type":"object","properties":{"enabled":{"type":"boolean"}}},"migratedPoolFeeBps":{"type":"number","description":"DAMM v2 fee after graduation. 100 = 1%."},"split":{"type":"object","properties":{"meteoraPct":{"type":"number","description":"Share of the pool fee, not of the trade."},"creatorPct":{"type":"number","description":"Share of the pool fee."},"platformPct":{"type":"number","description":"Share of the pool fee."},"ofTrade":{"type":"object","properties":{"poolFeePct":{"type":"number"},"meteoraPct":{"type":"number"},"creatorPct":{"type":"number"},"platformPct":{"type":"number"}}},"note":{"type":"string"}}}}},"Quote":{"type":"object","properties":{"mint":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"pool":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","description":"Base58 Solana address"},"side":{"type":"string","enum":["buy","sell"]},"inputAmount":{"type":"string","description":"Base units (lamports for buy)"},"inputAmountUi":{"type":"number"},"swapInputAmount":{"type":"string"},"expectedOut":{"type":"string"},"expectedOutUi":{"type":"number"},"minOut":{"type":"string"},"minOutUi":{"type":"number"},"slippageBps":{"type":"integer"},"poolFee":{"type":"object"},"streamerFee":{"type":"object"},"priceImpactPct":{"type":"number"},"spotPriceSol":{"type":"number"},"executionPriceSol":{"type":"number"},"decimals":{"type":"integer"}}}}}}