Beware: this is the documentation of the 1.0 version of this method, see the 1.1 documentation.
Shows statistics about the records.
https://api.openarchieven.nl/1.0/stats/records.json
GET
Name | Required | Description | Default |
---|---|---|---|
archive | No | Code of archive (obtain a list of valid archive codes via Stats/Archives) | |
callback | No | Function name to be called on JSON data (JSONP). |
If no archive is specified, all archives are shown with the total number of records.
Example: https://api.openarchieven.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.openarchieven.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 } ] } ]
One of the following errors may be thrown:
Error code | Error message |
---|---|
1 | Invalid archive |
An example error looks (pretty-printed) like:
{ "error_code": 1, "error_description": "Invalid archive" }
Zoek uw voorouders en publiceer uw stamboom op Genealogie Online via https://www.genealogieonline.nl/