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-21T16:24:17Z in 0.438 seconds.

total:
19
page:
0
size:
25
items:

19 results

  1. id:
    006d7b684027e8ea951e1348cd057ae1
    urn:
    URN:NBN:no-nb_pliktmonografi_000020605
    title:
    Veiledning av minoritetsforeldre : sammen om barneoppdragelse
    creators:

    3 results

    1. Ben-Shams, Nadja
    2. Hesni, Fatemeh
    3. Sigurdsen, Jemimah Yombo
    year:
    2023
    publisher:
    Fagbokforlaget
    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_pliktmonografi_000020605_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/006d7b684027e8ea951e1348cd057ae1
  2. id:
    168539c1f1ff1649eb7e581bb08a0cf8
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052180013_011
    title:
    Utrop (trykt utg.) : Norges første flerkulturelle avis. 2019 Vol. 16 Nr. 42
    creators:
    not reported by source
    year:
    2019
    publisher:
    Utrop
    media_types:

    1 results

    1. aviser
    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_2025052180013_011_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/168539c1f1ff1649eb7e581bb08a0cf8
  3. id:
    674a3223affa8ade3ce6b672e4d6fda9
    urn:
    URN:NBN:no-nb_digitidsskrift_2024112883015_001
    title:
    Fosterhjemskontakt : tidsskrift om fosterhjem. 2024 Vol. 43 Nr. 3
    creators:

    1 results

    1. Norsk fosterhjemsforening
    year:
    2024
    publisher:
    Norsk fosterhjemsforening
    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_2024112883015_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/674a3223affa8ade3ce6b672e4d6fda9
  4. id:
    5683f79c75722b6221ace29a193bbac3
    urn:
    URN:NBN:no-nb_digitidsskrift_2025112883048_001
    title:
    Fosterhjemskontakt : tidsskrift om fosterhjem. 2025 Vol. 44 Nr. 3
    creators:

    1 results

    1. Norsk fosterhjemsforening
    year:
    2025
    publisher:
    Norsk fosterhjemsforening
    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_2025112883048_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5683f79c75722b6221ace29a193bbac3
  5. id:
    4a3d7fb9dfcc3f5bc56d2cd4bbed77a3
    urn:
    URN:NBN:no-nb_digavis_ostlandetsblad_null_null_20260309_119_29_1
    title:
    Østlandets Blad
    creators:
    not reported by source
    year:
    2026
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Akershus
    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_ostlandetsblad_null_null_20260309_119_29_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4a3d7fb9dfcc3f5bc56d2cd4bbed77a3
    date:
    2026-03-09
  6. id:
    dc1f085875865f81297e48413e7ac126
    urn:
    URN:NBN:no-nb_pliktmonografi_000043820
    title:
    Uteseksjonen : en kartlegging av vold blant mindreårige i Stavanger kommune
    creators:

    1 results

    1. Birkeland, Susanne
    year:
    2025
    publisher:
    Stavanger kommune, Uteseksjonen
    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_pliktmonografi_000043820_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/dc1f085875865f81297e48413e7ac126
  7. id:
    5afd917301c8261d1a6da5140722670d
    urn:
    URN:NBN:no-nb_pliktmonografi_000023614
    title:
    Akuttplassering av barn uten foreldrenes samtykke : de juridiske aspektene
    creators:

    1 results

    1. Haider, Mehvish Taj
    year:
    2023
    publisher:
    Fagbokforlaget
    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_pliktmonografi_000023614_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5afd917301c8261d1a6da5140722670d
  8. id:
    5d62c997f8f50e87c0eec4ff04191891
    urn:
    URN:NBN:no-nb_digibok_2024041248113
    title:
    Composition for the Left Hand : Permanenten : with works from the Kagge Collection curated by Marta Kuzma : February 16-June 9, 2024
    creators:

    6 results

    1. Kuzma, Marta
    2. Erling Kagge Collection
    3. KODE (kunstmuseum)
    4. Composition for the Left Hand (utstilling) Bergen 2024
    5. Preiss, Isaac Arland
    6. Permanenten
    year:
    2024
    publisher:
    KODE
    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_2024041248113_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5d62c997f8f50e87c0eec4ff04191891
  9. id:
    02a269d81f216f1a4c3308f119a71226
    urn:
    URN:NBN:no-nb_plikttidsskrift_000005866
    title:
    Fontene (trykt utg.) : et tidsskrift fra Fellesorganisasjonen (FO). 2020 Nr. 9
    creators:

    2 results

    1. Fellesorganisasjonen for barnevernpedagoger, sosionomer og vernepleiere
    2. Fellesorganisasjonen
    year:
    2020
    publisher:
    Fellesorganisasjonen
    media_types:

    1 results

    1. tidsskrift
    languages:

    3 results

    1. nob
    2. mul
    3. nno
    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_plikttidsskrift_000005866_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/02a269d81f216f1a4c3308f119a71226
  10. id:
    c638761f9b093a1a9071cd8970ed2852
    urn:
    URN:NBN:no-nb_digavis_norgeshandelsogsjoefartstidende_null_null_19750910_86_208_1
    title:
    Norges Handels og Sjøfartstidende
    creators:
    not reported by source
    year:
    1975
    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_norgeshandelsogsjoefartstidende_null_null_19750910_86_208_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c638761f9b093a1a9071cd8970ed2852
    date:
    1975-09-10
  11. id:
    1279079d5a50d7e80537e0e3c78c52ae
    urn:
    URN:NBN:no-nb_digavis_tronderavisa_null_null_19861128_0_276_1
    title:
    Trønder-Avisa
    creators:
    not reported by source
    year:
    1986
    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_19861128_0_276_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1279079d5a50d7e80537e0e3c78c52ae
    date:
    1986-11-28
  12. id:
    4833832f8555a5200971a9a11a525027
    urn:
    URN:NBN:no-nb_digavis_stavangeraftenblad_null_null_20240910_132_0_1
    title:
    Stavanger aftenblad
    creators:
    not reported by source
    year:
    2024
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Rogaland
    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_stavangeraftenblad_null_null_20240910_132_0_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4833832f8555a5200971a9a11a525027
    date:
    2024-09-10
  13. id:
    92d13229b25c6f6def5a789f4de5f04a
    urn:
    URN:NBN:no-nb_digibok_2014022028002
    title:
    Nicolai Klimii iter subterraneum : novam telluris theoriam ac historiam qvintae monarchiae adhuc nobis incognitae exhibens : e bibliotheca B. Abelini
    creators:

    1 results

    1. Holberg, Ludvig
    year:
    1754
    publisher:
    Sumptibus Frid. Christian Pelt
    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_2014022028002_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/92d13229b25c6f6def5a789f4de5f04a
  14. id:
    126ca859c59caf6e6d5a2626171994eb
    urn:
    URN:NBN:no-nb_digitidsskrift_2023102380007_002
    title:
    Musikkpraksis : Norges største fagblad for musikere, teknikere og bransje. 2006 Vol. 23 Nr. 2
    creators:
    not reported by source
    year:
    2006
    publisher:
    Apriil Story
    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_2023102380007_002_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/126ca859c59caf6e6d5a2626171994eb
  15. id:
    6ef2b68e2949e02ed269fcd5b3e0d1ab
    urn:
    URN:NBN:no-nb_digibok_2012032124035
    title:
    Dŭšterite na gubernatora : roman
    creators:

    2 results

    1. Collett, Camilla
    2. Kačeva, Anjuta
    year:
    2005
    publisher:
    Delakort
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. bul
    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_2012032124035_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6ef2b68e2949e02ed269fcd5b3e0d1ab
  16. id:
    bbdb7109c8845396a92de58996801b35
    urn:
    URN:NBN:no-nb_digibok_2022051828001
    title:
    Liber Breuiarius secundum ordinarium ritum ac consuetudinem ecclesie et diocesis Sleßuicensis
    creators:

    3 results

    1. Kees, Thomas
    2. Marchand, Guillaume
    3. Den Romersk-katolske kirke
    year:
    1512
    publisher:
    [Thomas Kees & Guillaume Marchand]
    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_2022051828001_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bbdb7109c8845396a92de58996801b35
  17. id:
    d9479eefc6a414b2c8448647fcfe4b21
    urn:
    URN:NBN:no-nb_digibok_2023042548065
    title:
    Sobranie sočinenij : v šesti tomach. T. 4 : Plody zemli : roman ; Ženščiny u kolodca : roman
    creators:

    1 results

    1. Hamsun, Knut
    year:
    1996
    publisher:
    Chudožestvennaja literatura
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. rus
    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_2023042548065_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d9479eefc6a414b2c8448647fcfe4b21
  18. id:
    2019353960f18a401760f5422ee0b8e1
    urn:
    URN:NBN:no-nb_digitidsskrift_2015093081004_001
    title:
    Luthersk kirketidende (trykt utg.). 1897 Vol. 21-22
    creators:
    not reported by source
    year:
    1897
    publisher:
    MF vitenskapelig høyskole
    media_types:

    1 results

    1. tidsskrift
    languages:

    3 results

    1. nob
    2. mul
    3. nno
    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_2015093081004_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2019353960f18a401760f5422ee0b8e1
  19. id:
    804b6a75ac16dd61d99071680ce485d8
    urn:
    URN:NBN:no-nb_digibok_2018112848501
    title:
    Latinsk ordbok
    creators:

    4 results

    1. Johanssen, J.
    2. Thomas, S. Pantzerhielm (Sigge)
    3. Schreiner, E.
    4. Nygaard, M.
    year:
    1921
    publisher:
    Cappelen
    media_types:

    1 results

    1. bøker
    languages:

    3 results

    1. nob
    2. mul
    3. 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_2018112848501_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/804b6a75ac16dd61d99071680ce485d8
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.