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-23T11:59:55Z in 0.770 seconds.

Showing 9 of 9 results in compact format.

  1. name:
    Education - Florian Larsen-saken
    id:
    0003
  2. name:
    970 - Florian Wildlings beretning om Landeunternehmen Wildente (Gebirgsjäger-Regiment 139) i 1940
    id:
    0007
  3. name:
    Jnr. 240/1871 - domsakter handelsborger Peter Stangeby og hotellvert Florian Weiss
    id:
    0021
  4. name:
    Florianópolis
    id:
    0003
  5. name:
    Visekonsulatet i Florianopolis
    id:
    0004
  6. name:
    Visekonsulatet i Florianopolis
    id:
    0004
  7. name:
    "KGL. NORSK VICEKONSULAT FLORIANOPOLIS"
    id:
    0029
  8. name:
    Visekonsulatenes organisasjon og personale. Florianopolis
    id:
    0004
  9. name:
    Brød til Norge
    id:
    L0022
Show all fields in HTML
total:
9
total_exact:
yes
returned:
9
page:
1
results:

9 results

  1. urn:
    0bb0b768-0ab4-456c-b4ba-589880d0cee8
    name:
    Education - Florian Larsen-saken
    id:
    0003
    path:
    AV/RA-S-1730/D/Da/L0022/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0bb0b768-0ab4-456c-b4ba-589880d0cee8
  2. urn:
    2a00d3d3-d0bc-4be0-8c45-f0d2a2d43c3d
    name:
    970 - Florian Wildlings beretning om Landeunternehmen Wildente (Gebirgsjäger-Regiment 139) i 1940
    id:
    0007
    path:
    AV/RA-RAFA-2017/Y/Yd/L0172/0007
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/2a00d3d3-d0bc-4be0-8c45-f0d2a2d43c3d
  3. urn:
    8b621f7b-6cc3-4685-a32c-6951d2aad507
    name:
    Jnr. 240/1871 - domsakter handelsborger Peter Stangeby og hotellvert Florian Weiss
    id:
    0021
    path:
    AV/SAO-A-10386/G/Ga/Gab/L0022/0021
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8b621f7b-6cc3-4685-a32c-6951d2aad507
  4. urn:
    aa2fcabd-e048-4870-8d0e-72eb1dddd88c
    name:
    Florianópolis
    id:
    0003
    path:
    VID/MA-A-1061/D/L0004/0003
    unit_type:
    MAPPE
    institution:
    Misjons- og diakoniarkivet, VID
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/aa2fcabd-e048-4870-8d0e-72eb1dddd88c
  5. urn:
    28c09659-cb0a-4387-a9d5-f905ff0fd594
    name:
    Visekonsulatet i Florianopolis
    id:
    0004
    path:
    AV/RA-S-7017/D/Dc/L0015/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/28c09659-cb0a-4387-a9d5-f905ff0fd594
  6. urn:
    9561ce33-cff6-4492-81d7-28c957f2128f
    name:
    Visekonsulatet i Florianopolis
    id:
    0004
    path:
    AV/RA-S-7017/D/Dd/L0074/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9561ce33-cff6-4492-81d7-28c957f2128f
  7. urn:
    8d4fc796-604e-4923-9d3f-4b00a02b8fb2
    name:
    "KGL. NORSK VICEKONSULAT FLORIANOPOLIS"
    id:
    0029
    path:
    AV/RA-EA-4047/W/Wb/L0002/0029
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8d4fc796-604e-4923-9d3f-4b00a02b8fb2
  8. urn:
    468945ed-6c97-4f54-9957-1e5cf9963c3d
    name:
    Visekonsulatenes organisasjon og personale. Florianopolis
    id:
    0004
    path:
    AV/RA-S-7017/D/Db/L0020/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/468945ed-6c97-4f54-9957-1e5cf9963c3d
  9. urn:
    cb9c1ea7-2205-4a28-92a3-477ba3081ba5
    name:
    Brød til Norge
    id:
    L0022
    path:
    PAT/A-30005/K/L0022
    unit_type:
    STYKKE
    institution:
    Privatarkiv i Trøndelag
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cb9c1ea7-2205-4a28-92a3-477ba3081ba5
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.