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.

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}&page=0&size=10&limit=25&offset=0

Replace {q}, {media_type}, {language}, {county}, {year_from}, {year_to}, {digital_only}, {sort}, {page}, {size} 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}&page=0&size=10&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).
pageoptionalintegerZero-based page index.
sizeoptionalintegerResults per page, 1 to 100 (default 10).
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}&page=0&size=10&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}&page=0&size=10&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}&page=0&size=10&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: string. One of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance).
Type: integer. Zero-based page index.
Type: integer. Results per page, 1 to 100 (default 10).

Result

Source: National Library of Norway. Retrieved 2026-08-18T12:28:33Z in 0.212 seconds.

total:
1144
page:
0
size:
10
items:

10 results

  1. id:
    8df8c4ca94882b0158f8357e62a1f99c
    urn:
    URN:NBN:no-nb_pliktmonografi_000080106
    title:
    Experience of cold-water bathing on depression: A qualitative study
    creators:

    6 results

    1. Hjorth, Peter
    2. Jørgensen, Nina
    3. Rørtveit, Kristine
    4. Johansen, Kirsten
    5. Jørgensen, Anne Marie
    6. Moesgaard, Catrine
    year:
    2026
    publisher:
    Universitetsforlaget
    media_types:

    1 results

    1. artikler
    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_pliktmonografi_000080106_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8df8c4ca94882b0158f8357e62a1f99c
  2. id:
    0e85967f0c2455fd747332a5a57b9459
    urn:
    URN:NBN:no-nb_digibok_2010060206003
    title:
    Bakterier i varmtvannssystemer : rapport fra en nordisk samarbeidskomité
    creators:
    not reported by source
    year:
    1991
    publisher:
    Nordisk ministerråd
    media_types:

    1 results

    1. bøker
    languages:

    4 results

    1. eng
    2. nob
    3. mul
    4. dan
    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_2010060206003_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0e85967f0c2455fd747332a5a57b9459
  3. id:
    2661cf6958c69091242789b4b88c8e8e
    urn:
    URN:NBN:no-nb_digibok_2010110808217
    title:
    Bakterier i varmtvannssystemer : rapport fra en nordisk samarbeidsgruppe
    creators:

    1 results

    1. Brakstad, Odd Gunnar
    year:
    1991
    publisher:
    SINTEF, Teknisk kjemi
    media_types:

    1 results

    1. bøker
    languages:

    3 results

    1. dan
    2. nob
    3. mul
    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_2010110808217_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2661cf6958c69091242789b4b88c8e8e
  4. id:
    24a9c3cbb564fabe5de1a5618d8a8993
    urn:
    URN:NBN:no-nb_digibok_2010091508090
    title:
    River system simulator : user's manual. 2
    creators:

    3 results

    1. Alfredsen, Knut
    2. Bakken, Tor Haakon
    3. Killingtveit, Ånund
    year:
    1995
    publisher:
    SINTEF NHL
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    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_2010091508090_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/24a9c3cbb564fabe5de1a5618d8a8993
  5. id:
    70afda49352f63a406d64024a16a765c
    urn:
    URN:NBN:no-nb_pliktmonografi_000082805
    title:
    Climate health risks to children and adolescents : exposures, policy and practice interventions
    creators:

    5 results

    1. Graber, Juliette
    2. Vounatsou, Penelope
    3. Pozzoli, Luca
    4. Widmer, Kaja
    5. Walker, Julia
    year:
    2024
    publisher:
    European Topic Centre on Human Health and the Environment
    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_pliktmonografi_000082805_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/70afda49352f63a406d64024a16a765c
  6. id:
    bfa43bcb484613619a3d1cc5354c5639
    urn:
    URN:NBN:no-nb_digibok_2014022008078
    title:
    Ecology, recreation and tourism
    creators:

    2 results

    1. Edington, John M.
    2. Edington, M. Ann
    year:
    1986
    publisher:
    Cambridge University Press
    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_2014022008078_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bfa43bcb484613619a3d1cc5354c5639
  7. id:
    3d8a365a5dbdc08775c468df87518e95
    urn:
    URN:NBN:no-nb_digibok_2016091408011
    title:
    Termotolerante Campylobacter spp. og Yersinia spp. i noen norske vannforekomster
    creators:

    1 results

    1. Brennhovd, Ola
    year:
    1991
    publisher:
    [O. Brennhovd]
    media_types:

    1 results

    1. bøker
    languages:

    3 results

    1. eng
    2. nob
    3. mul
    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_2016091408011_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3d8a365a5dbdc08775c468df87518e95
  8. id:
    e83bbd29f300f5b6c1ed09ee585f6989
    urn:
    URN:NBN:no-nb_pliktmonografi_000084192
    title:
    Risk assessment of animal welfare in exotic birds kept as companion and hobby animals
    creators:

    3 results

    1. Nordgreen, Janicke
    2. Mejdell, Cecilie M.
    3. Jørgensen, Grete H. M.
    year:
    2026
    publisher:
    VKM
    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_pliktmonografi_000084192_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e83bbd29f300f5b6c1ed09ee585f6989
  9. id:
    85b17cbcd2784618b84666ddda5a066b
    urn:
    URN:NBN:no-nb_digibok_2008011400031
    title:
    North Sea, subregion 8 : assessment report 1993
    creators:

    3 results

    1. Bokn, Tor
    2. Statens forurensningstilsyn
    3. North Sea Task Force
    year:
    1993
    publisher:
    State Pollution Control Authority
    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:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2008011400031_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/85b17cbcd2784618b84666ddda5a066b
  10. id:
    7d312f726519e64954926bf3fcc6d9c2
    urn:
    URN:NBN:no-nb_digibok_2020091848550
    title:
    The kelp congress
    creators:

    5 results

    1. Methi, Hilde Merete
    2. Cahoon, Neal
    3. The kelp congress Lofoten, Norge 2019
    4. Wolfsberger, Annette
    5. Nordnorsk kunstnersenter
    year:
    2020
    publisher:
    NNKS press c 2020
    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_2020091848550_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/7d312f726519e64954926bf3fcc6d9c2
limit:
25
offset:
0
returned:
10
has_more_results:
yes
truncated:
yes
next_offset:
10
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.