Stats

Record count statistics per archive

Returns record count statistics. When no archive is specified, all archives are listed with their total number of records. When an archive code is specified, the source types available for that archive are returned with their individual record counts. Note: version 1.1 uses archive_code instead of archive.

get/stats/records.json

Request

  • Base URL: https://api.openarchieven.nl/1.1
  • URL: https://api.openarchieven.nl/1.1/stats/records.json
  • Auth: none declared

Query parameters

archive_codestring

Code of the archive to filter on. Obtain valid codes via the Stats/Archives endpoint.

callbackstring

JavaScript function name for JSONP callback.

Response

Array of archive record counts. When archive_code is provided, includes a breakdown by source type.

archive_codestring
archivestring
countinteger

Example response

[
  {
    "archive_code": "saa",
    "archive": "Stadsarchief Amsterdam",
    "count": 23309640,
    "sourcetypes": [
      {
        "sourcetype": "DTB Dopen",
        "count": 1945558
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.