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-24T15:30:16Z in 0.476 seconds.

total:
18
page:
0
size:
25
items:

18 results

  1. id:
    487b978f93343dafef7c8f2e4acd8945
    urn:
    URN:NBN:no-nb_digibok_2013082006149
    title:
    Mould-specific IgG antibodies, mould exposure and airway symptoms
    creators:

    3 results

    1. Rydjord, Britt
    2. Universitetet i Oslo Det medisinske fakultet
    3. Nasjonalt folkehelseinstitutt
    year:
    2008
    publisher:
    Faculty of Medicine, University of Oslo
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    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_2013082006149_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/487b978f93343dafef7c8f2e4acd8945
  2. id:
    e177d07f04457fb13585a991f9563b09
    urn:
    URN:NBN:no-nb_digitidsskrift_2024060480049_017
    title:
    Norsk skipsfart. desember 2013 Vol. 23 Nr. 12
    creators:

    1 results

    1. Skipsrevyen (firma)
    year:
    2013
    publisher:
    Skipsrevyen
    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_2024060480049_017_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e177d07f04457fb13585a991f9563b09
  3. id:
    d73197235bf4ed95b118ca99092cfb09
    urn:
    URN:NBN:no-nb_digitidsskrift_2025050680037_005
    title:
    Automatisering (Oslo : 2009 : trykt utg.). 2014 Nr. 5
    creators:
    not reported by source
    year:
    2014
    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_2025050680037_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d73197235bf4ed95b118ca99092cfb09
  4. id:
    a82b4025e1d5adf39bd77d65b792acec
    urn:
    URN:NBN:no-nb_digitidsskrift_2025032580036_005
    title:
    Skipsrevyen (trykt utg.) : organ for skipsbygging, skipsteknikk, skipsfartsnæring, olje offshore. 2013 Vol. 43 Nr. 5
    creators:

    1 results

    1. Skipsrevyen (firma)
    year:
    2013
    publisher:
    Skipsrevyen
    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_2025032580036_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a82b4025e1d5adf39bd77d65b792acec
  5. id:
    21dd2bb124540e32810a2df0edb178ce
    urn:
    URN:NBN:no-nb_digitidsskrift_2025032580036_006
    title:
    Skipsrevyen (trykt utg.) : organ for skipsbygging, skipsteknikk, skipsfartsnæring, olje offshore. 2013 Vol. 43 Nr. 6
    creators:

    1 results

    1. Skipsrevyen (firma)
    year:
    2013
    publisher:
    Skipsrevyen
    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_2025032580036_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/21dd2bb124540e32810a2df0edb178ce
  6. id:
    ed2ab80eae8afd31041a22a34e2a832e
    urn:
    URN:NBN:no-nb_digitidsskrift_2025050680035_004
    title:
    Automatisering (Oslo : 2009 : trykt utg.). 2016 Nr. 4
    creators:
    not reported by source
    year:
    2016
    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_2025050680035_004_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ed2ab80eae8afd31041a22a34e2a832e
  7. id:
    9d10bd92ab5ee6e8067e79e732854938
    urn:
    URN:NBN:no-nb_digavis_dagsavisen_null_null_20020918_118_250_1
    title:
    Dagsavisen (Oslo: 1998-)
    creators:
    not reported by source
    year:
    2002
    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:
    ccbync
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_dagsavisen_null_null_20020918_118_250_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/9d10bd92ab5ee6e8067e79e732854938
    date:
    2002-09-18
  8. id:
    043b6e3d70ad0203c5dd0c831f8753d7
    urn:
    URN:NBN:no-nb_digibok_2023061228002
    title:
    Epithoma expositionis Canonis misse magistri Gabrielis Biel sacre theologie licentiati
    creators:

    3 results

    1. Biel, Gabriel
    2. Steinbach, Wendelin
    3. Bebel, Heinrich
    year:
    1499
    publisher:
    [Johann Otmar]
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    yes
    public_domain:
    yes
    license:
    publicdomain
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2023061228002_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/043b6e3d70ad0203c5dd0c831f8753d7
  9. id:
    3d6b5877de4a1642ffce3b93e0e28b28
    urn:
    URN:NBN:no-nb_digavis_ostlandsposten_null_null_19950824_114_196_1
    title:
    Østlands-Posten
    creators:
    not reported by source
    year:
    1995
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestfold
    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_ostlandsposten_null_null_19950824_114_196_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3d6b5877de4a1642ffce3b93e0e28b28
    date:
    1995-08-24
  10. id:
    5ac20909cc120e5f97d64ded52344f43
    urn:
    URN:NBN:no-nb_digavis_oestfoldbygdeblad_null_null_19860919_86_109_1
    title:
    Østfold Bygdeblad
    creators:
    not reported by source
    year:
    1986
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Østfold
    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_oestfoldbygdeblad_null_null_19860919_86_109_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5ac20909cc120e5f97d64ded52344f43
    date:
    1986-09-19
  11. id:
    eceac92c22fbed791aa286d8c2a5d3c8
    urn:
    URN:NBN:no-nb_digavis_tronderavisa_null_null_19810223_0_45_1
    title:
    Trønder-Avisa
    creators:
    not reported by source
    year:
    1981
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Trøndelag
    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_tronderavisa_null_null_19810223_0_45_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/eceac92c22fbed791aa286d8c2a5d3c8
    date:
    1981-02-23
  12. id:
    7ebef63a5b3239ed87a12f1e1fcd771f
    urn:
    URN:NBN:no-nb_digibok_2007043000016
    title:
    Magnus Erlingssons privilegiebrev og kongevigsle
    creators:

    2 results

    1. Vandvik, Eirik
    2. Skånland, Vegard
    year:
    1962
    publisher:
    Universitetsforlaget
    media_types:

    1 results

    1. bøker
    languages:

    3 results

    1. nob
    2. mul
    3. nno
    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_2007043000016_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/7ebef63a5b3239ed87a12f1e1fcd771f
  13. id:
    80ac6e2b1e0dd6cebf2476ee24c3cf8c
    urn:
    URN:NBN:no-nb_digitidsskrift_2021011181032_001
    title:
    Tidsskrift for Den norske legeforening (trykt utg.) : The Journal of the Norwegian Medical Association. 2013 Vol. 133 Nr. 20
    creators:

    2 results

    1. Den Norske lægeforening
    2. Den Norske legeforening
    year:
    2013
    publisher:
    Den norske legeforening
    media_types:

    1 results

    1. tidsskrift
    languages:

    3 results

    1. eng
    2. nob
    3. mul
    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_2021011181032_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/80ac6e2b1e0dd6cebf2476ee24c3cf8c
  14. id:
    008adbf2ac9c354510c0e854f90f9581
    urn:
    URN:NBN:no-nb_digibok_2024091348033
    title:
    Alcohol consumption and impaired work performance : interventions, and implementation barriers
    creators:

    3 results

    1. Thørrisen, Mikkel
    2. OsloMet - storbyuniversitetet Fakultet for helsevitenskap
    3. OsloMet - storbyuniversitetet
    year:
    2020
    publisher:
    Faculty of Health Sciences, OsloMet - Oslo Metropolitan University
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    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_2024091348033_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/008adbf2ac9c354510c0e854f90f9581
  15. id:
    2ed49061f6777f38065ac54d5ca1bf89
    urn:
    URN:NBN:no-nb_digibok_2025082806184
    title:
    Psychosocial risk factors for long-term sick leave : a prospective study of the Norwegian working population : with a special emphasis on female health and social workers
    creators:

    3 results

    1. Aagestad, Cecilie
    2. Universitetet i Oslo Institutt for medisinske basalfag
    3. Universitetet i Oslo Det medisinske fakultet
    year:
    2016
    publisher:
    Department of Behavioural Sciences in Medicine, Institute of Basic Medical Sciences, Faculty of Medicine, University of Oslo
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    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_2025082806184_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2ed49061f6777f38065ac54d5ca1bf89
  16. id:
    ff5e6b4f9afea3feb46366d4ae233c5e
    urn:
    URN:NBN:no-nb_digavis_indresmaalenenesavis_null_null_19860411_88_41_1
    title:
    Indre Smaalenenes Avis
    creators:
    not reported by source
    year:
    1986
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Østfold
    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_indresmaalenenesavis_null_null_19860411_88_41_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ff5e6b4f9afea3feb46366d4ae233c5e
    date:
    1986-04-11
  17. id:
    c7acacae80fa4b53196e1c93c703d4c3
    urn:
    URN:NBN:no-nb_digibok_2026071306074
    title:
    Health, safety and environment culture in the petroleum industry in Norway
    creators:

    1 results

    1. Høivik, Dordi
    year:
    2009
    publisher:
    University of Bergen
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    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_2026071306074_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c7acacae80fa4b53196e1c93c703d4c3
  18. id:
    40dda5c8416fd9b68e2b7630abdff140
    urn:
    URN:NBN:no-nb_digibok_2022032926025
    title:
    Johan David Michaelis Indledning til Det nye Testamentes guddommelige Skrivter. 2 : Anden Deel
    creators:

    3 results

    1. Michaelis, Johann David
    2. Gyldendals Forlag (København)
    3. Stauning, Jørgen
    year:
    1791
    publisher:
    Trykt paa Gyldendals Forlag
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. dan
    county:
    not reported by source
    digital:
    yes
    public_domain:
    yes
    license:
    publicdomain
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2022032926025_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/40dda5c8416fd9b68e2b7630abdff140
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.