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, 1-100 (default 25). 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, 1-100 (default 25). Unit: items. Through this API: default 25, maximum 100.

Result

Source: National Archives of Norway. Retrieved 2026-11-03T05:34:55Z in 1.948 seconds.

Showing 10 of 64279 results in compact format.

  1. name:
    Nidaros prestekoneforening
    id:
    SAT-PA-0771
  2. name:
    Vestre Toten prestekontor
    id:
    SAH-PREST-108
  3. name:
    Sør-Fron prestekontor
    id:
    SAH-PREST-010
  4. name:
    Fredrikstad domkirkes prestekontor Kirkebøker
    id:
    SAO-A-10906
  5. name:
    Oljeskattekontoret
    id:
    RA-S-5509
  6. name:
    Finansdepartementet, 2. skattekontor H
    id:
    RA-S-1066
  7. name:
    Finansdepartementet, 3. skattekontor A
    id:
    RA-S-1069
  8. name:
    Finansdepartementet, 5. skattekontor Z
    id:
    RA-S-1071
  9. name:
    Finansdepartementet, 6. skattekontor X
    id:
    RA-S-1072
  10. name:
    Finansdepartementet, 7. skattekontor U
    id:
    RA-S-1073
Show all fields in HTML
total:
64279
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    a534f3fb-65bc-4c23-8b16-6ead2bc9b707
    name:
    Nidaros prestekoneforening
    id:
    SAT-PA-0771
    path:
    AV/SAT-PA-0771
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a534f3fb-65bc-4c23-8b16-6ead2bc9b707
  2. urn:
    6893544a-cd09-4e8f-b665-ad81cfda6d7c
    name:
    Vestre Toten prestekontor
    id:
    SAH-PREST-108
    path:
    AV/SAH-PREST-108
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6893544a-cd09-4e8f-b665-ad81cfda6d7c
  3. urn:
    5b3a23ee-e627-48a1-ad6f-9373e5aa2ca4
    name:
    Sør-Fron prestekontor
    id:
    SAH-PREST-010
    path:
    AV/SAH-PREST-010
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5b3a23ee-e627-48a1-ad6f-9373e5aa2ca4
  4. urn:
    287a74ac-1024-4c86-aaa3-e20cc681fe0c
    name:
    Fredrikstad domkirkes prestekontor Kirkebøker
    id:
    SAO-A-10906
    path:
    AV/SAO-A-10906
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/287a74ac-1024-4c86-aaa3-e20cc681fe0c
  5. urn:
    fb5377de-f13b-4b48-ae65-e48d8d56c7cc
    name:
    Oljeskattekontoret
    id:
    RA-S-5509
    path:
    AV/RA-S-5509
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fb5377de-f13b-4b48-ae65-e48d8d56c7cc
  6. urn:
    e8d817dc-e9ed-4b29-9b97-300c48300d8c
    name:
    Finansdepartementet, 2. skattekontor H
    id:
    RA-S-1066
    path:
    AV/RA-S-1066
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e8d817dc-e9ed-4b29-9b97-300c48300d8c
  7. urn:
    0be2db54-855c-43e3-bd5f-1cac597cb691
    name:
    Finansdepartementet, 3. skattekontor A
    id:
    RA-S-1069
    path:
    AV/RA-S-1069
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0be2db54-855c-43e3-bd5f-1cac597cb691
  8. urn:
    90cf5e3b-8e30-4c2f-9588-2ee70f840609
    name:
    Finansdepartementet, 5. skattekontor Z
    id:
    RA-S-1071
    path:
    AV/RA-S-1071
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/90cf5e3b-8e30-4c2f-9588-2ee70f840609
  9. urn:
    b17baf0a-1e5c-4a91-a485-0687f164d331
    name:
    Finansdepartementet, 6. skattekontor X
    id:
    RA-S-1072
    path:
    AV/RA-S-1072
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b17baf0a-1e5c-4a91-a485-0687f164d331
  10. urn:
    56cdcf3b-272e-4c91-84b1-4d272547309d
    name:
    Finansdepartementet, 7. skattekontor U
    id:
    RA-S-1073
    path:
    AV/RA-S-1073
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/56cdcf3b-272e-4c91-84b1-4d272547309d
  11. urn:
    f6134382-76bc-4f86-861e-fc92a94fef24
    name:
    Landbruksdepartementet, Hestekontoret He
    id:
    RA-S-1253
    path:
    AV/RA-S-1253
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f6134382-76bc-4f86-861e-fc92a94fef24
  12. urn:
    cc5f2400-371f-43c1-a511-c7981bb43ab6
    name:
    Finansdepartementet, 1. skattekontor L
    id:
    RA-S-2393
    path:
    AV/RA-S-2393
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cc5f2400-371f-43c1-a511-c7981bb43ab6
  13. urn:
    32c886db-80d3-4a5b-8f29-47733bcf9b29
    name:
    Finansdepartementet, 4. skattekontor T
    id:
    RA-S-6683
    path:
    AV/RA-S-6683
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/32c886db-80d3-4a5b-8f29-47733bcf9b29
  14. urn:
    30a7f3f2-b34b-4f96-844f-6163e76c2103
    name:
    Ås prestekontor Kirkebøker
    id:
    SAO-A-10894
    path:
    AV/SAO-A-10894
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/30a7f3f2-b34b-4f96-844f-6163e76c2103
  15. urn:
    605e55c1-7e21-4994-9c2f-17363057af17
    name:
    Prestekontoret i Stockholm
    id:
    RA-S-2091
    path:
    AV/RA-S-2091
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/605e55c1-7e21-4994-9c2f-17363057af17
  16. urn:
    3dad24c4-b323-4b29-a5c0-da506dc122ca
    name:
    Hamar prestekontor
    id:
    SAH-DOMPH-002
    path:
    AV/SAH-DOMPH-002
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3dad24c4-b323-4b29-a5c0-da506dc122ca
  17. urn:
    64c8e1d1-45b6-45ba-9814-132931c3a019
    name:
    Stange prestekontor
    id:
    SAH-PREST-002
    path:
    AV/SAH-PREST-002
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/64c8e1d1-45b6-45ba-9814-132931c3a019
  18. urn:
    c1a30b26-a1dc-4301-a670-4a2bbfe46629
    name:
    Romedal prestekontor
    id:
    SAH-PREST-004
    path:
    AV/SAH-PREST-004
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c1a30b26-a1dc-4301-a670-4a2bbfe46629
  19. urn:
    e6be540e-edb2-4b4d-b073-e71bf6893eed
    name:
    Raufoss prestekontor
    id:
    SAH-PREST-006
    path:
    AV/SAH-PREST-006
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e6be540e-edb2-4b4d-b073-e71bf6893eed
  20. urn:
    637dd6ec-4d8a-4fa8-a1ca-c6c60ff0f9a2
    name:
    Furnes prestekontor
    id:
    SAH-PREST-012
    path:
    AV/SAH-PREST-012
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/637dd6ec-4d8a-4fa8-a1ca-c6c60ff0f9a2
  21. urn:
    666bce6e-f56e-4772-8aa2-d9d1f35e90d6
    name:
    Ringsaker prestekontor
    id:
    SAH-PREST-014
    path:
    AV/SAH-PREST-014
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/666bce6e-f56e-4772-8aa2-d9d1f35e90d6
  22. urn:
    b0f5e27c-45bd-4331-986c-54d35f26d49f
    name:
    Brøttum prestekontor
    id:
    SAH-PREST-016
    path:
    AV/SAH-PREST-016
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b0f5e27c-45bd-4331-986c-54d35f26d49f
  23. urn:
    68035ab4-324a-4807-8442-f110cdaae447
    name:
    Veldre prestekontor
    id:
    SAH-PREST-018
    path:
    AV/SAH-PREST-018
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/68035ab4-324a-4807-8442-f110cdaae447
  24. urn:
    8538ee11-62c9-4f80-97e6-72c6c8c854dc
    name:
    Løten prestekontor
    id:
    SAH-PREST-022
    path:
    AV/SAH-PREST-022
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8538ee11-62c9-4f80-97e6-72c6c8c854dc
  25. urn:
    d8bf5667-9420-41e8-9c15-f78d42941e7e
    name:
    Vinger prestekontor
    id:
    SAH-PREST-024
    path:
    AV/SAH-PREST-024
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d8bf5667-9420-41e8-9c15-f78d42941e7e
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.