> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anivahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Biomarker Categories

> Browse the categories of the biomarker catalog

Returns every biomarker category, sorted by name. A biomarker refers to a category in
`primary_category_key` and `secondary_category_key` ([List Biomarkers](https://docs.anivahealth.com/api/biomarkers/list-biomarkers.md)).
Use this endpoint to build a category filter or to show a category name in your language.

Requires the `panels_access` scope.

## Request

### Headers

**Accept-Language** `string`

The language of the category names, for example `de`. Without it, the names are English. See
[Languages](https://docs.anivahealth.com/introduction.md#languages).

## Response

Returns an array of categories.

**key** `string`

Stable key of the category, for example `hormones` or `tree_pollen`. It is the same in every
language. Compare this value, not the name.

**name** `string`

Name of the category, in the language of the request.

**used\_as\_primary** `boolean`

`true` when a biomarker that is not archived has this category as its primary category.

**used\_as\_secondary** `boolean`

`true` when a biomarker that is not archived has this category as its secondary category. A
secondary category divides a primary category, for example `Tree pollen` in `Allergies`. A
category can be both.

## Error responses

| Status | Description |
| - | - |
| `401` | The API key is missing or invalid. |
| `403` | Forbidden — missing `panels_access` scope. |
| `500` | Internal server error. |

```bash cURL theme={null}
curl --url 'https://anivahealth.com/api/v1/biomarkers/categories' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Accept-Language: de'
```

```json 200 theme={null}
[
  { "key": "allergies", "name": "Allergien", "used_as_primary": true, "used_as_secondary": false },
  { "key": "tree_pollen", "name": "Baumpollen", "used_as_primary": false, "used_as_secondary": true },
  { "key": "hormones", "name": "Hormone", "used_as_primary": true, "used_as_secondary": false },
  { "key": "micronutrients", "name": "Mikronährstoffe", "used_as_primary": true, "used_as_secondary": true }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.