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; page: integer, optional, default 1; 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&page=1&offset=0

Replace {query}, {limit}, {page} 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&page=1&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
queryrequiredstringFree-text search, e.g. an organisation, topic or place.
limitoptionalintegerResults per page, 1-100 (default 25). Unit: items.
pageoptionalintegerPage number, 1-based (default 1).
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&page=1&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&page=1&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&page=1&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, 1-100 (default 25). Unit: items.
Type: integer. Page number, 1-based (default 1).

Result

Source: National Archives of Norway. Retrieved 2026-10-24T07:02:23Z in 0.001 seconds.

Showing 10 of 420664 results in compact format.

  1. name:
    Bane NOR SF
    id:
    N-10122
  2. name:
    Jernbaneverket Bane NOR
    id:
    AKT-1055
  3. name:
    Norsk jernbaneforbund
    id:
    ARK-1660
  4. name:
    Norges statsbaner, Bergensbanens forkortelse - Prosjekt: Ringeriksbanen
    id:
    RA-S-6635
  5. name:
    Norske jernbaneverksmestres landsråd
    id:
    ARK-3358
  6. name:
    Norges Statsbaner, Jernbanedirektøren
    id:
    RA-S-1616
  7. name:
    Norges Statsbaner, Baneavdelingen B
    id:
    RA-S-1619
  8. name:
    Norges statsbaner, Gardermobanen
    id:
    RA-S-4262
  9. name:
    Norges Statsbaner, Jernbaneskolen
    id:
    RA-S-5525
  10. name:
    Norges Statsbaner, Ålgårdbaneanlegget
    id:
    SAST-A-100016
Show all fields in HTML
total:
420664
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    46bcea89-78f1-4009-9d28-317d6eda39c4
    name:
    Bane NOR SF
    id:
    N-10122
    path:
    AV/N-10122
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    history:
    Bane NOR (opprinnelig: Jernbaneinfrastrukturforetaket) er et statlig foretak (100 % eid av staten) underlagt Samferdselsdepartementet. Det ble vedtatt opprettet av kongen i statsråd 5.2.2016, og er i drift fra 1.1.2017. Samtidig ble Jernbaneverket lagt ned. Bane NOR har ansvar for den nasjonale jern...
    link:
    https://www.arkivportalen.no/entity/46bcea89-78f1-4009-9d28-317d6eda39c4
  2. urn:
    c5f4a76a-f79f-4989-bcb3-576599848926
    name:
    Jernbaneverket Bane NOR
    id:
    AKT-1055
    path:
    NTM/AKT-1055
    unit_type:
    Virksomhet
    institution:
    Norsk Teknisk Museum
    digitized_documents:
    0
    history:
    Tilhørende arkiv dateres fra perioden Jernbaneverket eksisterte. Det er avlevert av sjefsingeniør for Bane NOR i 2018.
    link:
    https://www.arkivportalen.no/entity/c5f4a76a-f79f-4989-bcb3-576599848926
  3. urn:
    38a9debf-0c0c-4106-9e6a-a9bf26352bb8
    name:
    Norsk jernbaneforbund
    id:
    ARK-1660
    path:
    AAB/ARK-1660
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/38a9debf-0c0c-4106-9e6a-a9bf26352bb8
  4. 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
  5. urn:
    7eb62f85-307b-4ce7-9de2-75c215625ee0
    name:
    Norske jernbaneverksmestres landsråd
    id:
    ARK-3358
    path:
    AAB/ARK-3358
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7eb62f85-307b-4ce7-9de2-75c215625ee0
  6. urn:
    59fcb266-621b-42ff-b15e-b4a14a6f8fd9
    name:
    Norges Statsbaner, Jernbanedirektøren
    id:
    RA-S-1616
    path:
    AV/RA-S-1616
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/59fcb266-621b-42ff-b15e-b4a14a6f8fd9
  7. urn:
    62542baa-ec0b-4cf7-919e-ad66d7e69987
    name:
    Norges Statsbaner, Baneavdelingen B
    id:
    RA-S-1619
    path:
    AV/RA-S-1619
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/62542baa-ec0b-4cf7-919e-ad66d7e69987
  8. urn:
    5f01472a-b737-48ed-8ca2-04cfd2884342
    name:
    Norges statsbaner, Gardermobanen
    id:
    RA-S-4262
    path:
    AV/RA-S-4262
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5f01472a-b737-48ed-8ca2-04cfd2884342
  9. urn:
    e04b3a6d-8123-41ac-9535-24f709af32fa
    name:
    Norges Statsbaner, Jernbaneskolen
    id:
    RA-S-5525
    path:
    AV/RA-S-5525
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e04b3a6d-8123-41ac-9535-24f709af32fa
  10. urn:
    c1bee2a5-878e-4f7d-b66c-c1dba365d296
    name:
    Norges Statsbaner, Ålgårdbaneanlegget
    id:
    SAST-A-100016
    path:
    AV/SAST-A-100016
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c1bee2a5-878e-4f7d-b66c-c1dba365d296
  11. urn:
    515b690a-0150-41b7-a864-489e8d3e1914
    name:
    Norges statsbaner (NSB), Gjøvikbanen, Reinsvoll stasjon
    id:
    SAO-A-11410
    path:
    AV/SAO-A-11410
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/515b690a-0150-41b7-a864-489e8d3e1914
  12. urn:
    cb96fe94-8c16-4446-8445-e42ee8846728
    name:
    Norges Statsbaner, Statsbanenes militærkontor MK
    id:
    RA-S-1618
    path:
    AV/RA-S-1618
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cb96fe94-8c16-4446-8445-e42ee8846728
  13. urn:
    02d37126-4f4c-446d-994b-ac44d9441519
    name:
    Norges Statsbaner, Baneavdelingen, Svillekontoret
    id:
    RA-S-6530
    path:
    AV/RA-S-6530
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/02d37126-4f4c-446d-994b-ac44d9441519
  14. urn:
    d0b10e02-c7dc-474c-8fb4-c7294ccf3d7d
    name:
    Norges Statsbaner, Baneavdelingen, Telegrafinspektøren
    id:
    RA-S-6531
    path:
    AV/RA-S-6531
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d0b10e02-c7dc-474c-8fb4-c7294ccf3d7d
  15. urn:
    5b16e128-9f3a-4f52-9203-b45b5032589b
    name:
    Norges Statsbaner, Baneavdelingen, Brukontoret
    id:
    RA-S-6533
    path:
    AV/RA-S-6533
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5b16e128-9f3a-4f52-9203-b45b5032589b
  16. urn:
    7c8ea713-78c8-4bba-a4c8-a0c13c403b3c
    name:
    Norges Statsbaner, Jærbane-anlegget
    id:
    SAST-A-100003
    path:
    AV/SAST-A-100003
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7c8ea713-78c8-4bba-a4c8-a0c13c403b3c
  17. urn:
    593db23a-d090-41e6-ad7e-79b1d4420226
    name:
    Norges Statsbaner, Baneavdelingen, Elektroteknisk kontor
    id:
    RA-S-6532
    path:
    AV/RA-S-6532
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/593db23a-d090-41e6-ad7e-79b1d4420226
  18. urn:
    4b31e7d7-cb3d-418e-8eb0-ea6dfcd1039f
    name:
    Norges statsbaner, Tilsynshavende for privatbaner
    id:
    RA-S-6536
    path:
    AV/RA-S-6536
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/4b31e7d7-cb3d-418e-8eb0-ea6dfcd1039f
  19. urn:
    8f0af012-dd51-4988-8250-15d6271066f8
    name:
    Norges Statsbaner, Egersund - Flekkefjord jernbaneanlegg
    id:
    SAST-A-100004
    path:
    AV/SAST-A-100004
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8f0af012-dd51-4988-8250-15d6271066f8
  20. urn:
    95363d78-ef8a-46ae-b988-3ad4640a00b7
    name:
    Norges Statsbaner, Baneavdelingen, Jernbaneanleggenes sakfører
    id:
    RA-S-4144
    path:
    AV/RA-S-4144
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/95363d78-ef8a-46ae-b988-3ad4640a00b7
  21. urn:
    1df1dc34-5b49-4658-8321-6ab043dbe139
    name:
    Norges statsbaner (NSB), Skreiabanen, Kraby stasjon
    id:
    SAO-A-11421
    path:
    AV/SAO-A-11421
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1df1dc34-5b49-4658-8321-6ab043dbe139
  22. urn:
    f4ae58af-f70f-41a2-b689-6412327c195b
    name:
    Norges statsbaner (NSB), Gjøvikbanen, Gjøvik stasjon
    id:
    SAO-A-11411
    path:
    AV/SAO-A-11411
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f4ae58af-f70f-41a2-b689-6412327c195b
  23. urn:
    9bfe9f59-beb6-4fc1-b3b9-a5bda5c09e01
    name:
    Norges Statsbaner, Jernbaneundersøkelsen
    id:
    RA-S-4122
    path:
    AV/RA-S-4122
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9bfe9f59-beb6-4fc1-b3b9-a5bda5c09e01
  24. urn:
    fe81668c-a208-4e79-bbe1-d1e049214af6
    name:
    Norges Statsbaner, Bestyrelsen for statens jernbaneanlegg
    id:
    RA-S-1614
    path:
    AV/RA-S-1614
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fe81668c-a208-4e79-bbe1-d1e049214af6
  25. urn:
    08822ab0-dada-43be-8cc4-dc295154dfc4
    name:
    Setesdalsbanen
    id:
    SAK-1821-0002
    path:
    AV/SAK-1821-0002
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/08822ab0-dada-43be-8cc4-dc295154dfc4
limit:
25
offset:
0
has_more_results:
yes
next_offset:
25
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.