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-21T23:38:13Z in 0.228 seconds.

Showing 10 of 188 results in compact format.

  1. name:
    Andersen og Fjalstad. Advokatfirma
    id:
    DA-1155
  2. name:
    St. Olavs orden til direktør Mageli
    id:
    0003
  3. name:
    Advokatfirmaet Grette
    id:
    SAO-PAO-0289
  4. name:
    Advokatfirmaet Greve, Greve, Greve & Lorentzen
    id:
    A-6599
  5. name:
    Advokatfirmaet Østeraas og Horseng ANS - Uordnet privatarkiv
    id:
    SAT-PA-0671
  6. name:
    Johannes Mageli, direktør 1948-1979, styreformann 1979-1985.
    id:
    0007
  7. name:
    Materiale etter Inga Mageli
    id:
    0002
  8. name:
    Mageli, Torgeir
    id:
    V-A-00386
  9. name:
    Nord-Mageli
    id:
    L1225
  10. name:
    Mageli, Thor
    id:
    0002
Show all fields in HTML
total:
188
total_exact:
yes
returned:
25
page:
1
results:

25 results

  1. urn:
    1674e61f-8802-4ca4-819a-1a057d5b3ff9
    name:
    Andersen og Fjalstad. Advokatfirma
    id:
    DA-1155
    path:
    AAMA/DA-1155
    unit_type:
    ARKIV
    institution:
    Aust-Agder museum og arkiv, avd. KUBEN
    country:
    norge
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1674e61f-8802-4ca4-819a-1a057d5b3ff9
  2. 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
  3. 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
  4. 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
  5. urn:
    1526eba5-1380-4cf7-a2fb-1c3f9e24e9ae
    name:
    Advokatfirmaet Østeraas og Horseng ANS - Uordnet privatarkiv
    id:
    SAT-PA-0671
    path:
    AV/SAT-PA-0671
    unit_type:
    ARKIV
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/1526eba5-1380-4cf7-a2fb-1c3f9e24e9ae
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. urn:
    38c81fc2-5a6c-4b8e-86ba-f4f239bd035b
    name:
    A/S Laminator. Etablering, vekst og utvikling. Johs Mageli.
    id:
    0009
    path:
    AV/SAH-ARK-287-02/E/Ea/0009
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/38c81fc2-5a6c-4b8e-86ba-f4f239bd035b
  22. 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
  23. 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
  24. urn:
    22cd85ae-536c-4b5b-8713-a25f5e5e573c
    name:
    Moelvennotater i hovedsak bygget på samtaler med Mageli feb. 1998. Av Per Granberg.
    id:
    0008
    path:
    AV/SAH-ARK-287-01/L/L0001/0008
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/22cd85ae-536c-4b5b-8713-a25f5e5e573c
  25. urn:
    d7e552a2-40b6-476e-96f8-e093ee3c5544
    name:
    A/S Moelven Brug. - Karakteristika og synspunkter av Johs Mageli. Kristofer Lehmkuhl Forelesning 1977.
    id:
    0006
    path:
    AV/SAH-ARK-287-01/L/L0002/0006
    unit_type:
    MAPPE
    institution:
    Nasjonalarkivet
    digitized_documents:
    0
    link:
    https://www.arkivportalen.no/entity/d7e552a2-40b6-476e-96f8-e093ee3c5544
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.