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-02T12:20:54Z in 5.482 seconds.

Showing 10 of 53566 results in compact format.

  1. name:
    Lunner trygdekontor
    id:
    SAH-TRYGD-042
  2. name:
    Os trygdekontor
    id:
    SAH-TRYGD-013
  3. name:
    Ringsaker trygdekontor
    id:
    SAH-TRYGD-001
  4. name:
    Trysil trygdekontor
    id:
    SAH-TRYGD-002
  5. name:
    Lillehammer trygdekontor
    id:
    SAH-TRYGD-003
  6. name:
    Åmot trygdekontor
    id:
    SAH-TRYGD-005
  7. name:
    Hamar trygdekontor
    id:
    SAH-TRYGD-007
  8. name:
    Engerdal trygdekontor
    id:
    SAH-TRYGD-008
  9. name:
    Kvikne trygdekontor
    id:
    SAH-TRYGD-009
  10. name:
    Tynset trygdekontor
    id:
    SAH-TRYGD-010
Show all fields in HTML
total:
53566
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    26e8b5c5-95bc-4e41-890b-295b48b059e9
    name:
    Lunner trygdekontor
    id:
    SAH-TRYGD-042
    path:
    AV/SAH-TRYGD-042
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/26e8b5c5-95bc-4e41-890b-295b48b059e9
  2. urn:
    52cba700-2e58-49ac-818f-bea8722cada0
    name:
    Os trygdekontor
    id:
    SAH-TRYGD-013
    path:
    AV/SAH-TRYGD-013
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/52cba700-2e58-49ac-818f-bea8722cada0
  3. urn:
    ddb3ebcc-b2db-475a-8379-775d13085509
    name:
    Ringsaker trygdekontor
    id:
    SAH-TRYGD-001
    path:
    AV/SAH-TRYGD-001
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ddb3ebcc-b2db-475a-8379-775d13085509
  4. urn:
    a4b65a33-1d30-463b-bc7e-eb766c4a2574
    name:
    Trysil trygdekontor
    id:
    SAH-TRYGD-002
    path:
    AV/SAH-TRYGD-002
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a4b65a33-1d30-463b-bc7e-eb766c4a2574
  5. urn:
    d7cd5a73-2802-46e7-b891-39af5807a3c4
    name:
    Lillehammer trygdekontor
    id:
    SAH-TRYGD-003
    path:
    AV/SAH-TRYGD-003
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d7cd5a73-2802-46e7-b891-39af5807a3c4
  6. urn:
    f74aefa0-e6b7-4e10-95f8-9863ad4927b6
    name:
    Åmot trygdekontor
    id:
    SAH-TRYGD-005
    path:
    AV/SAH-TRYGD-005
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f74aefa0-e6b7-4e10-95f8-9863ad4927b6
  7. urn:
    b5c46e96-e2fe-452d-b9c9-3374479466c0
    name:
    Hamar trygdekontor
    id:
    SAH-TRYGD-007
    path:
    AV/SAH-TRYGD-007
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b5c46e96-e2fe-452d-b9c9-3374479466c0
  8. urn:
    522769cb-28e2-4d11-8526-b421e75ae247
    name:
    Engerdal trygdekontor
    id:
    SAH-TRYGD-008
    path:
    AV/SAH-TRYGD-008
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/522769cb-28e2-4d11-8526-b421e75ae247
  9. urn:
    89470b7a-5b87-4a0a-ac95-7c429c3f0f7e
    name:
    Kvikne trygdekontor
    id:
    SAH-TRYGD-009
    path:
    AV/SAH-TRYGD-009
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/89470b7a-5b87-4a0a-ac95-7c429c3f0f7e
  10. urn:
    e3c8b084-77da-4891-9fd7-3deb7eb45a01
    name:
    Tynset trygdekontor
    id:
    SAH-TRYGD-010
    path:
    AV/SAH-TRYGD-010
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e3c8b084-77da-4891-9fd7-3deb7eb45a01
  11. urn:
    76249cba-0e2a-44ea-b710-3f11e4e1757f
    name:
    Alvdal trygdekontor
    id:
    SAH-TRYGD-011
    path:
    AV/SAH-TRYGD-011
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/76249cba-0e2a-44ea-b710-3f11e4e1757f
  12. urn:
    7b3f7a60-9265-4425-bc29-0dad03ad8253
    name:
    Folldal trygdekontor
    id:
    SAH-TRYGD-012
    path:
    AV/SAH-TRYGD-012
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7b3f7a60-9265-4425-bc29-0dad03ad8253
  13. urn:
    0af54028-f215-4895-b40b-68f096efffbb
    name:
    Romedal trygdekontor
    id:
    SAH-TRYGD-014
    path:
    AV/SAH-TRYGD-014
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0af54028-f215-4895-b40b-68f096efffbb
  14. urn:
    c058aaf7-3ba4-4df9-afd3-ee50f1d1f117
    name:
    Brandval trygdekontor
    id:
    SAH-TRYGD-016
    path:
    AV/SAH-TRYGD-016
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c058aaf7-3ba4-4df9-afd3-ee50f1d1f117
  15. urn:
    221ba28a-ce0d-4ab7-92c6-3d76b374847b
    name:
    Vinger trygdekontor
    id:
    SAH-TRYGD-017
    path:
    AV/SAH-TRYGD-017
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/221ba28a-ce0d-4ab7-92c6-3d76b374847b
  16. urn:
    2c649acb-fda9-4dd6-ae09-c25b277bdd46
    name:
    Kongsvinger trygdekontor
    id:
    SAH-TRYGD-018
    path:
    AV/SAH-TRYGD-018
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/2c649acb-fda9-4dd6-ae09-c25b277bdd46
  17. urn:
    1a7f8292-dfde-4131-8c4d-1c796cede465
    name:
    Stange trygdekontor
    id:
    SAH-TRYGD-019
    path:
    AV/SAH-TRYGD-019
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1a7f8292-dfde-4131-8c4d-1c796cede465
  18. urn:
    ccd778fd-6438-469c-af10-23b1da5e5dde
    name:
    Løten trygdekontor
    id:
    SAH-TRYGD-020
    path:
    AV/SAH-TRYGD-020
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ccd778fd-6438-469c-af10-23b1da5e5dde
  19. urn:
    6e87893c-93e5-4ff3-8875-fd24c095dd7a
    name:
    Tolga trygdekontor
    id:
    SAH-TRYGD-021
    path:
    AV/SAH-TRYGD-021
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6e87893c-93e5-4ff3-8875-fd24c095dd7a
  20. urn:
    44544da2-b236-43b9-a0f2-f156df48fa26
    name:
    Grue trygdekontor
    id:
    SAH-TRYGD-022
    path:
    AV/SAH-TRYGD-022
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/44544da2-b236-43b9-a0f2-f156df48fa26
  21. urn:
    065e6e5d-004c-4358-bcf5-559fc82a535c
    name:
    Vang, H., trygdekontor
    id:
    SAH-TRYGD-023
    path:
    AV/SAH-TRYGD-023
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/065e6e5d-004c-4358-bcf5-559fc82a535c
  22. urn:
    7ac367c3-6d45-4f51-869e-830a34b17454
    name:
    Eidskog trygdekontor
    id:
    SAH-TRYGD-024
    path:
    AV/SAH-TRYGD-024
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7ac367c3-6d45-4f51-869e-830a34b17454
  23. urn:
    c87f56dd-d1d8-499c-8911-4e23e944361c
    name:
    Elverum trygdekontor
    id:
    SAH-TRYGD-026
    path:
    AV/SAH-TRYGD-026
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c87f56dd-d1d8-499c-8911-4e23e944361c
  24. urn:
    5349efb3-eb47-4637-9ae4-55d00cc0a89e
    name:
    Åsnes trygdekontor
    id:
    SAH-TRYGD-028
    path:
    AV/SAH-TRYGD-028
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5349efb3-eb47-4637-9ae4-55d00cc0a89e
  25. urn:
    ef8efd5c-282e-4f59-b487-914f632a254e
    name:
    Furnes trygdekontor
    id:
    SAH-TRYGD-033
    path:
    AV/SAH-TRYGD-033
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ef8efd5c-282e-4f59-b487-914f632a254e
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.