Cross-tabulation aggregation grouped by one dimension
Returns record counts filtered by any combination of archive, source type, event type, event place and year range, grouped by ONE chosen dimension (archive, sourcetype, eventtype, place or year). Use this endpoint to answer questions such as "how many Bidprentjes per archive?" or "how many marriages per year in Amsterdam?". The response includes the total filtered record count, the total number of distinct groups (capped at 750) and the top-N groups according to the chosen sort.
Request
- Base URL: https://api.openarchieven.nl/1.1
- URL: https://api.openarchieven.nl/1.1/stats/breakdown.json
- Auth: none declared
Query parameters
Dimension to aggregate on.
Archive code to filter on. Prefix with ! to negate (e.g. !saa excludes Stadsarchief Amsterdam).
Source type to filter on. Multiple source types can be combined with & (space, ampersand, space), matching the convention of /records/search.json.
Event type filter. 0=all, 1=Birth/Christening, 2=Marriage, 3=Death/Burial, 6=Notarial deeds (matches the mapping used by /stats/familynames.json).
Event place to filter on (exact match).
Starting year of events to include. Minimum 1500. Alias eventyearstart is also accepted.
Ending year of events to include. Maximum 1960. Alias eventyearend is also accepted.
Exclude groups with fewer records than this threshold.
Maximum number of groups returned. Maximum is 500.
Order of the returned groups. count_desc (default) and count_asc sort by count; name_asc sorts alphabetically by key (raw facet value).
Language for human-readable labels (sourcetype and eventtype groups only). Only nl and en produce localised labels; de and fr are accepted but currently fall back to Dutch.
JavaScript function name for JSONP callback.
Response
Cross-tabulation breakdown.
Example response
{
"total_records": 2991005,
"total_groups": 47,
"results": [
{
"key": "hwh",
"label": "Heemkundekring Weerderheem",
"count": 201236
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.