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-16T19:22:07Z in 0.295 seconds.

Showing 10 of 11 results in compact format.

  1. name:
    E.13. Grefsenhjemmet
    id:
    0009
  2. name:
    C.27. Grefsenhjemmet
    id:
    0015
  3. name:
    Grefsenhjemmet
    id:
    0009
  4. name:
    Grefsenhjemmet
    id:
    0003
  5. name:
    Grefsenhjemmet - Ansettelsessak
    id:
    0011
  6. name:
    Grefsenhjemmet - Oppsigelsessak
    id:
    0013
  7. name:
    Anmeldere GREFSENHJEMMET - GULBRANDSEN
    id:
    L0024
  8. name:
    Grefsenhjemmet - Lønn under sykdom
    id:
    0012
  9. name:
    Grefsenhjemmet - Opprettelse av tariffavtale og medlemsliste
    id:
    0014
  10. name:
    Saker tilknyttet arbeidsgiver/medlemmer - Evangeliesenteret, Eugene Hansens aldershjem, Familievernkontoret, Fransiskushjelpen, Frelsesarmeen, Frogner Menighets hjem, Grefsenhjemmet, Grefsen-Kjelsås, Grefsenlia, Holmenkollen, Homansbyen Fagerborg
    id:
    L0005
Show all fields in HTML
total:
11
total_exact:
yes
returned:
11
page:
1
results:

11 results

  1. urn:
    859b3019-327f-41b2-97e0-2ba9530191ca
    name:
    E.13. Grefsenhjemmet
    id:
    0009
    path:
    AAB/ARK-1626/D/Da/L0019/0009
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/859b3019-327f-41b2-97e0-2ba9530191ca
  2. urn:
    5532057d-bc04-46d0-8197-77526d31f9ad
    name:
    C.27. Grefsenhjemmet
    id:
    0015
    path:
    AAB/ARK-1626/D/Da/L0023/0015
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5532057d-bc04-46d0-8197-77526d31f9ad
  3. urn:
    f9626a6b-5eba-4ffc-b32b-10df0ba44bca
    name:
    Grefsenhjemmet
    id:
    0009
    path:
    AV/RA-S-1291/D/Db/L0138/0009
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f9626a6b-5eba-4ffc-b32b-10df0ba44bca
  4. urn:
    c6416adf-750d-4ca1-b5de-e2c75d2086b9
    name:
    Grefsenhjemmet
    id:
    0003
    path:
    OBA/A-20051/Dc/L0110/0003/0003
    unit_type:
    DOKUMENT
    institution:
    Oslo byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c6416adf-750d-4ca1-b5de-e2c75d2086b9
  5. urn:
    cc1d46d7-071e-4847-8e08-a41305019718
    name:
    Grefsenhjemmet - Ansettelsessak
    id:
    0011
    path:
    AAB/ARK-2974/D/Db/L0005/0011
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cc1d46d7-071e-4847-8e08-a41305019718
  6. urn:
    f732a642-942c-4fe1-ad05-c623948164ff
    name:
    Grefsenhjemmet - Oppsigelsessak
    id:
    0013
    path:
    AAB/ARK-2974/D/Db/L0005/0013
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f732a642-942c-4fe1-ad05-c623948164ff
  7. urn:
    111b49d9-0a43-4b24-bdfb-9966b930120f
    name:
    Anmeldere GREFSENHJEMMET - GULBRANDSEN
    id:
    L0024
    path:
    AV/SAO-A-10085/G/Ga/Gah/L0024
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/111b49d9-0a43-4b24-bdfb-9966b930120f
  8. urn:
    c3622b92-58aa-4149-8f94-4eeeb24c4c44
    name:
    Grefsenhjemmet - Lønn under sykdom
    id:
    0012
    path:
    AAB/ARK-2974/D/Db/L0005/0012
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c3622b92-58aa-4149-8f94-4eeeb24c4c44
  9. urn:
    cceac7f0-616d-482b-baa1-e385d4fa0e31
    name:
    Grefsenhjemmet - Opprettelse av tariffavtale og medlemsliste
    id:
    0014
    path:
    AAB/ARK-2974/D/Db/L0005/0014
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cceac7f0-616d-482b-baa1-e385d4fa0e31
  10. urn:
    58a8f43d-7b51-43d5-adc5-da3bfe99d834
    name:
    Saker tilknyttet arbeidsgiver/medlemmer - Evangeliesenteret, Eugene Hansens aldershjem, Familievernkontoret, Fransiskushjelpen, Frelsesarmeen, Frogner Menighets hjem, Grefsenhjemmet, Grefsen-Kjelsås, Grefsenlia, Holmenkollen, Homansbyen Fagerborg
    id:
    L0005
    path:
    AAB/ARK-2974/D/Db/L0005
    unit_type:
    STYKKE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/58a8f43d-7b51-43d5-adc5-da3bfe99d834
  11. urn:
    0169ca78-f1b1-4b4d-97ed-f4b00ca0e2f3
    name:
    Diverse
    id:
    0005
    path:
    OBA/A-20051/Dc/L0163/0008/0005
    unit_type:
    DOKUMENT
    institution:
    Oslo byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0169ca78-f1b1-4b4d-97ed-f4b00ca0e2f3
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.