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-22T08:22:46Z in 1.136 seconds.

Showing 10 of 10 results in compact format.

  1. name:
    Ahlsell & Ågren AB
    id:
    0002
  2. name:
    Ahlsell Profil
    id:
    0001
  3. name:
    Ahlsell & Ågren - NN. Fusjonssak
    id:
    0001
  4. name:
    Avdeling 14. Bedrifts ID: 400697. Ahlsell AS
    id:
    0017
  5. name:
    Bedrifts-ID: 401402 - Ahlsell Norge
    id:
    0002
  6. name:
    Godviksvingene 174 - Ahlsell Norge
    id:
    0004
  7. name:
    Optimeringsbasert planlegging i verdikjeden til Pipelife-Ahlsell
    id:
    0004
  8. name:
    A/S G. Christensen-Ahlsell & Åhren A.B. Overtakelse av aksjer. Bortfalt
    id:
    0007
  9. name:
    Modellering av distribusjon for verdikjeden til Pipelife Surnadal og Ahlsell
    id:
    0008
  10. name:
    Dias
    id:
    L0010
Show all fields in HTML
total:
10
total_exact:
yes
returned:
10
page:
1
results:

10 results

  1. urn:
    de5f11c2-699f-4c12-adef-ec63f6305319
    name:
    Ahlsell & Ågren AB
    id:
    0002
    path:
    AV/SAO-PAO-0056/2/D/Da/L0001/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/de5f11c2-699f-4c12-adef-ec63f6305319
  2. urn:
    1a710c5d-8a90-414f-8b36-3187f326e08f
    name:
    Ahlsell Profil
    id:
    0001
    path:
    OBA/A-10358/Da/L0071/0001
    unit_type:
    MAPPE
    institution:
    Oslo byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1a710c5d-8a90-414f-8b36-3187f326e08f
  3. urn:
    9ef63c64-f237-4a8d-9de1-182c91f817c9
    name:
    Ahlsell & Ågren - NN. Fusjonssak
    id:
    0001
    path:
    AV/RA-PA-1299/F/Fb/Fbb/L0063/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9ef63c64-f237-4a8d-9de1-182c91f817c9
  4. urn:
    cb54c2a5-95f6-488f-8c86-ab1dbf7e71fb
    name:
    Avdeling 14. Bedrifts ID: 400697. Ahlsell AS
    id:
    0017
    path:
    AAB/ARK-1641/D/Df/L0086/0017
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cb54c2a5-95f6-488f-8c86-ab1dbf7e71fb
  5. urn:
    fd81f897-1865-4bbb-a0eb-820611d8b28b
    name:
    Bedrifts-ID: 401402 - Ahlsell Norge
    id:
    0002
    path:
    AAB/ARK-1641/D/Dg/L0035/0002
    unit_type:
    MAPPE
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fd81f897-1865-4bbb-a0eb-820611d8b28b
  6. urn:
    no-BBA_arkiv000004067476
    name:
    Godviksvingene 174 - Ahlsell Norge
    id:
    0004
    path:
    BBA/A-3909/J/Jk/L0071/0004
    unit_type:
    Mappe
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000004067476
  7. urn:
    345b3eee-35c1-4489-9cca-6e4705cae924
    name:
    Optimeringsbasert planlegging i verdikjeden til Pipelife-Ahlsell
    id:
    0004
    path:
    AV/SAT-A-1589/F/Fb/L0021/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/345b3eee-35c1-4489-9cca-6e4705cae924
  8. urn:
    76d43003-c1d8-411a-a83b-9c515007620f
    name:
    A/S G. Christensen-Ahlsell & Åhren A.B. Overtakelse av aksjer. Bortfalt
    id:
    0007
    path:
    AV/RA-S-1415/D/Da/L0011/0007
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/76d43003-c1d8-411a-a83b-9c515007620f
  9. urn:
    a4244159-0c6a-4fc9-840d-dcbd6419c2db
    name:
    Modellering av distribusjon for verdikjeden til Pipelife Surnadal og Ahlsell
    id:
    0008
    path:
    AV/SAT-A-1589/F/Fe/L0021/0008
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a4244159-0c6a-4fc9-840d-dcbd6419c2db
  10. urn:
    no-BBA_arkiv000003528419
    name:
    Dias
    id:
    L0010
    path:
    BBA/A-6982/U/Ud/L0010
    unit_type:
    Stykke
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000003528419
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.