Open Archives API » Records/Yearsago

Beware: this is the documentation of the 1.0 version of this method, see the 1.1 documentation.

This method returns a list of births which took place years ago.

URL

https://api.openarchieven.nl/1.0/records/yearsago.json

Method

GET

Input

NameRequiredDescriptionDefault
yearsYesNumber of years ago (date is calculated from today)
number_showNoMaximum number of persons returned10
callbackNoFunction name to be called on JSON data (JSONP).

Output

Returns in JSON format the list of people born specified years ago

Example: https://api.openarchieven.nl/1.0/records/yearsago.json?years=200

[
	{
		"archive": "elo",
		"identifier": "15ddb465-2696-e224-9cd6-b57095041e45",
		"name": "Geertruida Wiede",
		"place": "Leiden",
		"scan": true
	}
]

A link to the HTML page where the record is shown can be constructed as follows:
https://www.openarchieven.nl/show.php?archive={archive}&identifier={identifier}

Errors

One of the following errors may be thrown:

Error codeError message
9Invalid years
10Invalid number_show
16Missing required years

An example error looks (pretty-printed) like:

{
	"error_code": 9,
	"error_description": "Invalid years"
}

Back to API documentation

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