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-12-05T07:01:26Z in 0.262 seconds.

total:
16
page:
0
size:
25
items:

16 results

  1. id:
    157562e3676520e9fbb98f6085dae0c2
    urn:
    URN:NBN:no-nb_digitidsskrift_2025071583035_001
    title:
    Computerworld (Oslo : trykt utg.). 2025 Vol. 43 Nr. 3
    creators:
    not reported by source
    year:
    2025
    publisher:
    Computer Communications
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    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_2025071583035_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/157562e3676520e9fbb98f6085dae0c2
  2. id:
    00a35adee2c8e99de5f01bf88fb4d739
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20221105_0_258_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2022
    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_drammenstidende_null_null_20221105_0_258_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/00a35adee2c8e99de5f01bf88fb4d739
    date:
    2022-11-05
  3. id:
    baa9be0f50e0a15b578f6ddf3ef38725
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20210816_0_187_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2021
    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_drammenstidende_null_null_20210816_0_187_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/baa9be0f50e0a15b578f6ddf3ef38725
    date:
    2021-08-16
  4. id:
    4ca6bc48f244a4ff6873b9d823287104
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210927_30_223_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2021
    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_finansavisen_null_null_20210927_30_223_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4ca6bc48f244a4ff6873b9d823287104
    date:
    2021-09-27
  5. id:
    cc89d7fd962477c0337dcf930a255297
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20210824_0_194_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2021
    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_drammenstidende_null_null_20210824_0_194_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/cc89d7fd962477c0337dcf930a255297
    date:
    2021-08-24
  6. id:
    dc2c81c6bca21fee1961f7d103aeddff
    urn:
    URN:NBN:no-nb_digibok_2009020200124
    title:
    Norsk ordlista
    creators:

    1 results

    1. Eskeland, Lars
    year:
    1897
    publisher:
    Cammermeyer
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nno
    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_2009020200124_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/dc2c81c6bca21fee1961f7d103aeddff
  7. id:
    8b05325e644756bf2242ce9d3357e6cc
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20210823_0_193_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2021
    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_drammenstidende_null_null_20210823_0_193_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8b05325e644756bf2242ce9d3357e6cc
    date:
    2021-08-23
  8. id:
    c0ad31e530cb068ea8a84a1973b3bbd3
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20210818_0_189_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2021
    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_drammenstidende_null_null_20210818_0_189_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c0ad31e530cb068ea8a84a1973b3bbd3
    date:
    2021-08-18
  9. id:
    8cfdb682bdbcf0696758a0353cdd6046
    urn:
    URN:NBN:no-nb_digavis_drammenstidende_null_null_20210814_0_186_1
    title:
    Drammens Tidende (Drammen: 1999) Drammens tidende
    creators:
    not reported by source
    year:
    2021
    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_drammenstidende_null_null_20210814_0_186_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8cfdb682bdbcf0696758a0353cdd6046
    date:
    2021-08-14
  10. id:
    1fe596f8926fe782868fe9db7b8d76a9
    urn:
    URN:NBN:no-nb_digavis_eikerbladet_null_null_20211125_30_45_1
    title:
    Eikerbladet
    creators:
    not reported by source
    year:
    2021
    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_eikerbladet_null_null_20211125_30_45_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1fe596f8926fe782868fe9db7b8d76a9
    date:
    2021-11-25
  11. id:
    e8291fd9d9f87017593eeadfe436c4f6
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20200921_29_220_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2020
    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_finansavisen_null_null_20200921_29_220_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e8291fd9d9f87017593eeadfe436c4f6
    date:
    2020-09-21
  12. id:
    3bf5ae30a7ad50dcea8c57942767f78e
    urn:
    URN:NBN:no-nb_digavis_eikerbladet_null_null_20211021_30_40_1
    title:
    Eikerbladet
    creators:
    not reported by source
    year:
    2021
    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_eikerbladet_null_null_20211021_30_40_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3bf5ae30a7ad50dcea8c57942767f78e
    date:
    2021-10-21
  13. id:
    2a83effa941477cb604446cc3e8c98b1
    urn:
    URN:NBN:no-nb_digibok_2024011848035
    title:
    Skiturer i Drammenstraktene
    creators:

    1 results

    1. Helgesen, Tom
    year:
    2021
    publisher:
    Forlaget Tom & Tom
    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_2024011848035_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2a83effa941477cb604446cc3e8c98b1
  14. id:
    3eefa76e0f768f1db1a91eb9fc16b261
    urn:
    URN:NBN:no-nb_digibok_2006083100089
    title:
    Nynorsk ordbok for rettskriving og litteraturlesnad
    creators:

    2 results

    1. Skard, Matias
    2. Skard, Vemund
    year:
    1965
    publisher:
    Aschehoug
    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_2006083100089_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3eefa76e0f768f1db1a91eb9fc16b261
  15. id:
    c90eb66e2ddeb76379035a1f870206c0
    urn:
    URN:NBN:no-nb_digibok_2015091406031
    title:
    Nynorskordlista : rettskrivingsordliste for skole, heim og kontor
    creators:

    2 results

    1. Norsk språkråd
    2. Universitetet i Oslo Avdeling for leksikografi
    year:
    1996
    publisher:
    Samlaget
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. 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_2015091406031_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c90eb66e2ddeb76379035a1f870206c0
  16. id:
    01d5a17e669e7db9a04fe93aaa0a33e5
    urn:
    URN:NBN:no-nb_digibok_2021111528001
    title:
    Summa que vocatur Catholicon
    creators:

    1 results

    1. Joannes Balbus de Janua
    year:
    1490
    publisher:
    Hermannus Liechtenstein
    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_2021111528001_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/01d5a17e669e7db9a04fe93aaa0a33e5
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.