Open Archives API » Records/Yearsago

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

URL

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

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