Skip to main content

GET /flexi/getgroup/:id

Full breakdown of a single group: running/paused/stopped bot lists, aggregated volume, makers, and holders.

Use case

Drill-down view when a user opens a specific campaign in the dashboard.

Path params

ParamRequiredDescription
idyesEither the 13-char sGroupId or a bot ObjectId (token-bot lookup).

Response 200

{
"nTotalActiveBots": 2,
"nStoppedBots": 1,
"nGeneratedVolume": 120.5,
"nGeneratedVolumeInSOL": 18.4,
"nGeneratedVolumeInQuoteToken": 0,
"nTotalPackageSolValue": 15.0,
"nTotalReferralEarnings": 0.05,
"nTotalMakers": 234,
"nTotalHolders": 12,
"botIds": ["...", "..."],
"ePoolChosen": "RAYDIUM",
"ePaymentMode": "SOL",
"sTokenAddress": "...",
"aRunningBots": [
{ "_id": "...", "sAddress1": "...", "nLastBalanceSOL": 1.234,
"nVolumeTraded": 30.1, "nSOL": 5 }
],
"aPausedBots": [],
"aStoppedBots": [],
"aAllBots": [ { "_id": "...", "eStatus": "2" } ]
}

nLastBalanceSOL is the bot's last recorded SOL balance (stored, not a live on-chain lookup) and is present on every serialized bot.

Errors

StatusMeaning
400id not a valid group id or ObjectId.
403Group owned by a different client.
404No bots for this group id.

Example

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/flexi/getgroup/<groupId>"