Skip to main content

GET /classic/bot/:id

Fetch a single classic bot's full document.

Returns the full detail of a single classic bot.

Use case

Inspect a specific bot in a group; pair with /classic/group/:id for aggregated views.

Path params

ParamRequiredDescription
idyesBot ObjectId.

Response 200

{
"bot": {
"_id": "...",
"sGroupId": "...",
"eStatus": "2",
"sMode": "NORMAL",
"bIsMicroBot": false,
"iPackageId": "...",
"sTokenAddress": "...",
"sPoolId": "...",
"sAddress1": "...",
"nVolumeTraded": 12.34
}
}

Errors

StatusMeaning
403Bot not owned by caller.
404Bot not found.

Example

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/classic/bot/<botId>"