search_archives

Search Arkivportalen, the national archive catalogue: fonds, series and units held by Norwegian archive institutions (statsarkiv, byarkiv, private archives, ...).

Signature: search_archives(query: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)

Direct GET

For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.

Open this validated HTML GET URL

https://allemannsdata.com/wiki/kilder/arkivverket/search_archives/?query={query}&limit=25&offset=0

Replace {query}, {limit} with values. Remove unused optional parameters from the URL.

For software and dashboards: Read the operation descriptor. The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_archives?query={query}&limit=25&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
queryrequiredstringFree-text search, e.g. an organisation, topic or place.
limitoptionalintegerResults per page. Unit: items. Through this API: default 25, maximum 100.
offsetoptionalintegerNumber of list items to skip; default 0.
Generated JavaScript, Python and response structure

Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.

Example for generated JavaScript and Python

https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_archives?query={query}&limit=25&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_archives?query={query}&limit=25&offset=0";
const response = await fetch(url);
if (!response.ok) {
  const failure = await response.json();
  throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;

Python without additional packages

import json
from urllib.request import urlopen

url = "https://allemannsdata.com/wiki/api/v1/kilder/arkivverket/search_archives?query={query}&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "arkivverket",
  "operation": "search_archives",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "...", "feedback": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: string. Free-text search, e.g. an organisation, topic or place.
Type: integer. Results per page. Unit: items. Through this API: default 25, maximum 100.

Result

Source: National Archives of Norway. Retrieved 2026-11-11T23:11:36Z in 0.291 seconds.

Showing 10 of 110631 results in compact format.

  1. name:
    Norges Statsbaner Region Sør (NSB)
    id:
    SAKO-A-863
  2. name:
    Norges statsbaner, diverse materiale skapt av ulike NSB-organ
    id:
    RA-S-6537
  3. name:
    Norges Statsbaner (NSB), Statsbanenes verksteder, Oslo
    id:
    RA-S-7127
  4. name:
    Norges Statsbaner Drammen distrikt (NSB)
    id:
    SAKO-A-30
  5. name:
    Norges Statsbaner 2. trafikkdistrikt (NSB)
    id:
    SAKO-A-864
  6. name:
    Norges statsbaner, Bergensbanens forkortelse - Prosjekt: Ringeriksbanen
    id:
    RA-S-6635
  7. name:
    Norges Statsbaner Lågendalsrutene (NSB)
    id:
    SAKO-A-1154
  8. name:
    Distriktsforstanderen - Hamar distrikt (NSB)
    id:
    SAH-NSB-056
  9. name:
    NSB Bedriftshelsetjenesten Kristiansand
    id:
    SAK-1821-0007
  10. name:
    Tønsberg kirkebøker
    id:
    SAKO-A-330
Show all fields in HTML
total:
110631
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    5edec511-6345-4fd5-93d3-2182c6f54575
    name:
    Norges Statsbaner Region Sør (NSB)
    id:
    SAKO-A-863
    path:
    AV/SAKO-A-863
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5edec511-6345-4fd5-93d3-2182c6f54575
  2. urn:
    1d9d41e7-6489-4d7b-984a-59ab6e52ec32
    name:
    Norges statsbaner, diverse materiale skapt av ulike NSB-organ
    id:
    RA-S-6537
    path:
    AV/RA-S-6537
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1d9d41e7-6489-4d7b-984a-59ab6e52ec32
  3. urn:
    3a02219a-c5c6-42ae-bff7-12894367bd94
    name:
    Norges Statsbaner (NSB), Statsbanenes verksteder, Oslo
    id:
    RA-S-7127
    path:
    AV/RA-S-7127
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3a02219a-c5c6-42ae-bff7-12894367bd94
  4. urn:
    9c01ead5-c5b2-4738-abd4-ed7a39920ef3
    name:
    Norges Statsbaner Drammen distrikt (NSB)
    id:
    SAKO-A-30
    path:
    AV/SAKO-A-30
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9c01ead5-c5b2-4738-abd4-ed7a39920ef3
  5. urn:
    9eb61f0c-ff62-43bf-bd01-2e65f1f72b96
    name:
    Norges Statsbaner 2. trafikkdistrikt (NSB)
    id:
    SAKO-A-864
    path:
    AV/SAKO-A-864
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9eb61f0c-ff62-43bf-bd01-2e65f1f72b96
  6. urn:
    d1f4be60-a3e5-48fa-862f-fd2a2217dbd1
    name:
    Norges statsbaner, Bergensbanens forkortelse - Prosjekt: Ringeriksbanen
    id:
    RA-S-6635
    path:
    AV/RA-S-6635
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d1f4be60-a3e5-48fa-862f-fd2a2217dbd1
  7. urn:
    461c4165-af50-4ed9-b9a1-de80a6c9f42c
    name:
    Norges Statsbaner Lågendalsrutene (NSB)
    id:
    SAKO-A-1154
    path:
    AV/SAKO-A-1154
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/461c4165-af50-4ed9-b9a1-de80a6c9f42c
  8. urn:
    52d945cf-fb09-4901-b93c-290d61ef4a6a
    name:
    Distriktsforstanderen - Hamar distrikt (NSB)
    id:
    SAH-NSB-056
    path:
    AV/SAH-NSB-056
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/52d945cf-fb09-4901-b93c-290d61ef4a6a
  9. urn:
    2439a2fa-a9e6-465d-8c82-adf2464a0c56
    name:
    NSB Bedriftshelsetjenesten Kristiansand
    id:
    SAK-1821-0007
    path:
    AV/SAK-1821-0007
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/2439a2fa-a9e6-465d-8c82-adf2464a0c56
  10. urn:
    f14dccf9-0666-49a4-8544-05c73d31b6a7
    name:
    Tønsberg kirkebøker
    id:
    SAKO-A-330
    path:
    AV/SAKO-A-330
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f14dccf9-0666-49a4-8544-05c73d31b6a7
  11. urn:
    eab5118d-421e-4310-8689-08490f65a3e3
    name:
    Simensbråten arbeiderungdomslag
    id:
    ARK-1441
    path:
    AAB/ARK-1441
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/eab5118d-421e-4310-8689-08490f65a3e3
  12. urn:
    94a5ad6c-276d-44c2-be1f-c8733b6792cb
    name:
    Tønsberg sokneprestkontor
    id:
    SAKO-A-329
    path:
    AV/SAKO-A-329
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/94a5ad6c-276d-44c2-be1f-c8733b6792cb
  13. urn:
    fbbc3357-dd0b-4128-ae0e-6d3e50c56d4d
    name:
    Tønsberg forsorgskontor
    id:
    0705311.1-1
    path:
    IKAK/0705311.1-1
    unit_type:
    ARKIV
    institution:
    IKA Kongsberg
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fbbc3357-dd0b-4128-ae0e-6d3e50c56d4d
  14. urn:
    cb176cea-63b3-4222-81f1-07a819ba839d
    name:
    Tønsberg byingeniør
    id:
    0705541-1
    path:
    IKAK/0705541-1
    unit_type:
    ARKIV
    institution:
    IKA Kongsberg
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cb176cea-63b3-4222-81f1-07a819ba839d
  15. urn:
    71ca0ac2-c6f7-4b4b-a780-66a3aaf1ad18
    name:
    Tønsberg kommunikasjonsnemnd
    id:
    0705711-1
    path:
    IKAK/0705711-1
    unit_type:
    ARKIV
    institution:
    IKA Kongsberg
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/71ca0ac2-c6f7-4b4b-a780-66a3aaf1ad18
  16. urn:
    9066e837-5410-4885-9f73-dd207e8702f6
    name:
    Tønsberg likningskontor
    id:
    SAKO-A-1144
    path:
    AV/SAKO-A-1144
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9066e837-5410-4885-9f73-dd207e8702f6
  17. urn:
    b13da29c-0db9-4f92-89c8-5c855142ee02
    name:
    Tønsberg beverterutvalg
    id:
    0705318-1
    path:
    IKAK/0705318-1
    unit_type:
    ARKIV
    institution:
    IKA Kongsberg
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b13da29c-0db9-4f92-89c8-5c855142ee02
  18. urn:
    8e319133-b296-4a32-877e-888d990301f5
    name:
    Norges Statsbaner Bibliotek (NSB)
    id:
    SAKO-A-355
    path:
    AV/SAKO-A-355
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8e319133-b296-4a32-877e-888d990301f5
  19. urn:
    a4b00b64-b9cb-4246-9456-b4f75ffbe224
    name:
    Jernbaneskolen - Hamar (NSB)
    id:
    SAH-NSB-044
    path:
    AV/SAH-NSB-044
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a4b00b64-b9cb-4246-9456-b4f75ffbe224
  20. urn:
    78f876d4-935d-4c9b-9b62-f333bc081b52
    name:
    Maskiningeniøren (NSB)
    id:
    SAH-NSB-038
    path:
    AV/SAH-NSB-038
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/78f876d4-935d-4c9b-9b62-f333bc081b52
  21. urn:
    cf396bf8-7721-445d-b987-3513a4b5b54c
    name:
    Norges Statsbaner (NSB)
    id:
    AS-1255
    path:
    AV/AS-1255
    unit_type:
    Virksomhet
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    NSB 2. trafikkdistrikts arkiv går tilbake til 1863. Distriktets første jernbane, Randsfjordbanen, ble åpnet i 1868. Deretter fulgte Hokksund-Kongsberg i 1871 og Kristiania-Drammen og Vikersund-Krøderen i 1872. Grevskapsbanen, Drammen-Larvik, ble åpnet i 1881. Carl Emil Krefting ble i 1868 ansatt som...
    link:
    https://www.arkivportalen.no/entity/cf396bf8-7721-445d-b987-3513a4b5b54c
  22. urn:
    32d80e51-7714-4b79-a1d9-e88eab6de227
    name:
    NSB-Bane 40.2 24 fotografier av maskiner og arbeid med anlegget av undergrunnsbanen
    id:
    0002
    path:
    AV/RA-S-1619/1/T/Tc/Tc29/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/32d80e51-7714-4b79-a1d9-e88eab6de227
  23. urn:
    e9fa74b3-c589-4aab-8599-f3ddb1397251
    name:
    NSB-Bane 20.14a Tønsberg stasjon - BD 20/87
    id:
    0053
    path:
    AV/RA-S-1619/1/T/Tc/Tc11/0053
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e9fa74b3-c589-4aab-8599-f3ddb1397251
  24. urn:
    7b948e07-f8df-45c4-b2aa-03221067b0e4
    name:
    NSB Verkstedet Hamar
    id:
    SAH-NSB-037
    path:
    AV/SAH-NSB-037
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7b948e07-f8df-45c4-b2aa-03221067b0e4
  25. urn:
    a94b969f-fe5e-45ac-a04d-67d2290354c4
    name:
    NSB-Bane 38.1 Garli stasjon (Hauka stasjonsbygning). Perspektivskisse.
    id:
    0001
    path:
    AV/RA-S-1619/1/T/Tc/Tc27/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a94b969f-fe5e-45ac-a04d-67d2290354c4
Will you use the result in generated code?

Open the same result as JSON

Is data missing or incorrect? Send feedback about this result.

Continue exploring

How an AI agent should use this page

Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.

How to use the search_archives lookup

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. Follow linked results to canonical pages before combining sources.

Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.

Source-specific next step

Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.