---
search:
  tags:
    - Exchange Groups
    - GET
seo:
  description: >-
    The account's exchange groups: the ones it created and its edits to the
    built-in groups… Reference for the GET /exchange-groups endpoint in the
    Almendra API.
sidebar:
  label: List exchange groups
  badge: GET
title: List exchange groups
type: openapi-operation
---
The account's exchange groups: the ones it created and its edits to the built-in groups of its country's exchange system (`replacesDefaultGroup`). Built-in groups the account never changed are not listed.

Requires the `library:read` permission.

`GET /exchange-groups`

**Responses**

- `200` — Exchange groups
- `401` — Missing or invalid API key
- `403` — The account behind the API key has no active paid plan, or the key lacks the permission this operation needs
- `429` — Rate limit exceeded (600 requests per 60 seconds); retry after \`Retry-After\` seconds
- `500` — Unexpected server error

Response example, 200:

```json
{
  "exchangeGroups": [
    {
      "_id": "string",
      "name": "Cereales sin grasa",
      "description": "string",
      "color": "string",
      "category": "string",
      "replacesDefaultGroup": "string",
      "hidesDefaultGroup": true,
      "foods": [
        {
          "food": "string",
          "foodName": "string",
          "quantity": 0,
          "unit": "string"
        }
      ]
    }
  ]
}
```
