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-20T14:55:53Z in 1.719 seconds.

Showing 10 of 469265 results in compact format.

  1. name:
    Pettersen, Petter A.
    id:
    PA-2707
  2. name:
    Martin Pettersen Nøis
    id:
    A-1025
  3. name:
    Pettersen, Rolf
    id:
    SATØ-P-1636
  4. name:
    H.Pettersen A/S
    id:
    PA-0261
  5. name:
    H.Pettersen A/S
    id:
    AKT-135
  6. name:
    Brdr.Midthaug A/S
    id:
    0005
  7. name:
    Brdr.Øyo A/S
    id:
    0003
  8. name:
    Margit Pettersen, Kristiansand
    id:
    SAK-D/1073
  9. name:
    Pettersen, Paul, bygningssnekker
    id:
    PA-3086
  10. name:
    Pa 1702 - Pettersen, Odd. Sjømann
    id:
    A-2985
Show all fields in HTML
total:
469265
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    0a8aea72-8a8e-4e07-9fc7-da13091ddb9e
    name:
    Pettersen, Petter A.
    id:
    PA-2707
    path:
    AAMA/PA-2707
    unit_type:
    ARKIV
    institution:
    Aust-Agder museum og arkiv, avd. KUBEN
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0a8aea72-8a8e-4e07-9fc7-da13091ddb9e
  2. urn:
    3281712b-77bf-491e-9c8b-df7848805d09
    name:
    Martin Pettersen Nøis
    id:
    A-1025
    path:
    SVAM/A-1025
    unit_type:
    ARKIV
    institution:
    Svalbard Museum
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3281712b-77bf-491e-9c8b-df7848805d09
  3. urn:
    22e741cb-cd5b-42c3-bd78-5b7a2162e3e7
    name:
    Pettersen, Rolf
    id:
    SATØ-P-1636
    path:
    AV/SATØ-P-1636
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/22e741cb-cd5b-42c3-bd78-5b7a2162e3e7
  4. urn:
    no-STMU_arkiv_000000002023
    name:
    H.Pettersen A/S
    id:
    PA-0261
    path:
    STMU/PA-0261
    unit_type:
    Arkiv
    institution:
    Sør-Troms Museum
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-STMU_arkiv_000000002023
  5. urn:
    no-STMU_arkiv_000000002031
    name:
    H.Pettersen A/S
    id:
    AKT-135
    path:
    STMU/AKT-135
    unit_type:
    Virksomhet
    institution:
    Sør-Troms Museum
    digitized_documents:
    0
    history:
    Firma H. Pettersen A/S (Edvard Hildor Pettersen, f. Gildeskål ) var konstituert 10.11. 1930 i Harstad. Firma driev med agentur innen handel og hadde kontorlokaler i Rikard Kaarbøs gata 2. Firma gikk 1. januar 1962 over til Hjelmøe og Sønn med samme navn som før (muntlige opplysninger fra Vidkunn Ei...
    link:
    https://www.arkivportalen.no/entity/no-STMU_arkiv_000000002031
  6. urn:
    d44768b2-51c7-4c57-bd21-b4f22067b4ae
    name:
    Brdr.Midthaug A/S
    id:
    0005
    path:
    AV/RA-PA-1700/M/L0016/0005
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d44768b2-51c7-4c57-bd21-b4f22067b4ae
  7. urn:
    19a8bae9-a603-42b6-ae5c-bbc42a671131
    name:
    Brdr.Øyo A/S
    id:
    0003
    path:
    AV/RA-PA-1700/M/L0030/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/19a8bae9-a603-42b6-ae5c-bbc42a671131
  8. urn:
    0d65a768-9472-468a-8db5-1b5cec2cc342
    name:
    Margit Pettersen, Kristiansand
    id:
    SAK-D/1073
    path:
    AV/SAK-D/1073
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0d65a768-9472-468a-8db5-1b5cec2cc342
  9. urn:
    1cba6cb0-e129-46b3-961e-7644274767a0
    name:
    Pettersen, Paul, bygningssnekker
    id:
    PA-3086
    path:
    AAMA/PA-3086
    unit_type:
    ARKIV
    institution:
    Aust-Agder museum og arkiv, avd. KUBEN
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1cba6cb0-e129-46b3-961e-7644274767a0
  10. urn:
    no-VEMU_arkiv_000000165295
    name:
    Pa 1702 - Pettersen, Odd. Sjømann
    id:
    A-2985
    path:
    VEMU/A-2985
    unit_type:
    Arkiv
    institution:
    Vestfoldarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-VEMU_arkiv_000000165295
  11. urn:
    no-VEMU_arkiv_000000008101
    name:
    Pa 86 - Pettersen, Johan Petter. Skomaker
    id:
    A-1102
    path:
    VEMU/A-1102
    unit_type:
    Arkiv
    institution:
    Vestfoldarkivet
    country:
    Norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-VEMU_arkiv_000000008101
  12. urn:
    69bf62b5-5c62-4423-b9a7-312786ffd674
    name:
    Magnar Pettersen
    id:
    0001
    path:
    AIN/A-10-133/U/Ua/Uam/L0001/0001
    unit_type:
    MAPPE
    institution:
    Arkiv i Nordland
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/69bf62b5-5c62-4423-b9a7-312786ffd674
  13. urn:
    0258eeed-29f2-4b77-b203-7e5805496b34
    name:
    Pettersen, Arne
    id:
    ARK-2429
    path:
    AAB/ARK-2429
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0258eeed-29f2-4b77-b203-7e5805496b34
  14. urn:
    b127cbf3-9cfa-4d55-b0b3-13fb122c14b6
    name:
    Paul Pettersen
    id:
    SAT-PA-0590
    path:
    AV/SAT-PA-0590
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b127cbf3-9cfa-4d55-b0b3-13fb122c14b6
  15. urn:
    0f88e5d0-40fc-43b3-bc17-7b695d1c0148
    name:
    Pettersen, Martin
    id:
    SATØ-P-1562
    path:
    AV/SATØ-P-1562
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0f88e5d0-40fc-43b3-bc17-7b695d1c0148
  16. urn:
    no-BBA_arkiv000002235676
    name:
    Berle & Pettersen
    id:
    A-6468
    path:
    BBA/A-6468
    unit_type:
    Arkiv
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000002235676
  17. urn:
    7357d40c-5127-43c8-9376-8719ef1a3fff
    name:
    Pettersen, Peder
    id:
    E-A-00094
    path:
    OAMM/E-A-00094
    unit_type:
    ARKIV
    institution:
    Mjøsmuseet, Opplandsarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7357d40c-5127-43c8-9376-8719ef1a3fff
  18. urn:
    956c752f-5109-4eaa-b531-b2c398367984
    name:
    Pettersen, Bjørn
    id:
    E-A-00284
    path:
    OAMM/E-A-00284
    unit_type:
    ARKIV
    institution:
    Mjøsmuseet, Opplandsarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/956c752f-5109-4eaa-b531-b2c398367984
  19. urn:
    6787001e-5586-47f7-aa5b-35c126d85f12
    name:
    Pettersen, Einar
    id:
    ARK-2693
    path:
    AAB/ARK-2693
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/6787001e-5586-47f7-aa5b-35c126d85f12
  20. urn:
    3f20990e-bf3e-4fca-aae1-fafda05b5038
    name:
    Pa 0174 - Pettersen, Roland
    id:
    SAST-A-100284
    path:
    AV/SAST-A-100284
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3f20990e-bf3e-4fca-aae1-fafda05b5038
  21. urn:
    1d895d65-28da-48c9-a374-f69bb2b54caf
    name:
    Losoldermann Lars Pettersen
    id:
    FMA-10171
    path:
    OSTM/FMA-10171
    unit_type:
    ARKIV
    institution:
    Østfoldmuseene
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1d895d65-28da-48c9-a374-f69bb2b54caf
  22. urn:
    c53f99f5-8f76-4060-847e-398836a0ce5f
    name:
    Pettersen, Einar Juul
    id:
    ARK-1360
    path:
    AAB/ARK-1360
    unit_type:
    ARKIV
    institution:
    Arbeiderbevegelsens arkiv og bibliotek
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c53f99f5-8f76-4060-847e-398836a0ce5f
  23. urn:
    no-BBA_arkiv000000667948
    name:
    Pettersen, Øivind og Anna
    id:
    A-1012
    path:
    BBA/A-1012
    unit_type:
    Arkiv
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000000667948
  24. urn:
    3eefd709-7cdc-46d3-9016-f1efd5d964ce
    name:
    Pettersen, Ivar Gustav
    id:
    H-A-00085
    path:
    OARM/H-A-00085
    unit_type:
    ARKIV
    institution:
    Randsfjordmuseet AS
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3eefd709-7cdc-46d3-9016-f1efd5d964ce
  25. urn:
    no-VEMU_arkiv_000000037186
    name:
    Pa 982 - Familien Arff-Pettersen
    id:
    A-2137
    path:
    VEMU/A-2137
    unit_type:
    Arkiv
    institution:
    Vestfoldarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-VEMU_arkiv_000000037186
limit:
25
offset:
0
has_more_results:
yes
next_offset:
25
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.