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-19T01:50:50Z in 0.135 seconds.

Showing 10 of 10 results in compact format.

  1. name:
    A 1058 Admiral der KMD, Hamburg - KMD -Kriegsmarinedienststelle
    id:
    0003
  2. name:
    Kriegsmarinedienst (KMD), A - Ø
    id:
    0001
  3. name:
    A 1168 KMD, Bremen (Kriegsmarinedienststel1e)
    id:
    0006
  4. name:
    Havarien XXX. Havarie-Verfahren des KMD Oslo, VC (nr. 14-20)
    id:
    0002
  5. name:
    Justis-/straffejournaler: "Djukmd"
    id:
    0010
  6. name:
    Den tyske krigsmarine i Norge
    id:
    RAFA-4F-11142
  7. name:
    Elevmapper Aa - A
    id:
    L0035
  8. name:
    Klima- og miljødepartementet
    id:
    S-3F-11203
  9. name:
    Tekniske tegniner m.v. om havnearbeider
    id:
    0118
  10. name:
    Komm. Adm. Norwegen/ Marineoberkommando Norwegen
    id:
    RA-RAFA-2195
Show all fields in HTML
total:
10
total_exact:
yes
returned:
10
page:
1
results:

10 results

  1. urn:
    83c54c53-b700-404f-95da-f2782f63e23c
    name:
    A 1058 Admiral der KMD, Hamburg - KMD -Kriegsmarinedienststelle
    id:
    0003
    path:
    AV/RA-RAFA-2192/D/Da/L0038/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/83c54c53-b700-404f-95da-f2782f63e23c
  2. urn:
    6ed62df8-036b-4d81-a80f-bf9b4202de94
    name:
    Kriegsmarinedienst (KMD), A - Ø
    id:
    0001
    path:
    AV/RA-S-2451/F/Fh/L0697/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6ed62df8-036b-4d81-a80f-bf9b4202de94
  3. urn:
    3f20bcf3-4252-40e2-8e72-81992ce7c0b3
    name:
    A 1168 KMD, Bremen (Kriegsmarinedienststel1e)
    id:
    0006
    path:
    AV/RA-RAFA-2192/D/Da/L0053/0006
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3f20bcf3-4252-40e2-8e72-81992ce7c0b3
  4. urn:
    26778c91-813a-4912-9b8c-6af1f39cad98
    name:
    Havarien XXX. Havarie-Verfahren des KMD Oslo, VC (nr. 14-20)
    id:
    0002
    path:
    AV/RA-RAFA-2195/D/Da/L0069/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/26778c91-813a-4912-9b8c-6af1f39cad98
  5. urn:
    834cbb7c-3549-4dd8-ab84-5ef17f726376
    name:
    Justis-/straffejournaler: "Djukmd"
    id:
    0010
    path:
    AV/RA-RAFA-2807/D/Da/L0377/0010
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/834cbb7c-3549-4dd8-ab84-5ef17f726376
  6. urn:
    0a615a20-6b7a-4f14-90b8-7ade5e0a42bf
    name:
    Den tyske krigsmarine i Norge
    id:
    RAFA-4F-11142
    path:
    AV/RAFA-4F-11142
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    history:
    Marineoberkommando (MOK) Norwegen ble opprettet i april 1940 med Kommandierender Admiral Norwegen som sjef. Under MOK Norwegen kom etter hvert Kommandant der Seeverteidigung Oslofjord (Oslo), Admiral der norwegischen Westküste (Bergen), Admiral der norwegischen Nordküste (Trondheim) og Admiral der ...
    link:
    https://www.arkivportalen.no/entity/0a615a20-6b7a-4f14-90b8-7ade5e0a42bf
  7. urn:
    17c9bd87-fd2b-4de3-af50-9cd85b4234d6
    name:
    Elevmapper Aa - A
    id:
    L0035
    path:
    AFK/0200109_1/F/Fa/L0035
    unit_type:
    STYKKE
    institution:
    Akershus fylkeskommune
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/17c9bd87-fd2b-4de3-af50-9cd85b4234d6
  8. urn:
    6cf475b4-7fcf-4188-b8f5-b1e2fb2a9f45
    name:
    Klima- og miljødepartementet
    id:
    S-3F-11203
    path:
    AV/S-3F-11203
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    Miljøverndepartementet ble opprettet 8. mai 1972. Målet til det nye departementet var "å arbeide for en best mulig balanse mellom utnytting av våre ressurser for økonomisk vekst, og vern om naturressursene til beste for menneskelig trivsel og helse." Endrede målsettinger Siden 1972 har departemente...
    link:
    https://www.arkivportalen.no/entity/6cf475b4-7fcf-4188-b8f5-b1e2fb2a9f45
  9. urn:
    39c7633b-facf-4aa6-a6a2-3c1dc3c56adf
    name:
    Tekniske tegniner m.v. om havnearbeider
    id:
    0118
    path:
    AV/RA-RAFA-2188/2/H/Hf/Hfa/0118
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/39c7633b-facf-4aa6-a6a2-3c1dc3c56adf
  10. urn:
    88ada8c0-ab29-4f44-a4ce-9a1425cad32e
    name:
    Komm. Adm. Norwegen/ Marineoberkommando Norwegen
    id:
    RA-RAFA-2195
    path:
    AV/RA-RAFA-2195
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/88ada8c0-ab29-4f44-a4ce-9a1425cad32e
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.