Get all accounts .

GET

Returns a list of your accounts. By default they are sorted by account_id descending, most recently added accounts first.

As explained on the response format page here, all responses include result, status and data attributes. This endpoint also includes the meta attribute containing count, limit, order and last_id attributes.

Responses are paginated by default at 1000 as explained on the pagination page here but can be paginated by up to 1000 by changing the meta.limit attribute.

You can filter the response of this endpoint using id or ids. This will limit the response to either one account or a selection of accounts. To retrieve a list of accounts use the ids filter with a comma separated string.

Request
/accounts
Response
{
    "result": "success",
    "status": 200,
    "meta": {
        "count": 3,
        "limit": 1000,
        "order": "desc",
        "last_id": 60
    },
    "data": [
        {
           "id": 12345,
            "created_at": "2021-08-04T10:07:49.000000Z",
            "updated_at": "2021-08-04T10:17:37.000000Z",
            "mt_version": 4,
            "account_name": "Follower",
            "account_number": 2345623,
            "password": "ZxCvCs",
            "broker_server_id": 1,
            "broker_server_address": null,
            "status": "connection_ok",
            "login_response": "login_success",
            "last_ping": "2021-08-04T10:17:37.000000Z",
            "broker": "Activtrades Plc",
            "client_name": "User Name",
            "server": "Activtrades-Demo",
            "trade_mode": "demo",
            "leverage": 30,
            "suffix": "",
            "equity_protect": "off",
            "equity_protect_value": 0,
            "currency": "GBP",
            "balance": 229.07,
            "credit": 0,
            "equity": 209.84,
            "free_margin": -8.31,
            "used_margin": 218.15,
            "open_trades": 4,
            "pending_orders": 0,
            "daily_profit": 0,
            "weekly_profit": 0,
            "monthly_profit": 0,
            "total_profit": -20.93
        },
        .....more accounts.....
    ]
}
Filters
Key Value Description
id single integer Find a specific account
ids comma separated string of integers Find multiple accounts

Stay in the loop.

Sign up to our newsletter to keep up-to-date.