# List Copy Groups

List your copy trading groups.

`GET https://api.algodeltafx.com/api/v1/users/group/getgroups`

- API: Master API (v1)
- Authentication: Send the master token as `Authorization: <MASTER_TOKEN>` (no `Bearer` prefix). Get one from [Get Master Token](/api/master-login/).

Return every copy trading group on your AlgoDeltaFX user. A group links one master account to any number of child accounts that copy its trades.

## Parameters

None.

## Example: cURL

```bash
curl https://api.algodeltafx.com/api/v1/users/group/getgroups \
  -H "Authorization: $MASTER_TOKEN"
```

## Example: Python

```python
import os
import requests

res = requests.get(
    "https://api.algodeltafx.com/api/v1/users/group/getgroups",
    headers={"Authorization": os.environ["MASTER_TOKEN"]},
    timeout=30,
)
data = res.json()
print(data["status"], data.get("msg"), data.get("data"))
```

## Response

Standard envelope: `status` (boolean), `msg` (string), `data` (object or array).

## Related

- [List Group Accounts](https://docs.algodeltafx.com/api/list-group-accounts.md): List the accounts in a copy group with their lot settings.
- [Add Account to Group](https://docs.algodeltafx.com/api/add-account-to-group.md): Add an MT5 account to a copy group as a child, with its lot sizing rule.


---
Source: https://docs.algodeltafx.com/api/list-groups/
