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-15T03:27:19Z in 0.312 seconds.

Showing 10 of 94 results in compact format.

  1. name:
    Statsborgersaker sendt Utlendingsdirektoratet (UDI)
    id:
    Ha
  2. name:
    Utlendingsdirektoratet
    id:
    S-4F-11535
  3. name:
    Utlendingsdirektoratet
    id:
    RA-S-2465
  4. name:
    Utlendingsdirektoratet
    id:
    Ha
  5. name:
    Utlendingsdirektoratet
    id:
    L0001
  6. name:
    Utlendingsdirektoratet
    id:
    0007
  7. name:
    Utlendingsdirektoratet
    id:
    0018
  8. name:
    Utlendingsdirektoratet
    id:
    0005
  9. name:
    Utlendingsdirektoratet
    id:
    0003
  10. name:
    Utlendingsdirektoratet
    id:
    0003
Show all fields in HTML
total:
94
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    7fcf3e5b-b3f3-435b-bbb9-9c64276e9ed2
    name:
    Statsborgersaker sendt Utlendingsdirektoratet (UDI)
    id:
    Ha
    path:
    AV/SAST-A-101928/0003/H/Ha
    unit_type:
    SERIE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7fcf3e5b-b3f3-435b-bbb9-9c64276e9ed2
  2. urn:
    4e635d29-6ecc-4b8e-98f5-515441e7f024
    name:
    Utlendingsdirektoratet
    id:
    S-4F-11535
    path:
    AV/S-4F-11535
    unit_type:
    Business
    institution:
    Nasjonalarkivet
    country:
    NORGE
    digitized_documents:
    0
    history:
    Det nye Utlendingsdirektoratet ble opprettet fra 1.1.1988 (jfr. St.prp.nr.1, 1987/88, kap. 504, s. 59). Ved etableringen ble Statens utlendingskontor (fra Justisdep.) og Statens flyktningesekretariat (fra Sosialdep - frittstående enhet) lagt ned og ressursene overført direktoratet. Utlendingsdirek...
    link:
    https://www.arkivportalen.no/entity/4e635d29-6ecc-4b8e-98f5-515441e7f024
  3. urn:
    7c9d631e-d4a1-4b2e-8d14-e3791bf1b116
    name:
    Utlendingsdirektoratet
    id:
    RA-S-2465
    path:
    AV/RA-S-2465
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7c9d631e-d4a1-4b2e-8d14-e3791bf1b116
  4. urn:
    no-BBA_arkiv000003694356
    name:
    Utlendingsdirektoratet
    id:
    Ha
    path:
    BBA/A-3457/H/Ha
    unit_type:
    Serie
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000003694356
  5. urn:
    no-BBA_arkiv000003694391
    name:
    Utlendingsdirektoratet
    id:
    L0001
    path:
    BBA/A-3457/H/Ha/L0001
    unit_type:
    Stykke
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000003694391
  6. urn:
    07679a67-9430-4870-bd0e-cf990c9fd61c
    name:
    Utlendingsdirektoratet
    id:
    0007
    path:
    AV/RA-PA-0691/D/Dd/L0016/0007
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/07679a67-9430-4870-bd0e-cf990c9fd61c
  7. urn:
    5c8adf5e-e10f-4e36-ac36-7359e3af325e
    name:
    Utlendingsdirektoratet
    id:
    0018
    path:
    AV/RA-PA-0691/D/Dd/L0026/0018
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/5c8adf5e-e10f-4e36-ac36-7359e3af325e
  8. urn:
    ddb7e3aa-b4ed-4184-b805-d6798a18ecd2
    name:
    Utlendingsdirektoratet
    id:
    0005
    path:
    AV/RA-PA-1283/Db/L0044/0005
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ddb7e3aa-b4ed-4184-b805-d6798a18ecd2
  9. urn:
    e5e660d7-16f1-4280-90c4-9cc17592dcfc
    name:
    Utlendingsdirektoratet
    id:
    0003
    path:
    AV/RA-PA-2092/D/Da/L0003/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/e5e660d7-16f1-4280-90c4-9cc17592dcfc
  10. urn:
    8f99e3bd-ceda-451e-95c6-95b77ddd7f4d
    name:
    Utlendingsdirektoratet
    id:
    0003
    path:
    AV/RA-S-1542/D/Dd/L0187/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8f99e3bd-ceda-451e-95c6-95b77ddd7f4d
  11. urn:
    0e4627e4-9796-486d-9a21-3734bfcb797a
    name:
    Utlendingsdirektoratet
    id:
    0004
    path:
    AV/SAH-SAH-001/G/Ga/Gaf/L0005/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0e4627e4-9796-486d-9a21-3734bfcb797a
  12. urn:
    21a2f2ca-da8f-4d77-a4f6-83065f551bef
    name:
    Utlendingsdirektoratet
    id:
    0003
    path:
    AV/SAKO-A-1150/D/Db/L0012/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/21a2f2ca-da8f-4d77-a4f6-83065f551bef
  13. urn:
    b2957922-14bc-4a7f-bd49-33050913e5f2
    name:
    Utlendingsdirektoratet
    id:
    0010
    path:
    AV/SAO-A-10626/D/Da/L0003/0010
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b2957922-14bc-4a7f-bd49-33050913e5f2
  14. urn:
    37d852d7-1317-42f9-871e-3ed5dee0ccc5
    name:
    Utlendingsdirektoratet
    id:
    0010
    path:
    NF/Ark-1001/D/L0008/0010
    unit_type:
    MAPPE
    institution:
    Norsk folkemuseum
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/37d852d7-1317-42f9-871e-3ed5dee0ccc5
  15. urn:
    0ce94327-34bd-4da7-94e6-3963a37654e5
    name:
    Utlendingsdirektoratet
    id:
    0005
    path:
    VID/MDA-A-5002/D/Da/Dac/L0021/0005
    unit_type:
    MAPPE
    institution:
    Misjons- og diakoniarkivet, VID
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0ce94327-34bd-4da7-94e6-3963a37654e5
  16. urn:
    b3039bd9-f18b-4b92-b81a-50f776b7b9e3
    name:
    733.3 Utlendingsdirektoratet
    id:
    0034
    path:
    AV/RA-PA-1291/Da/L0039/0034
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b3039bd9-f18b-4b92-b81a-50f776b7b9e3
  17. urn:
    fc0e012a-28fc-49c4-a673-b6dbcd0c2f2e
    name:
    Utlendingsdirektoratet (48)
    id:
    0013
    path:
    AV/RA-S-1577/D/Dg/L0022/0013
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fc0e012a-28fc-49c4-a673-b6dbcd0c2f2e
  18. urn:
    fe4853d3-2707-4c4b-a574-eb00dc7b008a
    name:
    Utlendingsdirektoratet (UDI)
    id:
    0020
    path:
    AV/RA-S-4801/D/Da/L0034/0020
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/fe4853d3-2707-4c4b-a574-eb00dc7b008a
  19. urn:
    3d4fa933-75d0-4a26-a995-ba8effe3a965
    name:
    Kommunaldepartementet - Utlendingsdirektoratet
    id:
    0003
    path:
    AV/RA-S-4972/D/Df/L0070/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3d4fa933-75d0-4a26-a995-ba8effe3a965
  20. urn:
    931af5c1-888f-46d0-921a-60a0e1e18cf4
    name:
    UDI - Utlendingsdirektoratet
    id:
    0004
    path:
    AV/SAT-A-5348/D/Dd/L0063/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/931af5c1-888f-46d0-921a-60a0e1e18cf4
  21. urn:
    ea48e28a-5af1-46da-b206-3805b1e1e36e
    name:
    216.4.1 Utlendingsdirektoratet
    id:
    0007
    path:
    SKA/A-0074/D/Da/L0069/0007
    unit_type:
    MAPPE
    institution:
    Skeivt arkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/ea48e28a-5af1-46da-b206-3805b1e1e36e
  22. urn:
    27d83f2a-48a9-4a5f-8834-a29e2c0a993d
    name:
    Korrespondanse, Utlendingsdirektoratet
    id:
    0006
    path:
    UBIT/A-0389/D/L0009/0006
    unit_type:
    MAPPE
    institution:
    NTNU Universitetsbiblioteket
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/27d83f2a-48a9-4a5f-8834-a29e2c0a993d
  23. urn:
    7e6caffd-2610-462c-8b7a-d90170479765
    name:
    Utlendingsdirektoratet, integreringstilskot
    id:
    0015
    path:
    VLFK/K-10803/D/Da/Dae/L0102/0015
    unit_type:
    MAPPE
    institution:
    Fylkesarkivet i Vestland
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/7e6caffd-2610-462c-8b7a-d90170479765
  24. urn:
    810262ef-ca4c-4e76-8e90-edd2813d942a
    name:
    Korrespondanse med Utlendingsdirektoratet
    id:
    0002
    path:
    AV/RA-PA-1253/D/Dc/L0001/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/810262ef-ca4c-4e76-8e90-edd2813d942a
  25. urn:
    44bd4f50-0c78-4e3d-863a-3c88c33afd8a
    name:
    Utlendingsdirektoratet (UDI) - økonomisystem
    id:
    0006
    path:
    AV/RA-S-1519/E/Eb/L0001/0006
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/44bd4f50-0c78-4e3d-863a-3c88c33afd8a
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.