Open Archives API » Stats/Event types

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.

URL

https://api.openarchieven.nl/1.1/stats/events.json

Method

GET

Input

NameRequiredDescriptionDefault
archive_codeNoCode of archive (obtain a list of valid archive codes via Stats/Archives)
callbackNoFunction name to be called on JSON data (JSONP).

Output

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
	},
	...
]

Errors

One of the following errors may be thrown:

Error codeError message
1Invalid archive

An example error looks (pretty-printed) like:

	{
	"error_code": 1,
	"error_description": "Invalid archive"
}

Back to API documentation

Zoek uw voorouders en publiceer uw stamboom op Genealogie Online via https://www.genealogieonline.nl/