Open Archives API » Stats/Event types

Shows statistics about the event types.

URL

https://api.openarch.nl/1.0/stats/events.json

Method

GET

Input

NameRequiredDescriptionDefault
archiveNoCode 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 is specified, all event types are shown with the total number of records.

Example: https://api.openarch.nl/1.0/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

Find your ancestors and publish your family tree on Genealogy Online via https://www.genealogieonline.nl/en/