Open Archives API » Stats/Sources types

Shows statistics about the source types.

URL

https://api.openarch.nl/1.0/stats/sources.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 source types are shown with the total number of records.

Example: https://api.openarch.nl/1.0/stats/sources.json outputs (pretty-printed):

[
	{
		"sourcetype": "DTB Dopen",
		"sourcetypelocal": "DTB Dopen",
		"sourcetypeenglish": "Church records baptisms",
		"count": 1723821
	},
	{
		"sourcetype": "BS Geboorte",
		"sourcetypelocal": "BS Geboorte",
		"sourcetypeenglish": "Civil registration births",
		"count": 606662
	},
	{
		"sourcetype": "BS Overlijden",
		"sourcetypelocal": "BS Overlijden",
		"sourcetypeenglish": "Civil registration deaths",
		"count": 604219
	},
	{
		"sourcetype": "DTB Trouwen",
		"sourcetypelocal": "DTB Trouwen",
		"sourcetypeenglish": "Church records marriages",
		"count": 326972
	},
	{
		"sourcetype": "BS Huwelijk",
		"sourcetypelocal": "BS Huwelijk",
		"sourcetypeenglish": "Civil registration marriages",
		"count": 317304
	},
	{
		"sourcetype": "Bevolkingsregister",
		"sourcetypelocal": "Bevolkingsregister",
		"sourcetypeenglish": "Population register",
		"count": 256672
	},
	{
		"sourcetype": "Notari\u00eble archieven",
		"sourcetypelocal": "Notari\u00eble archieven",
		"sourcetypeenglish": "Notarial records",
		"count": 247676
	},
	{
		"sourcetype": "Bonboeken",
		"sourcetypelocal": "Bonboeken",
		"sourcetypeenglish": "Tax books",
		"count": 196418
	},
	{
		"sourcetype": "DTB Begraven",
		"sourcetypelocal": "DTB Begraven",
		"sourcetypeenglish": "Church records burials",
		"count": 163810
	}
]

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

Publiceer uw stamboom en zoek uw voorouders op Genealogie Online!
https://www.genealogieonline.nl/