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-23T20:42:35Z in 3.412 seconds.

Showing 8 of 8 results in compact format.

  1. name:
    Abbott, miss Gertrude (Balestrand)
    id:
    0001
  2. name:
    Menn: Abbott Georg - Alten Erik
    id:
    L0001A
  3. name:
    Pentothal Natrium 500mg fra Abbott Scandinavia
    id:
    0020
  4. name:
    Brev fra Boulton & Pelly, Christopher H. Blom, Weddick & Wendel, George Norman, John Abbott og Noble, Hunt, Fowler & Co m.fl.
    id:
    0004
  5. name:
    John Abbott
    id:
    TGM-AKT-1127
  6. name:
    Samarbeidsavtaler
    id:
    0007
  7. name:
    Norges Røde Kors Blodsenter 1987- 1994. (Dokumentasjon fra Blodsenteret)
    id:
    L1448
  8. name:
    74 A. Brev til og fra Statsråd Niels Aall
    id:
    L0027
Show all fields in HTML
total:
8
total_exact:
yes
returned:
8
page:
1
results:

8 results

  1. urn:
    d5296673-cf10-4986-8f52-851cce88ac29
    name:
    Abbott, miss Gertrude (Balestrand)
    id:
    0001
    path:
    VLFK/SFF-2013149/D/Dd/Dda/L0002/0001
    unit_type:
    MAPPE
    institution:
    Fylkesarkivet i Vestland
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d5296673-cf10-4986-8f52-851cce88ac29
  2. urn:
    815658e9-d733-487d-b81d-df387440ed9f
    name:
    Menn: Abbott Georg - Alten Erik
    id:
    L0001A
    path:
    AV/SAO-A-11715/D/Dj/L0001A
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/815658e9-d733-487d-b81d-df387440ed9f
  3. urn:
    223f23e4-f518-465d-a101-cc15b6bc3787
    name:
    Pentothal Natrium 500mg fra Abbott Scandinavia
    id:
    0020
    path:
    AV/RA-RAFA-5354/D/L0003/0020
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/223f23e4-f518-465d-a101-cc15b6bc3787
  4. urn:
    4854aa99-30bc-4fd5-ac52-6635b25df091
    name:
    Brev fra Boulton & Pelly, Christopher H. Blom, Weddick & Wendel, George Norman, John Abbott og Noble, Hunt, Fowler & Co m.fl.
    id:
    0004
    path:
    TEMU/UA-A-1001/D/Db/Dbd/L0027/0004
    unit_type:
    MAPPE
    institution:
    Telemark Museum
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/4854aa99-30bc-4fd5-ac52-6635b25df091
  5. urn:
    31720c8c-9adc-4396-8a4e-f5643443d153
    name:
    John Abbott
    id:
    TGM-AKT-1127
    path:
    TEMU/TGM-AKT-1127
    unit_type:
    Person
    institution:
    Telemark Museum
    country:
    STORBRIT. OG N.-IRL.
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/31720c8c-9adc-4396-8a4e-f5643443d153
  6. urn:
    4ef823b4-ad16-42dd-bc70-821ddc1720da
    name:
    Samarbeidsavtaler
    id:
    0007
    path:
    SKA/A-0010/E/Ei/L0001/0007
    unit_type:
    MAPPE
    institution:
    Skeivt arkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/4ef823b4-ad16-42dd-bc70-821ddc1720da
  7. urn:
    31433632-7f27-4717-8e15-9c56e438bf78
    name:
    Norges Røde Kors Blodsenter 1987- 1994. (Dokumentasjon fra Blodsenteret)
    id:
    L1448
    path:
    AV/RA-PA-0250/D/Dg/L1448
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/31433632-7f27-4717-8e15-9c56e438bf78
  8. urn:
    b1b636e1-979d-4b97-8fa8-018e555c1824
    name:
    74 A. Brev til og fra Statsråd Niels Aall
    id:
    L0027
    path:
    TEMU/UA-A-1001/D/Db/Dbd/L0027
    unit_type:
    STYKKE
    institution:
    Telemark Museum
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b1b636e1-979d-4b97-8fa8-018e555c1824
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.