Beware: this is the documentation of the 1.1 version of this method which uses archive_code (not archive) for archive code. The old version 1.0 is still available, see the 1.0 documentation.
Shows statistics about the event types.
https://api.openarchieven.nl/1.1/stats/events.json
GET
Name | Required | Description | Default |
---|---|---|---|
archive_code | No | Code of archive (obtain a list of valid archive codes via Stats/Archives) | |
callback | No | Function name to be called on JSON data (JSONP). |
If no archive_code is specified, all event types are shown with the total number of records.
Example: https://api.openarchieven.nl/1.1/stats/events.json outputs (pretty-printed):
[ { eventtype: "Overlijden", eventtypelocal: "Death", eventtypeenglish: "Death", count: 75614873 }, { eventtype: "Registratie", eventtypelocal: "Registration", eventtypeenglish: "Registration", count: 53008060 }, { eventtype: "Geboorte", eventtypelocal: "Birth", eventtypeenglish: "Birth", count: 36163126 }, { eventtype: "Doop", eventtypelocal: "Baptism", eventtypeenglish: "Baptism", count: 31455312 }, { eventtype: "Huwelijk", eventtypelocal: "Marriage", eventtypeenglish: "Marriage", count: 31184161 }, { eventtype: "Notariƫle akte", eventtypelocal: "Notarial deed", eventtypeenglish: "Notarial deed", count: 10393531 }, ... ]
One of the following errors may be thrown:
Error code | Error message |
---|---|
1 | Invalid archive |
An example error looks (pretty-printed) like:
{ "error_code": 1, "error_description": "Invalid archive" }
Find your ancestors and publish your family tree on Genealogy Online via https://www.genealogieonline.nl/en/