Get all accounts .

GET

Request

/account

Response

{
    "result": "success",
    "status": 200,
    "code": "SUCCESS",
    "message": "Success",
    "data": {
        "accounts": [
            {
                "id": 11497,
                "created_at": "2019-03-27 10:20:50",
                "updated_at": "2019-04-20 04:36:01",
                "mt_version": 4,
                "account_name": "50K FX USD",
                "account_number": 45805350,
                "password": "password",
                "broker_server_id": null,
                "broker_server_address": "78.140.180.200:443",
                "status": "connection_lost",
                "login_response": "login_success",
                "last_ping": "2019-04-20 03:34:35",
                "broker": "MetaQuotes Software Corp.",
                "suffix": "",
                "equity_protect": "off",
                "equity_protect_value": 0,
                "currency": "USD",
                "balance": 50077.33,
                "credit": 0,
                "equity": 50077.33,
                "free_margin": 50077.33,
                "used_margin": 0,
                "open_trades": 0,
                "pending_orders": 0,
                "daily_profit": 0,
                "weekly_profit": 0,
                "monthly_profit": 0,
                "total_profit": 77.33
            },
            ..... more accounts .....
        ],
        "meta": {
            "count": 1,
            "limit": 1000,
            "order": "desc",
            "last_id": 123
        }
    }
}

Filters

Key Value Description
account_id single integer Find a specific account
account_ids comma separated list of integers Find multiple accounts

Stay in the loop..

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