Open Archives API » Stats/Links

Shows statistics about the links between records and online family trees.

URL

https://api.openarchieven.nl/1.0/stats/links.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, the total number of validated links is shown.

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

[
	{
		"count": 18
	}
]

If an archive code is specified, the total number of validated links for records of the specified archive is shown.

Example: https://api.openarchieven.nl/1.0/stats/links.json?archive=elo outputs (pretty-printed):

[
	{
		"archive": "elo",
		"count": 8
	}
]

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/