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; 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&offset=0

Replace {query}, {limit} 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&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
queryrequiredstringFree-text search, e.g. an organisation, topic or place.
limitoptionalintegerResults per page. Unit: items. Through this API: default 25, maximum 100.
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&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&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&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. Unit: items. Through this API: default 25, maximum 100.

Result

Source: National Archives of Norway. Retrieved 2026-11-21T08:56:52Z in 0.251 seconds.

Showing 10 of 62702 results in compact format.

  1. name:
    Hafslo forliksråd
    id:
    SAB-A-24201
  2. name:
    Intensjonsavtale mellom Retura Sør-Trøndelag AS og KK
    id:
    0027
  3. name:
    Hafslo kommune. Hafslo skule
    id:
    K-14250.520
  4. name:
    Kriegsmarine Norwegen, Hafenkommandant/Hafenkapitän Larvik
    id:
    RA-RAFA-5047
  5. name:
    Hafslo kommune. Indre Hafslo skulekrins
    id:
    K-14250.520.18
  6. name:
    Hafslund Chemiske Træmassefabrik AS
    id:
    HHSP-1328
  7. name:
    Kriegsmarine Norwegen, Arbeitsgemeinschaft für Kameradschaftshaüser, Zweigstelle Norwegen
    id:
    RA-RAFA-5106
  8. name:
    Avtaler - Retura
    id:
    0029
  9. name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0136
  10. name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0137
Show all fields in HTML
total:
62702
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    6de68a4b-b12f-4deb-a3e7-133d3bea620b
    name:
    Hafslo forliksråd
    id:
    SAB-A-24201
    path:
    AV/SAB-A-24201
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6de68a4b-b12f-4deb-a3e7-133d3bea620b
  2. urn:
    09038c3c-d069-4052-8895-d35f30783644
    name:
    Intensjonsavtale mellom Retura Sør-Trøndelag AS og KK
    id:
    0027
    path:
    TRKO/A-1632/I/L0022/0027
    unit_type:
    MAPPE
    institution:
    Trondheim byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/09038c3c-d069-4052-8895-d35f30783644
  3. urn:
    f933ad0d-9b5c-4584-b86e-5ec4832cd677
    name:
    Hafslo kommune. Hafslo skule
    id:
    K-14250.520
    path:
    VLFK/K-14250.520
    unit_type:
    ARKIV
    institution:
    Fylkesarkivet i Vestland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f933ad0d-9b5c-4584-b86e-5ec4832cd677
  4. urn:
    4538e819-311a-4f67-ba0f-fed45c8afe4e
    name:
    Kriegsmarine Norwegen, Hafenkommandant/Hafenkapitän Larvik
    id:
    RA-RAFA-5047
    path:
    AV/RA-RAFA-5047
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/4538e819-311a-4f67-ba0f-fed45c8afe4e
  5. urn:
    91cd0f2c-0b6e-4733-9a77-b88bdfec385e
    name:
    Hafslo kommune. Indre Hafslo skulekrins
    id:
    K-14250.520.18
    path:
    VLFK/K-14250.520.18
    unit_type:
    ARKIV
    institution:
    Fylkesarkivet i Vestland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/91cd0f2c-0b6e-4733-9a77-b88bdfec385e
  6. urn:
    f7b69ac3-1fc8-4519-987d-4081ae6e12c9
    name:
    Hafslund Chemiske Træmassefabrik AS
    id:
    HHSP-1328
    path:
    OSTM/HHSP-1328
    unit_type:
    ARKIV
    institution:
    Østfoldmuseene
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f7b69ac3-1fc8-4519-987d-4081ae6e12c9
  7. urn:
    bb967c5a-9a33-49e0-8970-2ab9748f38d0
    name:
    Kriegsmarine Norwegen, Arbeitsgemeinschaft für Kameradschaftshaüser, Zweigstelle Norwegen
    id:
    RA-RAFA-5106
    path:
    AV/RA-RAFA-5106
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/bb967c5a-9a33-49e0-8970-2ab9748f38d0
  8. urn:
    8d18e527-ea0f-4c61-8f2b-1db28ce903d2
    name:
    Avtaler - Retura
    id:
    0029
    path:
    TIKA/A-3340/D/Da/L0005/0029
    unit_type:
    MAPPE
    institution:
    IKA Trøndelag
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8d18e527-ea0f-4c61-8f2b-1db28ce903d2
  9. urn:
    48dc0509-74dc-4190-a247-4e0ebfd6943f
    name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0136
    path:
    AV/RA-PA-1728/D/Dc/L0136
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/48dc0509-74dc-4190-a247-4e0ebfd6943f
  10. urn:
    0abdf1ce-4752-4b06-80a7-e70a3e03c4df
    name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0137
    path:
    AV/RA-PA-1728/D/Dc/L0137
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0abdf1ce-4752-4b06-80a7-e70a3e03c4df
  11. urn:
    000dfd9a-6cb9-44d8-bafc-54e2469fee90
    name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0138
    path:
    AV/RA-PA-1728/D/Dc/L0138
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/000dfd9a-6cb9-44d8-bafc-54e2469fee90
  12. urn:
    b513a0e3-577c-4330-8317-41c22f7e5aba
    name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0139
    path:
    AV/RA-PA-1728/D/Dc/L0139
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b513a0e3-577c-4330-8317-41c22f7e5aba
  13. urn:
    820a2a1f-95ab-42d9-96ca-5fc59b4fe7b1
    name:
    Arbeiskraftsituasjonen: Samarbeisprosjekter ved PF. Produktivitetsavtalen med HAF + tilleggsdokumenter fra P. Randgaard 1967-.
    id:
    L0135
    path:
    AV/RA-PA-1728/D/Dc/L0135
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/820a2a1f-95ab-42d9-96ca-5fc59b4fe7b1
  14. urn:
    834671b6-81c8-457c-b170-fae814012d0e
    name:
    Hafslo prestegardstilsyn
    id:
    SAB-A-100509
    path:
    AV/SAB-A-100509
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/834671b6-81c8-457c-b170-fae814012d0e
  15. urn:
    bf67c46b-2588-4274-9ce9-bedbfdfb8b37
    name:
    Hafslo folkeregister
    id:
    SAB-A-14801
    path:
    AV/SAB-A-14801
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/bf67c46b-2588-4274-9ce9-bedbfdfb8b37
  16. urn:
    bb7299af-f2d3-4eff-a26c-fffb251e3594
    name:
    Lensmannen i Hafslo
    id:
    SAB-A-28001
    path:
    AV/SAB-A-28001
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/bb7299af-f2d3-4eff-a26c-fffb251e3594
  17. urn:
    c0397f72-d891-4ab0-9031-2038e385c801
    name:
    Hafslo sokneprestembete
    id:
    SAB-A-80301
    path:
    AV/SAB-A-80301
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c0397f72-d891-4ab0-9031-2038e385c801
  18. urn:
    d939ca6b-41ae-4bdb-89cd-2f52667afe20
    name:
    Hafrsfjord sorenskriveri
    id:
    SAST-A-100313
    path:
    AV/SAST-A-100313
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d939ca6b-41ae-4bdb-89cd-2f52667afe20
  19. urn:
    16e91ad5-65ba-4380-bbe0-2e48def381e1
    name:
    Pa 0319 - "Hafrsro"
    id:
    SAST-A-100518
    path:
    AV/SAST-A-100518
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/16e91ad5-65ba-4380-bbe0-2e48def381e1
  20. urn:
    942d6ee7-fdd7-4a69-a645-db649bd2b1b1
    name:
    Hafrsfjord sokneprestkontor
    id:
    SAST-A-101833
    path:
    AV/SAST-A-101833
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/942d6ee7-fdd7-4a69-a645-db649bd2b1b1
  21. urn:
    0b25193d-a084-43c5-b2c6-25f3d1a50405
    name:
    Hafrsfjord menighetsråd
    id:
    SAST-A-102355
    path:
    AV/SAST-A-102355
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0b25193d-a084-43c5-b2c6-25f3d1a50405
  22. urn:
    no-BBA_arkiv000000335017
    name:
    Hafstad, Aase
    id:
    A-2628
    path:
    BBA/A-2628
    unit_type:
    Arkiv
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000000335017
  23. urn:
    a85d1e6b-4873-4cc6-8997-3d354d934707
    name:
    Hafslund Kraftstasjon
    id:
    BRMA-1061
    path:
    OSTM/BRMA-1061
    unit_type:
    ARKIV
    institution:
    Østfoldmuseene
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a85d1e6b-4873-4cc6-8997-3d354d934707
  24. urn:
    5342ab7c-3d72-4f0a-b2bf-12f30f1218f4
    name:
    Hafslunds Fællesbrug
    id:
    HHSP-1329
    path:
    OSTM/HHSP-1329
    unit_type:
    ARKIV
    institution:
    Østfoldmuseene
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5342ab7c-3d72-4f0a-b2bf-12f30f1218f4
  25. urn:
    c440a9d6-f7f5-4718-8c2d-9ecdd113bffe
    name:
    Ulf Hafsten
    id:
    A-0142
    path:
    UBIT/A-0142
    unit_type:
    ARKIV
    institution:
    NTNU Universitetsbiblioteket
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c440a9d6-f7f5-4718-8c2d-9ecdd113bffe
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.