Open Archives API » Stats/Records

Shows statistics about the records.

URL

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

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

[
	{
		"archive": "Erfgoed Leiden en omstreken",
		"count": 4287644
	},
	{
		"archive": "Gemeentearchief Ede",
		"count": 95848
	},
	{
		"archive": "Streekarchief Langstraat Heusden Altena",
		"count": 43349
	},
	{
		"archive": "Regionaal Historisch Centrum Vecht en Venen",
		"count": 9045
	},
	{
		"archive": "Regionaal Archief Alkmaar",
		"count": 5352
	},
	{
		"archive": "Groene Hart Archieven",
		"count": 1846
	},
	{
		"archive": "Gemeentearchief Tholen",
		"count": 250
	}
]

If a archive code is specified, all source types available for that archive are shown with the totel number of records.

Example: https://api.openarch.nl/1.0/stats/records.json?archive=elo outputs:

[
	{
		"archive": "Erfgoed Leiden en omstreken",
		"count": 4290378,
		"sourcetypes": [
			{
				"sourcetype": "DTB Dopen",
				"count": 1705895
			},
			{
				"sourcetype": "BS Geboorte",
				"count": 590997
			},
			{
				"sourcetype": "BS Overlijden",
				"count": 527270
			},
			{
				"sourcetype": "DTB Trouwen",
				"count": 324806
			},
			{
				"sourcetype": "BS Huwelijk",
				"count": 293388
			},
			{
				"sourcetype": "Bevolkingsregister",
				"count": 253703
			},
			{
				"sourcetype": "Notari\u00eble archieven",
				"count": 247889
			},
			{
				"sourcetype": "Bonboeken",
				"count": 187358
			},
			{
				"sourcetype": "DTB Begraven",
				"count": 159072
			}
		]
	}
]

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/