search

Search the National Library's catalog - books, newspapers, journals, photos, maps, music, manuscripts, radio/TV and more, both physical and digitized. Digitized text (OCR) is matched too by default, so a query can surface newspaper or book pages that mention a term even when it's not in the title.

Signature: search(q: string, required; media_type: string, optional, default None; language: string, optional, default None; county: string, optional, default None; year_from: integer, optional, default None; year_to: integer, optional, default None; digital_only: yes/no, optional, default False; sort: one of: date, date,desc, title, title,desc, otherid, otherid,desc, firstDigitalContentTime, firstDigitalContentTime,desc, optional, default None; 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/nasjonalbiblioteket/search/?q={q}&media_type={media_type}&language={language}&county={county}&year_from={year_from}&year_to={year_to}&digital_only=false&sort={sort}&limit=25&offset=0

Replace {q}, {media_type}, {language}, {county}, {year_from}, {year_to}, {digital_only}, {sort} 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/nasjonalbiblioteket/search?q={q}&media_type={media_type}&language={language}&county={county}&year_from={year_from}&year_to={year_to}&digital_only=false&sort={sort}&limit=25&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
qrequiredstringFree-text query. Supports field-restricted terms too, e.g. "subject:fiske year:1970" combined with free text.
media_typeoptionalunionRestrict to one type, e.g. aviser (newspapers), bøker (books), tidsskrift (journals), bilder (photos), musikk, kart (maps), film, plakater (posters), noter (sheet music), radio, fjernsyn. See get_aggregations(q="*", group_by="mediatype") for the full list with counts.
languageoptionalunionLanguage filter - values are inconsistent in the catalog (mixes codes like "nob" and labels like "Norsk bokmål"); check get_aggregations(q=q, group_by="languages") first if unsure.
countyoptionalunionNorwegian county name, e.g. "Troms", "Oslo".
year_fromoptionalunionRestrict to items published/issued in this year range (inclusive).
year_tooptionalunionRestrict to items published/issued in this year range (inclusive).
digital_onlyoptionalbooleanOnly items that have been digitized.
sortoptionalunionOne of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance).
limitoptionalintegerGateway page size; 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/nasjonalbiblioteket/search?q={q}&media_type={media_type}&language={language}&county={county}&year_from={year_from}&year_to={year_to}&digital_only=false&sort={sort}&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/nasjonalbiblioteket/search?q={q}&media_type={media_type}&language={language}&county={county}&year_from={year_from}&year_to={year_to}&digital_only=false&sort={sort}&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/nasjonalbiblioteket/search?q={q}&media_type={media_type}&language={language}&county={county}&year_from={year_from}&year_to={year_to}&digital_only=false&sort={sort}&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "nasjonalbiblioteket",
  "operation": "search",
  "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 query. Supports field-restricted terms too, e.g. "subject:fiske year:1970" combined with free text.
Type: string. Restrict to one type, e.g. aviser (newspapers), bøker (books), tidsskrift (journals), bilder (photos), musikk, kart (maps), film, plakater (posters), noter (sheet music), radio, fjernsyn. See get_aggregations(q="*", group_by="mediatype") for the full list with counts.
Type: string. Language filter - values are inconsistent in the catalog (mixes codes like "nob" and labels like "Norsk bokmål"); check get_aggregations(q=q, group_by="languages") first if unsure.
Type: string. Norwegian county name, e.g. "Troms", "Oslo".
Type: integer. Restrict to items published/issued in this year range (inclusive).
Type: integer. Restrict to items published/issued in this year range (inclusive).
Type: yes/no. Only items that have been digitized.
Type: one of: date, date,desc, title, title,desc, otherid, otherid,desc, firstDigitalContentTime, firstDigitalContentTime,desc. One of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance).

Result

Source: National Library of Norway. Retrieved 2026-11-21T04:56:52Z in 0.294 seconds.

total:
18
page:
0
size:
25
items:

18 results

  1. id:
    4cc37fa1debde1d593bf6a142d36cd3e
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052083051_001
    title:
    Kapital : tidsskrift for næringsliv, børs og økonomisk politikk. 2025 Nr. 13 AI & Tech
    creators:
    not reported by source
    year:
    2025
    publisher:
    Hegnar media
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2025052083051_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4cc37fa1debde1d593bf6a142d36cd3e
  2. id:
    aec92ec3c2621360388f97a59248e1f4
    urn:
    URN:NBN:no-nb_digitidsskrift_2023102083060_001
    title:
    Teknisk ukeblad (trykt utg.) : Norges fremste på teknologi. 2022 Vol. 169 Nr. 10
    creators:

    3 results

    1. Norske sivilingeniørers forening
    2. Norges ingeniørorganisasjon - NITO
    3. Den polytekniske forening
    year:
    2022
    publisher:
    Teknisk ukeblad media
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2023102083060_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/aec92ec3c2621360388f97a59248e1f4
  3. id:
    b31a607c9ef45ba6cf1bd0ef8159a0c6
    urn:
    URN:NBN:no-nb_digitidsskrift_2026072483058_001
    title:
    Krigsropet (trykt utg.) : for evangelisering og kristenliv. 2026 Vol. 139 Nr. 16/17
    creators:
    not reported by source
    year:
    2026
    publisher:
    Frelsesarmeen.
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    ccbyncnd
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2026072483058_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b31a607c9ef45ba6cf1bd0ef8159a0c6
  4. id:
    c9f17e353f9d8357718b50837af26278
    urn:
    URN:NBN:no-nb_digavis_strandbuen_null_null_19980123_35_6_1
    title:
    Strandbuen lokalavis for Ytre Ryfylke (undertittel)
    creators:
    not reported by source
    year:
    1998
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Rogaland
    digital:
    yes
    public_domain:
    no
    license:
    ccbyncnd
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_strandbuen_null_null_19980123_35_6_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c9f17e353f9d8357718b50837af26278
    date:
    1998-01-23
  5. id:
    b53f6de398b3f20ab82cca30a16d442d
    urn:
    URN:NBN:no-nb_digitidsskrift_2024101083078_001
    title:
    Kommunal rapport (Oslo : 1987 : trykt utg.). 2024 Vol. 38 Nr. 22
    creators:

    2 results

    1. Norske kommuners sentralforbund
    2. Kommunenes sentralforbund
    year:
    2024
    publisher:
    Kommunal rapport AS
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2024101083078_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b53f6de398b3f20ab82cca30a16d442d
  6. id:
    b2c6a8428567342b4ded0415eb34f427
    urn:
    URN:NBN:no-nb_digibok_2012111908149
    title:
    Halidons hemmelighet
    creators:

    2 results

    1. Ludlum, Robert
    2. Sørensen, Roar
    year:
    2011
    publisher:
    Cappelen Damm
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2012111908149_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b2c6a8428567342b4ded0415eb34f427
  7. id:
    2fe08ba609d9377adf89f1c85709dfc7
    urn:
    URN:NBN:no-nb_digavis_verdensgang_null_null_19580513_14_109_1
    title:
    VG
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_verdensgang_null_null_19580513_14_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2fe08ba609d9377adf89f1c85709dfc7
    date:
    1958-05-13
  8. id:
    b6ba5d04a0cf16a40f09bcc34de49dc3
    urn:
    URN:NBN:no-nb_digavis_morgenbladet_null_null_19580513_140_109_1
    title:
    Morgenbladet
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_morgenbladet_null_null_19580513_140_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b6ba5d04a0cf16a40f09bcc34de49dc3
    date:
    1958-05-13
  9. id:
    4ca6bc48f244a4ff6873b9d823287104
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210927_30_223_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2021
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_finansavisen_null_null_20210927_30_223_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4ca6bc48f244a4ff6873b9d823287104
    date:
    2021-09-27
  10. id:
    1f029a6841e32279f2e22e065c601c68
    urn:
    URN:NBN:no-nb_digavis_morgenposten_null_null_19580513_98_109_1
    title:
    Morgenposten
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_morgenposten_null_null_19580513_98_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1f029a6841e32279f2e22e065c601c68
    date:
    1958-05-13
  11. id:
    040b5cbf4a3f38019b1553ad293b19a3
    urn:
    URN:NBN:no-nb_digibok_2009051400027
    title:
    Halidons hemmelighet
    creators:

    2 results

    1. Ludlum, Robert
    2. Sørensen, Roar
    year:
    2003
    publisher:
    Damm
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    bokhylla
    viewability:
    NONE
    access_allowed_from:
    NORWAY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2009051400027_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/040b5cbf4a3f38019b1553ad293b19a3
  12. id:
    849cd8dbe1c4adf21dd80173d353aeae
    urn:
    URN:NBN:no-nb_digibok_2008121100105
    title:
    Halidons hemmelighet
    creators:

    2 results

    1. Ludlum, Robert
    2. Sørensen, Roar
    year:
    1997
    publisher:
    Egmont Hjemmets bokforl.
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    bokhylla
    viewability:
    NONE
    access_allowed_from:
    NORWAY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2008121100105_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/849cd8dbe1c4adf21dd80173d353aeae
  13. id:
    acf9bb4b9bad357fffe59c635cb4c97e
    urn:
    URN:NBN:no-nb_digibok_2008102704127
    title:
    Halidons hemmelighet
    creators:

    2 results

    1. Ludlum, Robert
    2. Sørensen, Roar
    year:
    2000
    publisher:
    Egmont bøker
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    bokhylla
    viewability:
    NONE
    access_allowed_from:
    NORWAY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2008102704127_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/acf9bb4b9bad357fffe59c635cb4c97e
  14. id:
    8263f150fc3a8183d4674b49079cd179
    urn:
    URN:NBN:no-nb_digavis_arbeiderbladetoslo_null_null_19580513_70_109_1
    title:
    Arbeiderbladet (Oslo) Arbeiderbladet
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    No results.

    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    ccbync
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_arbeiderbladetoslo_null_null_19580513_70_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8263f150fc3a8183d4674b49079cd179
    date:
    1958-05-13
  15. id:
    a587da96e81e25173b9deaf7ab4bad91
    urn:
    URN:NBN:no-nb_digavis_dagbladet_null_null_19580513_90_109_2
    title:
    Dagbladet (Oslo: 1869-)
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_dagbladet_null_null_19580513_90_109_2-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a587da96e81e25173b9deaf7ab4bad91
    date:
    1958-05-13
  16. id:
    eedd959cbf11dec597c53dc33686ce28
    urn:
    URN:NBN:no-nb_digavis_agderposten_null_null_20260731_153_175_1
    title:
    Agderposten
    creators:
    not reported by source
    year:
    2026
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Agder
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_agderposten_null_null_20260731_153_175_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/eedd959cbf11dec597c53dc33686ce28
    date:
    2026-07-31
  17. id:
    8e6aef573f710cb69e0eb420047695ff
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_19860116_127_26_2
    title:
    Aftenposten
    creators:
    not reported by source
    year:
    1986
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_19860116_127_26_2-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8e6aef573f710cb69e0eb420047695ff
    date:
    1986-01-16
  18. id:
    c6fd46cece5ac2eb69904a4361243816
    urn:
    URN:NBN:no-nb_digavis_dagbladet_null_null_19580513_90_109_1
    title:
    Dagbladet (Oslo: 1869-)
    creators:
    not reported by source
    year:
    1958
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Oslo
    digital:
    yes
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_dagbladet_null_null_19580513_90_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c6fd46cece5ac2eb69904a4361243816
    date:
    1958-05-13
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 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.