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-13T12:03:51Z in 0.593 seconds.

total:
47960
page:
0
size:
25
items:

25 results

  1. id:
    429944e73b4721aa3e7a806b243b929b
    urn:
    not reported by source
    title:
    Pro & contra : Politikens problemleksikon
    creators:

    1 results

    1. Tillich, Holger
    year:
    1966
    publisher:
    not reported by source
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. dan
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/429944e73b4721aa3e7a806b243b929b
  2. id:
    2b2df7af7a68d5aa9e8d469b90382e7f
    urn:
    not reported by source
    title:
    NATO-Raketenabwehr : Pro & Contra
    creators:

    2 results

    1. Sinjen, Svenja
    2. Schuchardt, Dirk
    year:
    2012
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. ger
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/2b2df7af7a68d5aa9e8d469b90382e7f
  3. id:
    3bbb526217166e1e94652ff1c73c4207
    urn:
    not reported by source
    title:
    Journalindsigt : pro et contra
    creators:

    1 results

    1. Riis, Povl
    year:
    1982
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/3bbb526217166e1e94652ff1c73c4207
  4. id:
    a34eb0ddef4061787896262690fceb80
    urn:
    not reported by source
    title:
    Legalisering - pro et contra
    creators:
    not reported by source
    year:
    1996
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/a34eb0ddef4061787896262690fceb80
  5. id:
    eabeabe34e53c0e6e27667a64bcf05e7
    urn:
    not reported by source
    title:
    Embetsboligen : pro et contra
    creators:

    1 results

    1. Hesselberg, Th.
    year:
    1957
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/eabeabe34e53c0e6e27667a64bcf05e7
  6. id:
    3490d6720adb0c9583cb28adcfcb810d
    urn:
    not reported by source
    title:
    Bør vi diskontere fremtidige helsegevinster? : pro et contra
    creators:

    3 results

    1. Solberg, Carl Tollef
    2. Robberstad, Bjarne
    3. Barra, Mathias
    year:
    2020
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/3490d6720adb0c9583cb28adcfcb810d
  7. id:
    62d5e3d562e72f2093c3204065ea3008
    urn:
    URN:NBN:no-nb_digibok_2012080309070
    title:
    Prostitusjon : innledninger fra Pro-sentrets jubileumskonferanse
    creators:

    1 results

    1. Pro sentret
    year:
    1998
    publisher:
    Pro-sentret
    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_2012080309070_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/62d5e3d562e72f2093c3204065ea3008
  8. id:
    69ee9dc8fd1831cea3bbb6ba1f01f761
    urn:
    not reported by source
    title:
    Pro und contra Cynthia Voigt
    creators:

    1 results

    1. Schindler, Nina
    year:
    1990
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. ger
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/69ee9dc8fd1831cea3bbb6ba1f01f761
  9. id:
    bba7bed5bdf7c7eb7a58b2f208253a5c
    urn:
    not reported by source
    title:
    Beslutningsteori, pro-contra argumentasjon og etikk
    creators:

    1 results

    1. Baune, Øyvind
    year:
    1998
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/bba7bed5bdf7c7eb7a58b2f208253a5c
  10. id:
    929e74b696c490cf0b8beea31bbe2828
    urn:
    not reported by source
    title:
    Pro und Contra : Ausstieg aus der Atomenergie
    creators:

    1 results

    1. Trittin, Jürgen
    year:
    not reported by source
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. ger
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/929e74b696c490cf0b8beea31bbe2828
  11. id:
    4300f216e300d0a48c89b39f0b7baead
    urn:
    not reported by source
    title:
    Pro et contra : behandling af akut otitis media
    creators:

    1 results

    1. Tos, Mirko
    year:
    1981
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/4300f216e300d0a48c89b39f0b7baead
  12. id:
    4ba6be3b30d190f1c7e8f49c766799ef
    urn:
    not reported by source
    title:
    Noen merknader til konfirmasjons-forslaget - contra et pro
    creators:

    1 results

    1. With, Thor
    year:
    1962
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/4ba6be3b30d190f1c7e8f49c766799ef
  13. id:
    99847751ec5bcc8c2e26ba51a7927e54
    urn:
    not reported by source
    title:
    Pro et contra : behandling af akut otitis media
    creators:

    1 results

    1. Sørensen, Henning
    year:
    1981
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/99847751ec5bcc8c2e26ba51a7927e54
  14. id:
    5b71ac443cb4dd844203c45173120fb0
    urn:
    not reported by source
    title:
    Joannis Miltonii Angli Pro populo Anglicano defensio, contra Claudii anonymi, alias Salmasii, Defensionem regiam ; Cum indice
    creators:

    2 results

    1. Milton, John
    2. Officina Elzeviriana
    year:
    1651
    publisher:
    Typis Du Gardianis
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/5b71ac443cb4dd844203c45173120fb0
  15. id:
    3099b54ba712f4802b9a9880b03571db
    urn:
    not reported by source
    title:
    Fra Jokkmokk til Arvidsjaur : en samtale pro & contra råfiskloven
    creators:

    1 results

    1. Tande, Thorvald
    year:
    1997
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/3099b54ba712f4802b9a9880b03571db
  16. id:
    9eba80a7de7ffb6770ad3dcf429e404c
    urn:
    not reported by source
    title:
    Rivetiani apologetici, pro schismate contra votvm pacis facti, discussio
    creators:
    not reported by source
    year:
    1645
    publisher:
    Hesychium Candidum
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/9eba80a7de7ffb6770ad3dcf429e404c
  17. id:
    075ef963b36f6c26390a5b1d767ef42d
    urn:
    URN:NBN:no-nb_digibok_2008091100020
    title:
    Skretting i hundre : 1899-1999
    creators:

    2 results

    1. T. Skretting AS
    2. Pro&Contra AS
    year:
    1999
    publisher:
    T. Skretting AS
    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_2008091100020_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/075ef963b36f6c26390a5b1d767ef42d
  18. id:
    93eec30a61fe09f2f194108ebb18e541
    urn:
    not reported by source
    title:
    Oratio pro electivo imperii statu contra hæreditariam svccessionem. By Joannes Vollenhovius
    creators:

    1 results

    1. Vollenhove, Joannes
    year:
    1648
    publisher:
    Roelof Dircksen Worst
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/93eec30a61fe09f2f194108ebb18e541
  19. id:
    c551a298189faac6131feac5fc1d5469
    urn:
    not reported by source
    title:
    Pro and Contra of an Incidents at Sea Agreement for Cyberspace
    creators:

    1 results

    1. Bahney, Benjamin
    year:
    2021
    publisher:
    Hague Centre for Strategic Studies
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/c551a298189faac6131feac5fc1d5469
  20. id:
    fb0ea2e47474008d70cbb839d89621df
    urn:
    URN:NBN:no-nb_digibok_2016071108175
    title:
    Uskyldspresumsjonen : "In dubio pro reo"
    creators:

    2 results

    1. Strandbakken, Asbjørn
    2. Universitetet i Bergen Det juridiske fakultet
    year:
    2001
    publisher:
    [A. Strandbakken]
    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_2016071108175_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/fb0ea2e47474008d70cbb839d89621df
  21. id:
    5535375c4d6c953f60c3ff6849a6f924
    urn:
    not reported by source
    title:
    Opobalsami Romani censura ... Cum appendice contra Castellum pro theriacis Venetis ... / [Pellegrino Pittore]
    creators:

    1 results

    1. Pittore, Pellegrino
    year:
    1642
    publisher:
    Gulielmum Oddonum
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/5535375c4d6c953f60c3ff6849a6f924
  22. id:
    dfc0dda127bd4e81aa1bf4582e889ba3
    urn:
    not reported by source
    title:
    Hvgonis Grotii votvm pro pace ecclesiastica, contra examen Andreæ Riveti, & alios irreconciliabiles
    creators:

    1 results

    1. Grotius, Hugo
    year:
    1642
    publisher:
    [s.n.]
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/dfc0dda127bd4e81aa1bf4582e889ba3
  23. id:
    bf01efc96bb6009642a2351583acd061
    urn:
    URN:NBN:no-nb_digibok_2016071848104
    title:
    Uskyldspresumsjonen : "In dubio pro reo"
    creators:

    1 results

    1. Strandbakken, Asbjørn
    year:
    2003
    publisher:
    Fagbokforl.
    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_2016071848104_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bf01efc96bb6009642a2351583acd061
  24. id:
    c3fd719744d1ae645415457fe3cf40e8
    urn:
    not reported by source
    title:
    Joannis Miltonii Defensio secunda pro populo Anglicano : contra infamem libellum anonymum, cuius titulus, Regii sanguinis clamor adversus parricidas Anglicanos. Accessit Alexandri Mori ecclesiastae & sacrarum litterarum professoris Fides publica, contra calumnias Joannis Miltoni
    creators:

    2 results

    1. Milton, John
    2. Vlacq, Adriaan
    year:
    1654
    publisher:
    Ex Typographiâ Adriani Vlacq
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/c3fd719744d1ae645415457fe3cf40e8
  25. id:
    68ffcfbd8ca793e22da7cd461120b87d
    urn:
    not reported by source
    title:
    Apologia pro S. ecclesiae patribus adversus Joannem Dallaeum De usu patrum, &c. ; Accedit Apologia pro Ecclesia Anglicana adversus nuperum schisma
    creators:

    1 results

    1. Scrivener, Matthew
    year:
    1672
    publisher:
    Sumptibus Guil. Wells & Rob. Scott ...
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. lat
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/68ffcfbd8ca793e22da7cd461120b87d
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.