Get the list of active entities
GET
/ver1/accounts/:account_id/active_trading_entitiesReturns the number of active trading entities (bots, deals, and SmartTrades) associated with the account using its ID.
Response Parameters
Contains aggregated information about the active trading entities on this account.
Hide child parametersShow child parameters
Example Responses
- 200 OK
- 404 Not Found
- 422 Unprocessable Entity
{
"data": {
"active_bots_count": 5,
"active_deals_count": 4,
"active_smart_trades_count": 3,
"active_orders_count": 2,
"active_grid_bots_count": 0
}
}
{
"error": "not_found",
"error_description": "Not Found"
}
{
"error_description": "API keys are no longer valid or incorrect.",
"error": "invalid_api_key"
}