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-12T23:33:59Z in 0.218 seconds.

total:
16
page:
0
size:
25
items:

16 results

  1. id:
    bb7121c796a341ee030ae226ba4ce09d
    urn:
    URN:NBN:no-nb_digitidsskrift_2022031880027_001
    title:
    Apollon (Oslo : trykt utg.) : tidsskrift fra Universitetet i Oslo. 2017 Vol. 27 Nr. 1
    creators:
    not reported by source
    year:
    2017
    publisher:
    Universitetet i Oslo
    media_types:

    1 results

    1. tidsskrift
    languages:

    4 results

    1. eng
    2. nob
    3. mul
    4. 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_digitidsskrift_2022031880027_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bb7121c796a341ee030ae226ba4ce09d
  2. id:
    3adc220764a57b0e07e42bb4da624054
    urn:
    URN:NBN:no-nb_pliktmonografi_000036131
    title:
    Exploring Pt-UiO-67 catalysts for CO2 valorisation : synthesis, characterisation and testing
    creators:

    1 results

    1. Sannes, Dag Kristian
    year:
    2024
    publisher:
    Department of Chemistry, Faculty of Mathematics and Natural Sciences, 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_pliktmonografi_000036131_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3adc220764a57b0e07e42bb4da624054
  3. id:
    f3d1fadb2e3022a299f0b6d6fc1c35fa
    urn:
    URN:NBN:no-nb_pliktmonografi_000035592
    title:
    Evaluation of Natural Sciences 2022-2023 : impact cases
    creators:

    2 results

    1. Grønsleth, Marianne
    2. Norges forskningsråd
    year:
    2024
    publisher:
    Norges forskningsråd
    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_000035592_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f3d1fadb2e3022a299f0b6d6fc1c35fa
  4. id:
    5365cd85e4d65055a55836904d15b36a
    urn:
    URN:NBN:no-nb_digavis_laagendalsposten_null_null_20170301_114_52_1
    title:
    Laagendalsposten
    creators:
    not reported by source
    year:
    2017
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Buskerud
    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_laagendalsposten_null_null_20170301_114_52_1-1_01_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5365cd85e4d65055a55836904d15b36a
    date:
    2017-03-01
  5. id:
    bece59df7af117590f03981caf7ee319
    urn:
    URN:NBN:no-nb_digavis_bergensaftenbladbergenattenattini_null_null_19111024_147_248_1
    title:
    Bergens Aftenblad (II) Bergen: 1889-1942
    creators:
    not reported by source
    year:
    1911
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Vestland
    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_bergensaftenbladbergenattenattini_null_null_19111024_147_248_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bece59df7af117590f03981caf7ee319
    date:
    1911-10-24
  6. id:
    a20ae4db9cfd6d8325d8cdfbf8cf70d3
    urn:
    URN:NBN:no-nb_digitidsskrift_2025091183020_001
    title:
    Annual report. 2020
    creators:

    1 results

    1. iCSI Industrial catalysis science and Innovation
    year:
    2020
    publisher:
    NTNU
    media_types:

    1 results

    1. tidsskrift
    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_digitidsskrift_2025091183020_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a20ae4db9cfd6d8325d8cdfbf8cf70d3
  7. id:
    d87e84d79f4c9e268643f3e965df42f3
    urn:
    URN:NBN:no-nb_pliktmonografi_000034085
    title:
    Evaluation of natural sciences in Norway : National Report
    creators:

    2 results

    1. Grønsleth, Marianne
    2. Norges forskningsråd
    year:
    2024
    publisher:
    Norges forskningsråd
    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_000034085_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d87e84d79f4c9e268643f3e965df42f3
  8. id:
    fc801e4b5cae799574c68ca97ce307e2
    urn:
    URN:NBN:no-nb_pliktmonografi_000033328
    title:
    National report - Evaluation of Natural Sciences in Norway 2022-2024
    creators:

    2 results

    1. Grønsleth, Marianne
    2. Norges forskningsråd
    year:
    2024
    publisher:
    Norges forskningsråd
    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_000033328_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/fc801e4b5cae799574c68ca97ce307e2
  9. id:
    e57ca03c1667e53c135df1496f88a2d9
    urn:
    URN:NBN:no-nb_digavis_lillesandsposten_null_null_20241008_155_79_1
    title:
    Lillesands-Posten
    creators:
    not reported by source
    year:
    2024
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Agder
    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_lillesandsposten_null_null_20241008_155_79_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e57ca03c1667e53c135df1496f88a2d9
    date:
    2024-10-08
  10. id:
    25dd5ce57ded6b5da27095ec68554fef
    urn:
    URN:NBN:no-nb_digavis_stavangeraftenblad_null_null_19360523_44_118_1
    title:
    Stavanger aftenblad
    creators:
    not reported by source
    year:
    1936
    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_19360523_44_118_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/25dd5ce57ded6b5da27095ec68554fef
    date:
    1936-05-23
  11. id:
    b9239e1aefd1dfe6aaa3780c105c4298
    urn:
    URN:NBN:no-nb_digibok_2025080106062
    title:
    Optimization of UiO-67 type metal-organic frameworks for catalysis
    creators:

    1 results

    1. Kaur, Gurpreet
    year:
    2020
    publisher:
    Department of Chemistry, Faculty of Mathematics and Natural Sciences, 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_2025080106062_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b9239e1aefd1dfe6aaa3780c105c4298
  12. id:
    a873140cd6a63e0caa321933baf7eba9
    urn:
    URN:NBN:no-nb_digavis_sarpsborgarbeiderblad_null_null_20241227_95_151_1
    title:
    Sarpsborg Arbeiderblad
    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:
    Østfold
    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_sarpsborgarbeiderblad_null_null_20241227_95_151_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a873140cd6a63e0caa321933baf7eba9
    date:
    2024-12-27
  13. id:
    e2e6ce11a52e717aa8baa27d7c5619d4
    urn:
    URN:NBN:no-nb_pliktmonografi_000045284
    title:
    Synthesis and characterization of metal-organic frameworks containing bio-inspired Cu-centers
    creators:

    1 results

    1. Aunan, Erlend Solbakken
    year:
    2025
    publisher:
    Department of Chemistry, Faculty of Mathematics and Natural Sciences, 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_pliktmonografi_000045284_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e2e6ce11a52e717aa8baa27d7c5619d4
  14. id:
    bba943ea2465ee73edb9f3faf8cb6275
    urn:
    URN:NBN:no-nb_digibok_2025082906117
    title:
    On the hydrogenation of CO₂ over Pt functionalized UiO-67 metal-organic frameworks
    creators:

    1 results

    1. Gutterød, Emil Sebastian
    year:
    2020
    publisher:
    Department of Chemistry, Faculty of Mathematics and Natural Sciences, 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_2025082906117_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bba943ea2465ee73edb9f3faf8cb6275
  15. id:
    586f9ff02ec1a59f7de614e600d28c74
    urn:
    URN:NBN:no-nb_pliktmonografi_000008103
    title:
    Bioinspired copper complexes for incorporation into UiO-67
    creators:

    1 results

    1. Gerz, Isabelle
    year:
    2022
    publisher:
    Department of Chemistry, Faculty of Mathematics and Natural Sciences, 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_pliktmonografi_000008103_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/586f9ff02ec1a59f7de614e600d28c74
  16. id:
    5e0e885d9e0764fa3fcdc6d4077b2e33
    urn:
    URN:NBN:no-nb_digibok_2025081806193
    title:
    Preparation, structure and reactivity of functionalized zirconium metal-organic frameworks
    creators:

    1 results

    1. Øien-Ødegaard, Sigurd
    year:
    2015
    publisher:
    University of Oslo, Faculty of Mathematics and Natural Sciences, Department of Chemistry
    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_2025081806193_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5e0e885d9e0764fa3fcdc6d4077b2e33
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.