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

Result

Source: National Archives of Norway. Retrieved 2026-11-22T23:08:18Z in 0.194 seconds.

Showing 10 of 150 results in compact format.

  1. name:
    St. Olavs orden til direktør Mageli
    id:
    0003
  2. name:
    Johannes Mageli, direktør 1948-1979, styreformann 1979-1985.
    id:
    0007
  3. name:
    Advokatfirmaet Greve, Greve, Greve & Lorentzen
    id:
    A-6599
  4. name:
    Materiale etter Inga Mageli
    id:
    0002
  5. name:
    Mageli, Torgeir
    id:
    V-A-00386
  6. name:
    Nord-Mageli
    id:
    L1225
  7. name:
    Mageli, Thor
    id:
    0002
  8. name:
    Karsten Mageli: historikk
    id:
    L1308
  9. name:
    Strategiplan Johs Mageli
    id:
    0001
  10. name:
    Strategiplan Johs Mageli
    id:
    0002
Show all fields in HTML
total:
150
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    41d09e5f-5128-448d-8b2a-b85454fbb3b2
    name:
    St. Olavs orden til direktør Mageli
    id:
    0003
    path:
    AV/SAH-ARK-287-01/P/Pb/L0001/0003
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/41d09e5f-5128-448d-8b2a-b85454fbb3b2
  2. urn:
    8ff5106b-bf3e-455b-a49f-f2792a4deafd
    name:
    Johannes Mageli, direktør 1948-1979, styreformann 1979-1985.
    id:
    0007
    path:
    AV/SAH-ARK-287-01/L/L0002/0007
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/8ff5106b-bf3e-455b-a49f-f2792a4deafd
  3. urn:
    no-BBA_arkiv000001017638
    name:
    Advokatfirmaet Greve, Greve, Greve & Lorentzen
    id:
    A-6599
    path:
    BBA/A-6599
    unit_type:
    Virksomhet
    institution:
    Bergen byarkiv
    country:
    NORGE
    digitized_documents:
    0
    history:
    Fra wikipedia: "Advokatfirmaet Greve, Greve, Greve & Lorentzen (etablert 1928 i Bergen) var et advokatfirma som ble etablert av advokat Gunnar Greve sr. (1904–1990). Greve ble cand.jur. i 1925 og høyesterettsadvokat i 1936. I 1954 ble firmaet utvidet med hans to sønner, Jan Einar Greve (født 1933) ...
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000001017638
  4. urn:
    9f667d46-0c47-47b6-89bd-99d75cf3e57d
    name:
    Materiale etter Inga Mageli
    id:
    0002
    path:
    TRKO/PA-1204/M/L0006/0002
    unit_type:
    MAPPE
    institution:
    Trondheim byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9f667d46-0c47-47b6-89bd-99d75cf3e57d
  5. urn:
    043d494d-839e-4ae4-91b7-196a7f6af4a1
    name:
    Mageli, Torgeir
    id:
    V-A-00386
    path:
    GDM/V-A-00386
    unit_type:
    ARKIV
    institution:
    Gudbrandsdalsmusea AS
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/043d494d-839e-4ae4-91b7-196a7f6af4a1
  6. urn:
    49f2266f-31bd-43c2-9999-5ff1a0b89577
    name:
    Nord-Mageli
    id:
    L1225
    path:
    OAM/A-00495/XX/L1225
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/49f2266f-31bd-43c2-9999-5ff1a0b89577
  7. urn:
    no-OFA_arkiv_000000111050
    name:
    Mageli, Thor
    id:
    0002
    path:
    OFA/ARK/00721/Ua/L0026/0002
    unit_type:
    Mappe
    institution:
    Innlandet fylkesarkiv / IKA Opplandene
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-OFA_arkiv_000000111050
  8. urn:
    c9f6892d-4e61-4ebe-857f-e435ea63308e
    name:
    Karsten Mageli: historikk
    id:
    L1308
    path:
    OAM/A-00532/XX/L1308
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c9f6892d-4e61-4ebe-857f-e435ea63308e
  9. urn:
    f010da65-484a-42b5-842d-6101727c8411
    name:
    Strategiplan Johs Mageli
    id:
    0001
    path:
    AV/SAH-ARK-287-01/O/L0001/0001
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f010da65-484a-42b5-842d-6101727c8411
  10. urn:
    a42f92a5-3767-4ec0-9313-4a7bb5e8f066
    name:
    Strategiplan Johs Mageli
    id:
    0002
    path:
    AV/SAH-ARK-287-01/O/L0001/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a42f92a5-3767-4ec0-9313-4a7bb5e8f066
  11. urn:
    9c5abbff-e6a2-4279-b199-f8d715a43cb6
    name:
    Advokatfirmaet Grette
    id:
    SAO-PAO-0289
    path:
    AV/SAO-PAO-0289
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9c5abbff-e6a2-4279-b199-f8d715a43cb6
  12. urn:
    937debd4-bcd2-4234-9909-e21343c3a305
    name:
    Mageli, Gustav. Lensmann, Rena.
    id:
    0002
    path:
    AV/RA-S-4214/H/L0006/0002
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/937debd4-bcd2-4234-9909-e21343c3a305
  13. urn:
    3771a124-68e5-4e2b-a0bb-415c24a604e4
    name:
    Mageli, Thor - ordfører - til Tor
    id:
    L1138
    path:
    OAM/A-00495/XX/L1138
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/3771a124-68e5-4e2b-a0bb-415c24a604e4
  14. urn:
    217eb92c-12ee-42ed-bf2b-d8d4625e9d02
    name:
    Thor Mageli: 'Hun fikk skomakeren'
    id:
    L1555
    path:
    OAM/A-00599/XX/L1555
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/217eb92c-12ee-42ed-bf2b-d8d4625e9d02
  15. urn:
    a53f85db-b6ac-4ffd-94a6-5499cf51cc2e
    name:
    Etter tilfang frå Thor Mageli II
    id:
    L1170
    path:
    OAM/A-00495/XX/L1170
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/a53f85db-b6ac-4ffd-94a6-5499cf51cc2e
  16. urn:
    71fa5f44-5e94-4e7c-ac09-a328c5fbdbbc
    name:
    Etter tilfang frå Thor Mageli I
    id:
    L1170
    path:
    OAM/A-00495/XX/L1170
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/71fa5f44-5e94-4e7c-ac09-a328c5fbdbbc
  17. urn:
    f3d1454b-75cc-48b6-8266-9af97a76d287
    name:
    Furnes: 82937 Mageli og Larsen (Bulldozerdrift)
    id:
    0004
    path:
    AV/RA-S-4852/D/Dd/L0600/0004
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/f3d1454b-75cc-48b6-8266-9af97a76d287
  18. urn:
    b8440314-22a9-45ac-ae7f-4eb1c85792c9
    name:
    Advokatfirmaet BAHR
    id:
    0005
    path:
    AV/RA-S-3871/D/L0043/0005
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/b8440314-22a9-45ac-ae7f-4eb1c85792c9
  19. urn:
    no-BBA_arkiv000001017643
    name:
    Advokatfirmaet Greve, Greve, Greve & Lorentzen
    id:
    A-6599
    path:
    BBA/A-6599
    unit_type:
    Arkiv
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000001017643
  20. urn:
    9f6b9159-b006-4268-a650-b11fdb6f58a6
    name:
    Advokatfirmaet: Bykredittforeningen, skattespørsmål
    id:
    L0035
    path:
    AIN/NA106/251/L0035
    unit_type:
    STYKKE
    institution:
    Arkiv i Nordland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9f6b9159-b006-4268-a650-b11fdb6f58a6
  21. urn:
    c1151ad7-f34e-4439-be4e-90b1ddfcf758
    name:
    Advokatfirmaet: Diverse dokumenter
    id:
    L0037
    path:
    AIN/NA106/251/L0037
    unit_type:
    STYKKE
    institution:
    Arkiv i Nordland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/c1151ad7-f34e-4439-be4e-90b1ddfcf758
  22. urn:
    9a03a6b8-56b4-4df5-b7ff-1589b4b61e63
    name:
    Kvittering for mel, Matia og Frans v/Mageli
    id:
    L1255
    path:
    OAM/A-00511/XX/L1255
    unit_type:
    STYKKE
    institution:
    Opplandsarkivet, Maihaugen
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/9a03a6b8-56b4-4df5-b7ff-1589b4b61e63
  23. urn:
    no-BBA_arkiv000000214565
    name:
    Mageli, Johs - direktør i Moelven brug - 1 bilde.
    id:
    0015
    path:
    BBA/A-0863/U/Ua/Uab/L0047/0015
    unit_type:
    Mappe
    institution:
    Bergen byarkiv
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/no-BBA_arkiv000000214565
  24. urn:
    16313177-8cd7-4863-a1b1-f2b7f303be02
    name:
    Advokatfirmaet: Nord-nordiske juristmøter
    id:
    L0036
    path:
    AIN/NA106/251/L0036
    unit_type:
    STYKKE
    institution:
    Arkiv i Nordland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/16313177-8cd7-4863-a1b1-f2b7f303be02
  25. urn:
    0e8b63ca-a76f-4c23-aad5-3e3e5edc1a7b
    name:
    Advokatfirmaet: Den norske Advokatforening
    id:
    L0039
    path:
    AIN/NA106/251/L0039
    unit_type:
    STYKKE
    institution:
    Arkiv i Nordland
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/0e8b63ca-a76f-4c23-aad5-3e3e5edc1a7b
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.