---
title: "Record count statistics per event type"
method: GET
path: "/stats/events.json"
tags: ["Stats"]
---

# Record count statistics per event type

`GET /stats/events.json`

## Request

- Base URL: `https://api.openarchieven.nl/1.1`
- URL: `https://api.openarchieven.nl/1.1/stats/events.json`
- Auth: none declared

Returns statistics about event types. Without an archive_code all event types across the entire dataset are returned with total counts. With an archive_code, only event types for that archive are returned. Note: version 1.1 uses `archive_code` instead of `archive`.

## Query parameters

- `archive_code` string
- `callback` string

## Response `200`

Array of event type statistics

- EventTypeStat[]
  - `eventtype` string: Event type code (usually in Dutch).
  - `eventtypelocal` string: Localised event type label.
  - `eventtypeenglish` string: English event type label.
  - `count` integer: Total number of records for this event type.

## Other responses

- `400`: Invalid archive code
- `429`: Too Many Requests — rate limit of 4 requests per second per IP exceeded.

---

[API](https://skmtc.dev/openarchieven/apis/open-archives-api.md) · [All operations](https://skmtc.dev/openarchieven/apis/open-archives-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openarchieven/apis/open-archives-api/revisions/4ff4685dd9e9?raw)
