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-21T09:53:15Z in 0.246 seconds.

Showing 10 of 108075 results in compact format.

  1. name:
    Melhus kommune, Melhus kommunale elektrisitetsverk, Melhus Elverk, Melhus Energi AS
    id:
    AKT-3979
  2. name:
    Vaktmesterservice AS
    id:
    0009
  3. name:
    Bodø Vaktmesterservice AS
    id:
    0002
  4. name:
    Melhus kommune, Melhus kommunale elektrisitetsverk, Melhus Elverk, Melhus Energi AS
    id:
    A-2886
  5. name:
    Melhus kommune II, sentraladministrasjon
    id:
    A-1561
  6. name:
    Melhus kommune III, sentraladministrasjon
    id:
    A-1560
  7. name:
    8.02.02 Valgmanntall -kommunalt - Melhus Fortegnelse over tiende
    id:
    L0004
  8. name:
    Melhus kommune
    id:
    L0009
  9. name:
    Melhus kommune
    id:
    L0010
  10. name:
    Melhus kyrkje [oppmålingstegning]
    id:
    7401
Show all fields in HTML
total:
108075
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    522c08cf-f7f2-4295-982f-69a3b89ab1ca
    name:
    Melhus kommune, Melhus kommunale elektrisitetsverk, Melhus Elverk, Melhus Energi AS
    id:
    AKT-3979
    path:
    TIKA/AKT-3979
    unit_type:
    Virksomhet
    institution:
    IKA Trøndelag
    digitized_documents:
    0
    history:
    Melhus Elverk var kommunalt eid. Når Hølonda kommune, Flå kommune og Horg kommune i 1964 gikk inn i Storkommunen Melhus, gikk de tidligere kraftlagene i de respektive kommunene inn i Melhus Elverk. Melhus Energi AS ble stiftet som aksjeselskap 1.januar 1995. Pr. år 2000 var kraftomsetningen organis...
    link:
    https://www.arkivportalen.no/entity/522c08cf-f7f2-4295-982f-69a3b89ab1ca
  2. urn:
    f2f7f5a5-1336-4d32-aa33-db768bb1a1f6
    name:
    Vaktmesterservice AS
    id:
    0009
    path:
    AV/SAT-A-4395/E/Ec/L0030/0009
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f2f7f5a5-1336-4d32-aa33-db768bb1a1f6
  3. urn:
    52f30a72-b44a-4fe9-88ff-a06d2b0fe185
    name:
    Bodø Vaktmesterservice AS
    id:
    0002
    path:
    AV/SAT-A-4395/E/Ec/L0014/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/52f30a72-b44a-4fe9-88ff-a06d2b0fe185
  4. urn:
    14c7f91f-85f1-47e7-a51d-563ecd92d070
    name:
    Melhus kommune, Melhus kommunale elektrisitetsverk, Melhus Elverk, Melhus Energi AS
    id:
    A-2886
    path:
    TIKA/A-2886
    unit_type:
    ARKIV
    institution:
    IKA Trøndelag
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/14c7f91f-85f1-47e7-a51d-563ecd92d070
  5. urn:
    bd42d32b-d5ae-4591-804d-5c71aa8aa221
    name:
    Melhus kommune II, sentraladministrasjon
    id:
    A-1561
    path:
    TIKA/A-1561
    unit_type:
    ARKIV
    institution:
    IKA Trøndelag
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/bd42d32b-d5ae-4591-804d-5c71aa8aa221
  6. urn:
    d61325de-fd83-4600-8c9b-8f4423907060
    name:
    Melhus kommune III, sentraladministrasjon
    id:
    A-1560
    path:
    TIKA/A-1560
    unit_type:
    ARKIV
    institution:
    IKA Trøndelag
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d61325de-fd83-4600-8c9b-8f4423907060
  7. urn:
    a179a87a-d3c2-4bce-a2d6-e61d5bf1eac5
    name:
    8.02.02 Valgmanntall -kommunalt - Melhus Fortegnelse over tiende
    id:
    L0004
    path:
    AV/SAT-A-1064/1/08/L0004
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a179a87a-d3c2-4bce-a2d6-e61d5bf1eac5
  8. urn:
    8ad086c9-eec6-4f40-8e9b-fcc5fbb1c6ec
    name:
    Melhus kommune
    id:
    L0009
    path:
    AV/SAT-A-4572/F/L0009
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8ad086c9-eec6-4f40-8e9b-fcc5fbb1c6ec
  9. urn:
    8445bd27-8191-4501-949f-de131b3838bb
    name:
    Melhus kommune
    id:
    L0010
    path:
    AV/SAT-A-4572/F/L0010
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8445bd27-8191-4501-949f-de131b3838bb
  10. urn:
    9448540f-bca7-4ed1-be54-ec4993f7e953
    name:
    Melhus kyrkje [oppmålingstegning]
    id:
    7401
    path:
    UBIT/A-0438/F/7401
    unit_type:
    DOKUMENT
    institution:
    NTNU Universitetsbiblioteket
    country:
    norge
    digitized_documents:
    1
    link:
    https://www.arkivportalen.no/entity/9448540f-bca7-4ed1-be54-ec4993f7e953
  11. urn:
    925f221a-5687-4bfb-9f9e-7c2b2d442ee2
    name:
    Melhus kyrkje [oppmålingstegning]
    id:
    7402
    path:
    UBIT/A-0438/F/7402
    unit_type:
    DOKUMENT
    institution:
    NTNU Universitetsbiblioteket
    country:
    norge
    digitized_documents:
    1
    link:
    https://www.arkivportalen.no/entity/925f221a-5687-4bfb-9f9e-7c2b2d442ee2
  12. urn:
    6ecae274-78ff-40f2-9bd4-1033f8647025
    name:
    Melhus - Flå
    id:
    693
    path:
    AV/SAT-A-1456/693
    unit_type:
    SERIE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6ecae274-78ff-40f2-9bd4-1033f8647025
  13. urn:
    ffd35d4b-6838-469f-8ed5-998b3d9633ab
    name:
    Melhus - Hølonda
    id:
    694
    path:
    AV/SAT-A-1456/694
    unit_type:
    SERIE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ffd35d4b-6838-469f-8ed5-998b3d9633ab
  14. urn:
    d206a74f-54c0-490d-ba2a-10088654244d
    name:
    Melhus
    id:
    0007
    path:
    UBIT/A-0511/F/L0026/0007
    unit_type:
    MAPPE
    institution:
    NTNU Universitetsbiblioteket
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d206a74f-54c0-490d-ba2a-10088654244d
  15. urn:
    d897122c-921a-4b55-b50b-2896fddadf01
    name:
    Melhus prestegard [oppmålingstegning]
    id:
    7404
    path:
    UBIT/A-0438/F/7404
    unit_type:
    DOKUMENT
    institution:
    NTNU Universitetsbiblioteket
    country:
    norge
    digitized_documents:
    1
    link:
    https://www.arkivportalen.no/entity/d897122c-921a-4b55-b50b-2896fddadf01
  16. urn:
    efef35a3-78be-4bd2-adda-33552b05fc31
    name:
    Melhus - Leinstrand
    id:
    613
    path:
    AV/SAT-A-1456/613
    unit_type:
    SERIE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/efef35a3-78be-4bd2-adda-33552b05fc31
  17. urn:
    3d0651a9-4fc6-424f-af88-51223ee45665
    name:
    Melhus energimarked as
    id:
    0006
    path:
    AV/SAST-A-102445/E/Ec/L0050/0006
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3d0651a9-4fc6-424f-af88-51223ee45665
  18. urn:
    8d2550e6-4897-400f-a32d-e0c3cadb63de
    name:
    Melhus apotek AS
    id:
    0026
    path:
    AV/SAT-A-1104/H/Hc/L0004/0026
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8d2550e6-4897-400f-a32d-e0c3cadb63de
  19. urn:
    3381dc37-004b-4590-b9ba-cffb8e3e34dd
    name:
    Melhus kapellangård (378) Øvrige kart
    id:
    0001b
    path:
    AV/RA-S-4711/Arkivdel 2/T/Tb/L0077/0001b
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3381dc37-004b-4590-b9ba-cffb8e3e34dd
  20. urn:
    83e1ae13-5f2d-45a3-8c7f-e01a4b297003
    name:
    Melhus komm. arbeidstilsyn
    id:
    0004
    path:
    AV/SAT-A-4545/E/L0007/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/83e1ae13-5f2d-45a3-8c7f-e01a4b297003
  21. urn:
    084d3712-973d-4bcf-a897-115db6b97cea
    name:
    Melhus kyrkje [oppmålingstegning]
    id:
    7399
    path:
    UBIT/A-0438/F/7399
    unit_type:
    DOKUMENT
    institution:
    NTNU Universitetsbiblioteket
    country:
    norge
    digitized_documents:
    1
    link:
    https://www.arkivportalen.no/entity/084d3712-973d-4bcf-a897-115db6b97cea
  22. urn:
    f19e12db-ea63-4282-a361-7d49d32ce505
    name:
    Melhus Arbeiderparti
    id:
    AS-2369
    path:
    AV/AS-2369
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    Melhus Arbeiderparti virket i Melhus, Sør-Trøndelag.
    link:
    https://www.arkivportalen.no/entity/f19e12db-ea63-4282-a361-7d49d32ce505
  23. urn:
    5555a3cd-8abe-426f-952d-db04b7d3f765
    name:
    Melhus Arbeideravholdslag
    id:
    AS-2370
    path:
    AV/AS-2370
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    Melhus Arbeideravholdslag virket i Melhus, Sør-Trøndelag.
    link:
    https://www.arkivportalen.no/entity/5555a3cd-8abe-426f-952d-db04b7d3f765
  24. urn:
    34218d3f-9593-43e1-b9b9-3f7c23e3e11e
    name:
    Melhus kapellansgard (Varmbu) [oppmålingstegning]
    id:
    7408
    path:
    UBIT/A-0438/F/7408
    unit_type:
    DOKUMENT
    institution:
    NTNU Universitetsbiblioteket
    country:
    norge
    digitized_documents:
    1
    link:
    https://www.arkivportalen.no/entity/34218d3f-9593-43e1-b9b9-3f7c23e3e11e
  25. urn:
    10b6aa3c-b366-46d9-8496-cc7506c77299
    name:
    Øvre Melhus arbeiderlag
    id:
    AS-2396
    path:
    AV/AS-2396
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    Øvre Melhus arbeiderlag virket i Melhus, Sør-Trøndelag.
    link:
    https://www.arkivportalen.no/entity/10b6aa3c-b366-46d9-8496-cc7506c77299
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.