GET /smart-sell/details
Fetch the full config and running stats for one or more Smart Sell bots in a single call, including calculated P/L.
P/L derived from the snipe entry price vs. current pool mid.
Use case
Drill-down view — config + running counters + P/L for one or several bots in one payload. Pass a single id for a detail screen, or multiple ids to hydrate a list without N requests.
Query params
| Field | Type | Required | Description |
|---|---|---|---|
aBotIds | string | yes | Comma-separated list of Smart Sell ObjectIds (e.g. id1,id2,id3). |
Only bots owned by the caller are returned; unknown or unauthorized ids are silently skipped.
Response 200
{
"bots": [
{
"_id": "...",
"sTokenAddress": "...",
"sTokenSymbol": "TOKEN",
"sTokenName": "My Token",
"sPoolId": "...",
"sPoolType": "AMM",
"nSellPercent": 50,
"nMarketCap": 1000000,
"nMinSellAmount": 0.5,
"nMaxSellAmount": 5,
"aWallets": ["..."],
"aWhitelisted": ["..."],
"bIsPaused": false,
"bIsActive": true,
"nTransactions": 12,
"nSoldInToken": 420000,
"nSoldInSol": 1.23,
"nProfitLoss": 0.42,
"profitLossPercentage": 34.1,
"dCreatedAt": "2026-04-20T12:00:00.000Z"
}
]
}
bots is always an array. It is empty when none of the requested ids
match a bot you own.
Errors
| Status | Meaning |
|---|---|
400 | aBotIds missing or not a valid comma-separated list of ObjectIds. |
Example
curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/smart-sell/details?aBotIds=<id1>,<id2>"