---
title: "Get all data classes in the system"
method: GET
path: "/dataclasses"
tags: ["Breach catalogue"]
---

# Get all data classes in the system

`GET /dataclasses`

## Request

- Base URL: `https://haveibeenpwned.com/api/v3`
- URL: `https://haveibeenpwned.com/api/v3/dataclasses`
- Auth: none required

Returns the alphabetically ordered list of data classes seen across breaches in the system. This endpoint is unauthenticated. A user-agent header is recommended.

## Headers

- `user-agent` string

## Response `200`

Alphabetically ordered list of data classes

- string[]

## Changes

- **2026-11-16** `7bd47da8c4f3`: 2 info
  - the `header` request parameter `user-agent` became optional
  - removed the non-success response with the status `403`
- **2026-09-11** `1bb60b713979`: 2 info
  - api operation id `getDataClasses` was added
  - api tag `Breach catalogue` added

[Operation history](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/changes/dataclasses/get.md)

---

[API](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3.md) - [All operations](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/revisions/52f578954670?raw)
