---
search:
  tags:
    - Categories
    - GET
seo:
  description: >-
    List categories. Not paginated: returns up to limit active categories,
    ordered by name,… Reference for the GET /categories endpoint in the
    scango.ch API.
sidebar:
  label: List categories
  badge: GET
title: List categories
type: openapi-operation
---
List categories. Not paginated: returns up to `limit` active categories, ordered by `name`, without `nextCursor`.

`GET /categories`

**Responses**

- `200` — Categories with meta
- `400` — Invalid query parameters.
- `403` — Missing, unknown or inactive API key, or a Read key on a write operation.

Response example, 200:

```json
{
  "data": [
    {
      "id": "cat_01",
      "name": "Beverages",
      "index": 1,
      "showOnScreen": true
    }
  ],
  "meta": {
    "total": 1,
    "returned": 1,
    "limit": 100
  }
}
```

Response example, 400:

```json
{
  "error": {
    "formErrors": [],
    "fieldErrors": {
      "limit": [
        "Number must be less than or equal to 5000"
      ]
    }
  }
}
```

Response example, 403:

```json
{
  "statusCode": 403,
  "message": "Unknown Error",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/products"
}
```
