Open Archives Records API
Search and retrieve individual genealogical records
Search and retrieve individual genealogical records
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/openarchieven-nl:openarchieven-nl-records-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Open Archives Records API
version: '1.1'
description: The Open Archives API provides access to the genealogical dataset of Dutch, Belgian and French archives and associations. It allows searching and retrieving genealogical records, statistical data on archives, source types, event types, family names, first names, professions, as well as related historical data such as weather measurements and Dutch census data. **API calls are throttled per IP address to 4 requests per second**, contact Open Archives to increase this value.
contact:
name: Coret Genealogie
email: api@openarch.nl
x-rateLimit:
requestsPerSecond: 4
scope: ip
servers:
- url: https://api.openarchieven.nl/1.1
description: Open Archives API server
tags:
- name: Records
description: Search and retrieve individual genealogical records
paths:
/records/search.json:
get:
tags:
- Records
operationId: searchRecords
summary: Search genealogical records
description: 'Searches the genealogical dataset and returns found persons and records. Supports filtering by archive, source type, event place, birth place, relation type and country. Results are pageable and sortable. Note: version 1.1 uses `archive_code` instead of `archive`.'
parameters:
- name: name
in: query
required: true
description: 'Search query. Can include two names separated by `&` and a year or period. See https://www.openarchieven.nl/ for advanced query syntax.
'
schema:
type: string
example: Coret
- name: archive_code
in: query
required: false
description: 'Filter results on a specific archive. Obtain valid archive codes via the Stats/Archives endpoint.
'
schema:
type: string
example: bhi
- name: not_archive
in: query
required: false
description: 'When set to `1` in combination with `archive_code`, results from the selected archive are excluded instead of the search being restricted to it. Has no effect without `archive_code`.
'
schema:
type: integer
enum:
- 0
- 1
default: 0
example: 1
- name: number_show
in: query
required: false
description: Number of results to return. Maximum is 100.
schema:
type: integer
default: 10
maximum: 100
example: 5
- name: sourcetype
in: query
required: false
description: 'Filter results on source type. Obtain valid source types via the Stats/Sources endpoint.
'
schema:
type: string
example: Civil registration marriages
- name: eventplace
in: query
required: false
description: Filter results on event place.
schema:
type: string
example: Amsterdam
- name: birthplace
in: query
required: false
description: Filter results on birth place of the person.
schema:
type: string
example: Rotterdam
- name: relationtype
in: query
required: false
description: Filter results on relation type (e.g. Bride, Groom, Registered).
schema:
type: string
example: Bride
- name: country_code
in: query
required: false
description: 'Filter results on country. Available codes: nl, be, fr, sr, etc.'
schema:
type: string
example: nl
- name: sort
in: query
required: false
description: 'Column to sort results on. Use a negative value to sort descending, positive to sort ascending. 1=Name, 2=Role, 3=Event, 4=Date, 5=Place, 6=Source.
'
schema:
type: integer
default: 1
enum:
- -6
- -5
- -4
- -3
- -2
- -1
- 1
- 2
- 3
- 4
- 5
- 6
example: 4
- name: start
in: query
required: false
description: 'Initial result offset for paging. Deep pagination is not supported: the maximum allowed value is 10000. Requests with `start` greater than 10000 are rejected with HTTP 400 (error_code 50).
'
schema:
type: integer
default: 0
minimum: 0
maximum: 10000
- name: lang
in: query
required: false
description: 'Language code. Affects archive name, sourcetype, relationtype and eventtype labels in the response.
'
schema:
type: string
enum:
- nl
- en
default: nl
example: en
- name: callback
in: query
required: false
description: JavaScript function name for JSONP callback.
schema:
type: string
responses:
'200':
description: Successful search response
content:
application/json:
schema:
$ref: '#/components/schemas/SearchResponse'
example:
query:
archive: null
name: Coret
only_results_with_scans: false
start: 0
number_show: 5
sort: 1
language: en
response:
number_found: 1060
docs:
- pid: Person:d930055c-462d-11e3-a747-d206bceb4d38
identifier: 6b396b55-ffe0-5ccf-a1e0-8330f78157b5
archive_code: bhi
archive_org: Brabants Historisch Informatie Centrum
archive: Brabant Historical Information Centre
personname: 2 Coret
relationtype: Bride
_relationtype: Bruid
eventtype: Marriage
_eventtype: Huwelijk
eventdate:
day: 3
month: 11
year: 1855
eventplace: '''s-Hertogenbosch'
sourcetype: Civil registration marriages
url: https://www.openarchieven.nl/bhi:6b396b55-ffe0-5ccf-a1e0-8330f78157b5/en
'400':
description: Invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidArchive:
summary: Invalid archive code
value:
error_code: 1
error_description: Invalid archive
invalidLang:
summary: Invalid language code
value:
error_code: 4
error_description: Invalid lang
missingName:
summary: Missing required name parameter
value:
error_code: 21
error_description: Missing required name
startExceedsMax:
summary: Deep pagination not allowed (start > 10000)
value:
error_code: 50
error_description: Value of start exceeds defined maximum (10000); deep pagination is not supported
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/show.json:
get:
tags:
- Records
operationId: showRecord
summary: Show a single genealogical record
description: 'Returns one specific genealogical record in JSON format (UTF-8). The response conforms to the Archive 2 All (A2A) model. Also available as XML, GEDCOM, Turtle (TTL), N-Triples (NT) and Markdown (MD, a compact human- and AI-readable summary with the canonical record URL) by changing the file extension in the URL. On the website the same formats are reachable as https://www.openarchieven.nl/{archive}:{identifier}/md (and /json, /xml, /ttl, /gedcom). Note: version 1.1 features improved JSON/XML output and adds N-Triples and Turtle formats.'
parameters:
- name: archive
in: query
required: true
description: 'Code of the archive holding the record. Obtain valid archive codes via the Stats/Archives endpoint.
'
schema:
type: string
example: hua
- name: identifier
in: query
required: true
description: Unique identifier (UUID) of the record.
schema:
type: string
format: uuid
example: E13B9821-C0B0-4AED-B20B-8DE627ED99BD
- name: lang
in: query
required: false
description: 'Language code. Affects archive name, sourcetype, relationtype and eventtype labels in the JSON response.
'
schema:
type: string
enum:
- nl
- en
default: nl
example: en
- name: callback
in: query
required: false
description: JavaScript function name for JSONP callback.
schema:
type: string
responses:
'200':
description: A2A model record in JSON format
content:
application/json:
schema:
$ref: '#/components/schemas/A2ARecord'
example:
Person:
- '@pid': Person2650847486
PersonName:
PersonNameFirstName: Christianus Johannes Jacobus
PersonNameLastName: Elling
Age:
PersonAgeLiteral: '23'
BirthPlace:
Place: Amsterdam
Profession: kleermaker
Event:
'@eid': Event1
EventType: Huwelijk
EventDate:
LiteralDate: 06-10-1904
Year: '1904'
Month: '10'
Day: '06'
EventPlace:
Place: Amsterdam
RelationEP:
- PersonKeyRef: Person2650847486
EventKeyRef: Event1
RelationType: Bruidegom
Source:
SourceType: BS Huwelijk
SourcePlace:
Country: Nederland
Place: Amsterdam
'400':
description: Invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/match.json:
get:
tags:
- Records
operationId: matchRecord
summary: Match a person to birth and death records
description: Searches the genealogical dataset by exact name and birth year and returns the Open Archives URIs of birth records, death records and registrations in which the person is mentioned.
parameters:
- name: name
in: query
required: true
description: Full name of the person. No special operators are available.
schema:
type: string
example: Elizabeth Schoolmeester
- name: birthyear
in: query
required: true
description: Year of birth as a numerical value.
schema:
type: integer
example: 1818
- name: lang
in: query
required: false
description: 'Language code. Affects eventtype, sourcetype and archive labels in the response.
'
schema:
type: string
enum:
- nl
- en
default: nl
example: en
- name: callback
in: query
required: false
description: JavaScript function name for JSONP callback.
schema:
type: string
responses:
'200':
description: Match results containing URIs to relevant records
content:
application/json:
schema:
$ref: '#/components/schemas/MatchResponse'
example:
query:
name: Elizabeth Schoolmeester
birthyear: 1818
lang: en
response:
number_found: 2
docs:
- uri: https://www.openarchieven.nl/zar:242FCD17-6CB7-4D5E-AFED-FD78017E7D6E
eventtype: Birth
eventplace: Nisse
sourcetype: Civil registration births
archive: Zeeland Archives
archive_code: zar
- uri: https://www.openarchieven.nl/bor:b58fc802-17c9-a9ab-58d5-061d19489ef4
eventtype: Birth
eventplace: Nisse
sourcetype: Civil registration births
archive: Municipal Archive Borsele
archive_code: bor
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/yearsago.json:
get:
tags:
- Records
operationId: getBirthsYearsAgo
summary: List births that occurred a specified number of years ago
description: 'Returns a list of birth records for people born exactly the specified number of years ago from today. Note: version 1.1 uses `archive_code` instead of `archive` and includes the archive name and record URL.'
parameters:
- name: years
in: query
required: true
description: Number of years ago (the date is calculated from today).
schema:
type: integer
example: 200
- name: number_show
in: query
required: false
description: Maximum number of results per page to return.
schema:
type: integer
default: 10
maximum: 100
- name: callback
in: query
required: false
description: JavaScript function name for JSONP callback.
schema:
type: string
responses:
'200':
description: Array of birth records from people born the specified years ago
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/YearsAgoRecord'
example:
- archive_code: hco
archive: Historisch Centrum Overijssel
identifier: AD23D724-9527-4EE9-AA1A-DAFF91AF9E89
name: Sophia Fredrika van der Vegt
place: Emmen (Dalfsen)
scan: 1
url: https://www.openarchieven.nl/hco:AD23D724-9527-4EE9-AA1A-DAFF91AF9E89
- archive_code: zar
archive: Zeeuws Archief
identifier: DAE34DB7-5EB0-4368-BE41-4067E58CA7C4
name: Pieter Meijers
place: Serooskerke
scan: 1
url: https://www.openarchieven.nl/zar:DAE34DB7-5EB0-4368-BE41-4067E58CA7C4
'400':
description: Invalid parameters
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/getBirths.json:
get:
tags:
- Records
operationId: getBirths
summary: Finds birth records
parameters:
- name: name
in: query
description: name of the person on the birth certificate
required: true
schema:
type: string
- name: eventyear
in: query
description: year of birth of the person
required: false
schema:
type: integer
- name: eventplace
in: query
description: place of birth of the person
required: false
schema:
type: string
- name: eventprovince
in: query
description: province in which the birth took place
required: false
schema:
type: string
- name: number_show
in: query
required: false
description: Maximum number of results per page to return.
schema:
type: integer
default: 10
maximum: 100
- name: start
in: query
required: false
description: 'Initial result offset for paging. Deep pagination is not supported: the maximum allowed value is 10000. Requests with `start` greater than 10000 are rejected with HTTP 400 (error_code 50).
'
schema:
type: integer
default: 0
minimum: 0
maximum: 10000
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Search2Response'
'400':
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
startExceedsMax:
summary: Deep pagination not allowed (start > 10000)
value:
error_code: 50
error_description: Value of start exceeds defined maximum (10000); deep pagination is not supported
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/getDeaths.json:
get:
tags:
- Records
operationId: getDeaths
summary: Finds death records
parameters:
- name: name
in: query
description: name of the person on the death certificate
required: true
schema:
type: string
- name: eventyear
in: query
description: year of death of the person
required: false
schema:
type: integer
- name: eventplace
in: query
description: place of death of the person
required: false
schema:
type: string
- name: number_show
in: query
required: false
description: Maximum number of results per page to return.
schema:
type: integer
default: 10
maximum: 100
- name: start
in: query
required: false
description: 'Initial result offset for paging. Deep pagination is not supported: the maximum allowed value is 10000. Requests with `start` greater than 10000 are rejected with HTTP 400 (error_code 50).
'
schema:
type: integer
default: 0
minimum: 0
maximum: 10000
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Search2Response'
'400':
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
startExceedsMax:
summary: Deep pagination not allowed (start > 10000)
value:
error_code: 50
error_description: Value of start exceeds defined maximum (10000); deep pagination is not supported
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
/records/getMarriages.json:
get:
tags:
- Records
operationId: getMarriages
summary: Finds marriage records of couples (bride or groom)
parameters:
- name: name1
in: query
description: name of the first person (bride or groom) on the marriage certificate
required: true
schema:
type: string
- name: name2
in: query
description: name of the second person (bride or groom) on the marriage certificate
required: true
schema:
type: string
- name: eventyear
in: query
description: year the bride and groom married
required: false
schema:
type: integer
- name: eventplace
in: query
description: place where the bride and groom were married
required: false
schema:
type: string
- name: number_show
in: query
required: false
description: Maximum number of results per page to return.
schema:
type: integer
default: 10
maximum: 100
- name: start
in: query
required: false
description: 'Initial result offset for paging. Deep pagination is not supported: the maximum allowed value is 10000. Requests with `start` greater than 10000 are rejected with HTTP 400 (error_code 50).
'
schema:
type: integer
default: 0
minimum: 0
maximum: 10000
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Search2Response'
'400':
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
startExceedsMax:
summary: Deep pagination not allowed (start > 10000)
value:
error_code: 50
error_description: Value of start exceeds defined maximum (10000); deep pagination is not supported
'429':
description: Too Many Requests — rate limit of 4 requests per second per IP exceeded.
components:
schemas:
MatchDoc:
type: object
description: A single match result linking a person to a record URI.
properties:
uri:
type: string
format: uri
description: Open Archives URI for the matching record.
eventtype:
type: string
description: Type of the event in the requested language.
eventplace:
type: string
description: Place where the event occurred.
sourcetype:
type: string
description: Type of the source document.
archive:
type: string
description: Name of the archive in the requested language.
archive_code:
type: string
description: Short archive code.
YearsAgoRecord:
type: object
description: A birth record from a person born a specified number of years ago.
properties:
archive_code:
type: string
description: Short archive code.
examples:
- hco
archive:
type: string
description: Full archive name.
examples:
- Historisch Centrum Overijssel
identifier:
type: string
format: uuid
description: Record UUID.
examples:
- AD23D724-9527-4EE9-AA1A-DAFF91AF9E89
name:
type: string
description: Name of the person.
examples:
- Sophia Fredrika van der Vegt
place:
type: string
description: Place of birth.
examples:
- Emmen
scan:
type: integer
description: Indicates whether a scan is available (1=yes, 0=no).
enum:
- 0
- 1
examples:
- 1
url:
type: string
format: uri
description: URL of the record on Open Archives.
examples:
- https://www.openarchieven.nl/hco:AD23D724-9527-4EE9-AA1A-DAFF91AF9E89
MatchResponse:
type: object
description: Response from the Records/Match endpoint.
properties:
query:
type: object
properties:
name:
type: string
birthyear:
type: integer
lang:
type: string
response:
type: object
properties:
number_found:
type: integer
docs:
type: array
items:
$ref: '#/components/schemas/MatchDoc'
SearchQuery:
type: object
description: Echo of the interpreted search query.
properties:
archive:
type: string
name:
type: string
only_results_with_scans:
type: boolean
start:
type: integer
number_show:
type: integer
sort:
type: integer
language:
enum:
- nl
- en
- de
- fr
additionalProperties: true
Search2Response:
type: object
properties:
query:
$ref: '#/components/schemas/SearchQuery'
response:
$ref: '#/components/schemas/Search2Results'
SearchResponse:
type: object
description: Top-level search response.
properties:
query:
$ref: '#/components/schemas/SearchQuery'
response:
type: object
properties:
number_found:
type: integer
description: Total number of results found.
examples:
- 1060
docs:
type: array
items:
$ref: '#/components/schemas/SearchDoc'
EventDate:
type: object
properties:
day:
type: integer
month:
type: integer
year:
type: integer
Search2Result:
type: object
properties:
identifier:
type: string
archive_code:
type: string
archive_org:
type: string
archive:
type: string
personname:
type: string
relationtype:
type: string
_relationtype:
type: string
eventtype:
type: string
_eventtype:
type: string
eventdate:
$ref: '#/components/schemas/EventDate'
eventplace:
type: string
sourcetype:
type: string
url:
type: string
format: uri
SearchDoc:
type: object
description: A single search result item representing a person mentioned in a record.
properties:
pid:
type: string
description: Person identifier.
identifier:
type: string
description: Record UUID.
archive_code:
type: string
description: Archive code.
archive_org:
type: string
description: Name of the archive organisation (Dutch).
archive:
type: string
description: Name of the archive (in the requested language).
personname:
type: string
description: Name of the person as it appears in the record.
relationtype:
type: string
description: Relation type in the requested language.
_relationtype:
type: string
description: Relation type in Dutch.
eventtype:
type: string
description: Event type in the requested language.
_eventtype:
type: string
description: Event type in Dutch.
eventdate:
type: object
nullable: true
properties:
day:
type: integer
month:
type: integer
year:
type: integer
eventplace:
type:
- string
- 'null'
description: Place where the event occurred.
sourcetype:
type: string
description: Type of the source document.
url:
type: string
format: uri
description: URL of the record on Open Archives.
Search2Results:
type: object
properties:
number_found:
type: integer
description: total number of search results
docs:
type: array
items:
$ref: '#/components/schemas/Search2Result'
ErrorResponse:
type: object
description: Standard error response returned by all endpoints.
properties:
error_code:
type: integer
description: Numeric error code identifying the error type.
examples:
- 4
error_description:
type: string
description: Human-readable description of the error.
examples:
- Invalid lang
required:
- error_code
- error_description
A2ARecord:
type: object
description: 'A genealogical record in the Archive 2 All (A2A) model format. Field order may differ from the XSD due to hash-based serialisation.
'
properties:
Person:
type: array
items:
type: object
properties:
'@pid':
type: string
PersonName:
type: object
properties:
PersonNameFirstName:
type: string
PersonNamePrefixLastName:
type: string
PersonNameLastName:
type: string
Age:
type: object
properties:
PersonAgeLiteral:
type: string
BirthPlace:
type: object
properties:
Place:
type: string
Profession:
type: string
Event:
type: object
properties:
'@eid':
type: string
EventType:
type: string
EventDate:
type: object
properties:
LiteralDate:
type: string
Year:
type: string
Month:
type: string
Day:
type: string
EventPlace:
type: object
properties:
Place:
type: string
RelationEP:
type: array
items:
type: object
properties:
PersonKeyRef:
type: string
EventKeyRef:
type: string
RelationType:
type: string
Source:
type: object
properties:
SourceType:
type: string
SourcePlace:
type: object
properties:
Country:
type: string
Place:
type: string
SourceDate:
type: object
properties:
LiteralDate:
type: string
Year:
type: string
Month:
type: string
Day:
type: string
SourceIndexDate:
type: object
properties:
From:
type: string
format: date
To:
type: string
format: date
SourceReference:
type: object
additionalProperties: true