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-24T14:14:18Z in 0.615 seconds.

Showing 8 of 8 results in compact format.

  1. name:
    Gymansiet på Hamar
    id:
    0001
  2. name:
    Park Mansion
    id:
    0023
  3. name:
    Oslo Handelsgymansium
    id:
    0006
  4. name:
    Sjukvårdsmansinstruktion för Infanteriet
    id:
    0046
  5. name:
    Amansiensus Vik ved Statens Forsøksgård I Landvik
    id:
    0378
  6. name:
    NF.213.73 Plan og profil av gymansiets store auditorium
    id:
    0073
  7. name:
    761 Menneskerettigheter, 763 Fred, 764 Flyktningepolitikk, 766 Miljøvern, 767 Bistandsarbeid, 769 Annet/diverse, 77 Humansistiske organisasjoner, 780 Generelt om andre organisasjoner
    id:
    L0114
  8. name:
    Handelsgymansium (økonomisk gymnas): opprettelse av økonomisk linje ved høgre almenskole, ansettelse av lærer, utdannelseskrav for lærere m.m., privatistkurs, tilleggsprøver. Instruks for utvalg, sammensetning av styret,
    id:
    L0056
Show all fields in HTML
total:
8
total_exact:
yes
returned:
8
page:
1
results:

8 results

  1. urn:
    6efd1258-0e35-4518-9532-adc0043dc986
    name:
    Gymansiet på Hamar
    id:
    0001
    path:
    AV/RA-PA-0491/F/L0001/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6efd1258-0e35-4518-9532-adc0043dc986
  2. urn:
    84d616cf-2a06-482e-939f-0e604fab6e52
    name:
    Park Mansion
    id:
    0023
    path:
    AV/RA-S-2057/2/D/Db/L0014/0023
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/84d616cf-2a06-482e-939f-0e604fab6e52
  3. urn:
    30c49a99-4d22-4250-affa-452678cc5049
    name:
    Oslo Handelsgymansium
    id:
    0006
    path:
    OBA/A-20051/Dc/L0172/0010/0006
    unit_type:
    DOKUMENT
    institution:
    Oslo byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/30c49a99-4d22-4250-affa-452678cc5049
  4. urn:
    56ecc3eb-2354-44bd-a7a0-aefa569ed961
    name:
    Sjukvårdsmansinstruktion för Infanteriet
    id:
    0046
    path:
    AV/RA-RAFA-3636/F/Fa/L0004/0046
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/56ecc3eb-2354-44bd-a7a0-aefa569ed961
  5. urn:
    fb2be4bb-1bbf-4f3b-8d59-1b75c2fd999d
    name:
    Amansiensus Vik ved Statens Forsøksgård I Landvik
    id:
    0378
    path:
    AAMA/PA-2421/U01/L0004/0378
    unit_type:
    MAPPE
    institution:
    Aust-Agder museum og arkiv, avd. KUBEN
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fb2be4bb-1bbf-4f3b-8d59-1b75c2fd999d
  6. urn:
    765315bf-a1c7-451e-a44d-fda8cfe5004a
    name:
    NF.213.73 Plan og profil av gymansiets store auditorium
    id:
    0073
    path:
    NF/Ark-1001-25/T/L0096/0073
    unit_type:
    MAPPE
    institution:
    Norsk folkemuseum
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/765315bf-a1c7-451e-a44d-fda8cfe5004a
  7. urn:
    7e4a2bd7-6024-4008-bee9-6bcbe5d0bf48
    name:
    761 Menneskerettigheter, 763 Fred, 764 Flyktningepolitikk, 766 Miljøvern, 767 Bistandsarbeid, 769 Annet/diverse, 77 Humansistiske organisasjoner, 780 Generelt om andre organisasjoner
    id:
    L0114
    path:
    AV/RA-PA-1365/D/Dd/L0114
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7e4a2bd7-6024-4008-bee9-6bcbe5d0bf48
  8. urn:
    3aff8c29-d4e6-456a-bd4b-d488e13be451
    name:
    Handelsgymansium (økonomisk gymnas): opprettelse av økonomisk linje ved høgre almenskole, ansettelse av lærer, utdannelseskrav for lærere m.m., privatistkurs, tilleggsprøver. Instruks for utvalg, sammensetning av styret,
    id:
    L0056
    path:
    AV/RA-S-1025/D/L0056
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3aff8c29-d4e6-456a-bd4b-d488e13be451
limit:
25
offset:
0
has_more_results:
no
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.