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-24T14:31:26Z in 0.463 seconds.

Showing 10 of 21 results in compact format.

  1. name:
    Vegtilsynet
    id:
    0001
  2. name:
    Vegtilsynet
    id:
    0005
  3. name:
    Vegtilsynet
    id:
    0013
  4. name:
    Vegtilsynet
    id:
    0004
  5. name:
    Vegvoktere, vegtilsynet
    id:
    0001
  6. name:
    Omordning av vegtilsynet
    id:
    0003
  7. name:
    V 5.3 D Vegtilsynet
    id:
    0007
  8. name:
    Vegtilsynet. Vegtilsynsmenn. Lensmenn
    id:
    0002
  9. name:
    Godtgjørelse for vegtilsynet
    id:
    0004
  10. name:
    Samferdsel - vegstell - Vegtilsynet
    id:
    0004
Show all fields in HTML
total:
21
total_exact:
yes
returned:
21
page:
1
results:

21 results

  1. urn:
    ff670775-e0ea-49e6-bcce-e865c5723e40
    name:
    Vegtilsynet
    id:
    0001
    path:
    AV/SAK-1271-0004/001/D/Db/L0336/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ff670775-e0ea-49e6-bcce-e865c5723e40
  2. urn:
    98bde7bc-33e2-48f2-9c14-0130b50d65ad
    name:
    Vegtilsynet
    id:
    0005
    path:
    AV/SAT-A-0499/2/O/Oc/L0003/0005
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/98bde7bc-33e2-48f2-9c14-0130b50d65ad
  3. urn:
    02bbea07-0140-4574-a8f8-8b103e85ac77
    name:
    Vegtilsynet
    id:
    0013
    path:
    AV/SATØ-S-0189/R/Rc/Rcb/L0842/0013
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/02bbea07-0140-4574-a8f8-8b103e85ac77
  4. urn:
    9957e63a-e702-4bc2-a49d-7e4616f3f0be
    name:
    Vegtilsynet
    id:
    0004
    path:
    AV/SATØ-SATØ-71/D/Db/L0025/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9957e63a-e702-4bc2-a49d-7e4616f3f0be
  5. urn:
    dc120a34-db65-4676-b534-768b5e774a5f
    name:
    Vegvoktere, vegtilsynet
    id:
    0001
    path:
    ARKSOR/1001OD120/D/Dg/L0018/0001
    unit_type:
    MAPPE
    institution:
    Arkivsenter Sør
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/dc120a34-db65-4676-b534-768b5e774a5f
  6. urn:
    cc341004-0e88-4c6f-9b80-c71a38d0faa2
    name:
    Omordning av vegtilsynet
    id:
    0003
    path:
    AV/SAK-1811-0007/D/L0461/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/cc341004-0e88-4c6f-9b80-c71a38d0faa2
  7. urn:
    c74aa39b-f7dc-4b98-a984-c63b500a0530
    name:
    V 5.3 D Vegtilsynet
    id:
    0007
    path:
    AV/SAO-A-11497/E/Ea/L0338/0007
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c74aa39b-f7dc-4b98-a984-c63b500a0530
  8. urn:
    056dd2af-77bb-4ee9-a20d-e7c5050a5320
    name:
    Vegtilsynet. Vegtilsynsmenn. Lensmenn
    id:
    0002
    path:
    AV/SAK-1811-0007/D/L0461/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/056dd2af-77bb-4ee9-a20d-e7c5050a5320
  9. urn:
    17d5d3c5-b9fc-4cc1-8df3-add2296cad8d
    name:
    Godtgjørelse for vegtilsynet
    id:
    0004
    path:
    AV/SAK-1811-0007/D/L0461/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/17d5d3c5-b9fc-4cc1-8df3-add2296cad8d
  10. urn:
    37c972b5-7b10-4e4f-94f5-462acd249962
    name:
    Samferdsel - vegstell - Vegtilsynet
    id:
    0004
    path:
    AV/SAO-A-10059/E/Ea/L0201/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/37c972b5-7b10-4e4f-94f5-462acd249962
  11. urn:
    860c2f24-0949-40dc-9146-d586261b63a6
    name:
    Samferdsel - vegstell - vegtilsynet
    id:
    0003
    path:
    AV/SAO-A-10059/E/Ea/L0208/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/860c2f24-0949-40dc-9146-d586261b63a6
  12. urn:
    21256acd-01d7-4db9-9c0d-872474066288
    name:
    Vegtilsynet i sin alminnelighet
    id:
    0001
    path:
    AV/SAT-A-4181/P/Pa/L0016/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/21256acd-01d7-4db9-9c0d-872474066288
  13. urn:
    7d1499a0-a63c-4841-858c-fc49b81b5f80
    name:
    Vegtilsynet i sin alminnelighet
    id:
    0003
    path:
    AV/SAT-A-4181/P/Pb/L0006/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7d1499a0-a63c-4841-858c-fc49b81b5f80
  14. urn:
    af51cef0-34b0-4895-8932-8634b13e744a
    name:
    Administrasjon. Vegtilsynet. Oppsynsmenn m.v
    id:
    L0957
    path:
    AV/SAK-1811-0008/F/Ff/L0957
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/af51cef0-34b0-4895-8932-8634b13e744a
  15. urn:
    no-BBA_arkiv000003064864
    name:
    046 Vegtilsynet: Opprettelse av teknikerstilling
    id:
    0032
    path:
    BBA/A-0501/D/Db/L0051/0032
    unit_type:
    Mappe
    institution:
    Bergen byarkiv
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000003064864
  16. urn:
    f0c0d720-8e28-4426-a4d3-df2dbf258716
    name:
    565 Korrespondanse med vegtilsynet
    id:
    0007
    path:
    FRKA/O-1014/D/Da/L0075/0007
    unit_type:
    MAPPE
    institution:
    Fredrikstad byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f0c0d720-8e28-4426-a4d3-df2dbf258716
  17. urn:
    no-BBA_arkiv000003064308
    name:
    042 Vegtilsynet: Sykelønn inntil 1. januar 1956
    id:
    0016
    path:
    BBA/A-0501/D/Db/L0035/0016
    unit_type:
    Mappe
    institution:
    Bergen byarkiv
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000003064308
  18. urn:
    88cf7449-bfcb-427a-9df0-88a42c8ac765
    name:
    Kap. 714,A post 3, 4 og 5 Tilskudd til kommunale vegvoktere og vedlikeholdsarb., vegtilsynet og landdistriktene
    id:
    0001
    path:
    AV/SAT-A-4181/D/Db/L0042/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/88cf7449-bfcb-427a-9df0-88a42c8ac765
  19. urn:
    74c2e373-bbcc-404e-a5c2-6142c1c3e8d6
    name:
    Vegsjefen, ingeniører, vegkasserer, kontorlokaler, utstyr, administrasjon, vegvesenets kjøretøyer, fylkesveistyret, lønns- og arbeidsvilkår, vegarbeidere, pensjonsordning, vegtilsynet
    id:
    L3063
    path:
    AV/SATØ-S-0001/A8.7.2.10/L3063
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/74c2e373-bbcc-404e-a5c2-6142c1c3e8d6
  20. urn:
    c1aa50e3-d978-426a-bbcd-8de2574e10c8
    name:
    Protokoll
    id:
    L0005
    path:
    AV/SAKO-A-510/J/Ja/L0005
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c1aa50e3-d978-426a-bbcd-8de2574e10c8
  21. urn:
    4dc70cc6-a00f-4882-977c-cb9bf50bf01d
    name:
    Saksarkiv nøkkelordnet
    id:
    L0187
    path:
    AV/SAK-1271-0008/001/D/Dd/L0187
    unit_type:
    STYKKE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/4dc70cc6-a00f-4882-977c-cb9bf50bf01d
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.