Skip to content

Get accounts by group#


Get accounts by group.

GET /users/current/mt4/provisioning-profiles/:profileId/groups/:groupName/accounts

For more information see swagger documentation


Name Type Required Description
auth-token string Yes MetaApi account token. See Authentication & authorization

Path parameters#

Name Type Required Description
profileId string Yes Id of the provisioning profile that will be used as the basis
groupName string Yes Group name


  • 200 - Successfully retrieved accounts by group. Response schema: MetatraderUser
  • 400 - Request validation failed. Response schema: Error


Example request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{}' '\\Group/accounts'

Example response:

    "login": "86053193",
    "address": "30 N Gould Street",
    "balance": "100",
    "city": "Sheridan",
    "country": "USA",
    "email": "",
    "group": "Example\\Group",
    "leverage": "100",
    "name": "Example User",
    "phone": "+1(303)327-9699",
    "state": "Wyoming",
    "zip": "6200",
    "clientId": "5423512"