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-06T06:42:50Z in 0.352 seconds.

total:
20
page:
0
size:
25
items:

20 results

  1. id:
    ab6b46c911b9fa7222d4fc6363816d9f
    urn:
    URN:NBN:no-nb_digavis_byavisatonsberg_null_null_20170412_13_588_1
    title:
    Byavisa Tønsberg
    creators:
    not reported by source
    year:
    2017
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    No results.

    county:
    Vestfold
    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_byavisatonsberg_null_null_20170412_13_588_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ab6b46c911b9fa7222d4fc6363816d9f
    date:
    2017-04-12
  2. id:
    392a247508e3c3c5ee3c8bb0f157f26c
    urn:
    URN:NBN:no-nb_digavis_folketankenrisor_null_null_19401114_53_128_1
    title:
    Folketanken (Risør)
    creators:
    not reported by source
    year:
    1940
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Agder
    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_folketankenrisor_null_null_19401114_53_128_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/392a247508e3c3c5ee3c8bb0f157f26c
    date:
    1940-11-14
  3. id:
    e861be8f25fdf3f05b682370a407f509
    urn:
    URN:NBN:no-nb_digavis_askerogbaerumsbudstikke_null_null_19030418_5_29_1
    title:
    Asker og Bærums budstikke Asker og Bærums Budstikke
    creators:
    not reported by source
    year:
    1903
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Akershus
    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_askerogbaerumsbudstikke_null_null_19030418_5_29_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e861be8f25fdf3f05b682370a407f509
    date:
    1903-04-18
  4. id:
    f03e4e8ec1b88b1441b650e8ad4a8d18
    urn:
    URN:NBN:no-nb_digibok_2020090807601
    title:
    Implementering av motiverende samtale ved helsestasjoner i Bergen : erfaringer med bruk av nøkkelpersoner som kollegaveiledere
    creators:

    3 results

    1. Storbækken, Solveig
    2. Andresen, Nina Elin
    3. Kompetansesenter rus Region vest Bergen
    year:
    2016
    publisher:
    Kompetansesenter rus, Region vest Bergen, Stiftelsen Bergensklinikkene
    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_2020090807601_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f03e4e8ec1b88b1441b650e8ad4a8d18
  5. id:
    115f32331efd8546d47af053443400ed
    urn:
    URN:NBN:no-nb_digavis_scandia_null_null_19190315_22_11_1
    title:
    Scandia Scandia (Norwegian Weekly)
    creators:
    not reported by source
    year:
    1919
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Utlandet
    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_scandia_null_null_19190315_22_11_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/115f32331efd8546d47af053443400ed
    date:
    1919-03-15
  6. id:
    b48765c240f0848c5cea312f85b34ec7
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20180120_117_18_1
    title:
    Romerikes Blad
    creators:
    not reported by source
    year:
    2018
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    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_romerikesblad_null_null_20180120_117_18_1-1_01_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b48765c240f0848c5cea312f85b34ec7
    date:
    2018-01-20
  7. id:
    dcf6717ac3d91f1324a109ddef6a1816
    urn:
    URN:NBN:no-nb_digavis_tonsbergsblad_null_null_20210515_152_110_1
    title:
    Tønsbergs blad Tønsbergs Blad
    creators:
    not reported by source
    year:
    2021
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestfold
    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_tonsbergsblad_null_null_20210515_152_110_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/dcf6717ac3d91f1324a109ddef6a1816
    date:
    2021-05-15
  8. id:
    a2322c2a580f2443ba1e142c74caddd6
    urn:
    URN:NBN:no-nb_digitidsskrift_2023041883027_001
    title:
    Advokatbladet (Oslo : trykt utg.) : medlemsblad for Den Norske advokatforening. 2023 Vol. 103 Nr. 2
    creators:

    1 results

    1. Den Norske advokatforening
    year:
    2023
    publisher:
    Den Norske advokatforening
    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_2023041883027_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a2322c2a580f2443ba1e142c74caddd6
  9. id:
    6f625ec3e34f400157d996b5a7b71a99
    urn:
    URN:NBN:no-nb_digitidsskrift_2026072483045_001
    title:
    Advokatbladet (Oslo : trykt utg.) : medlemsblad for Den Norske advokatforening. 2026 Vol. 106 Nr. 2
    creators:
    not reported by source
    year:
    2026
    publisher:
    Den Norske advokatforening
    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_2026072483045_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6f625ec3e34f400157d996b5a7b71a99
  10. id:
    6b402c5263dacd66e86a59f506abcc25
    urn:
    URN:NBN:no-nb_digavis_tonsbergsblad_null_null_20211112_152_263_1
    title:
    Tønsbergs blad Tønsbergs Blad
    creators:
    not reported by source
    year:
    2021
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestfold
    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_tonsbergsblad_null_null_20211112_152_263_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6b402c5263dacd66e86a59f506abcc25
    date:
    2021-11-12
  11. id:
    ec02f6e1adb471588478a6143d5c55f0
    urn:
    URN:NBN:no-nb_digavis_tonsbergsblad_null_null_20190511_150_108_1
    title:
    Tønsbergs blad Tønsbergs Blad
    creators:
    not reported by source
    year:
    2019
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestfold
    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_tonsbergsblad_null_null_20190511_150_108_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ec02f6e1adb471588478a6143d5c55f0
    date:
    2019-05-11
  12. id:
    6612da022295dca1c7794efd8a246821
    urn:
    URN:NBN:no-nb_digavis_varden_null_null_20080401_134_75_1
    title:
    Varden
    creators:
    not reported by source
    year:
    2008
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Telemark
    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_varden_null_null_20080401_134_75_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6612da022295dca1c7794efd8a246821
    date:
    2008-04-01
  13. id:
    45ad3ae3c8843c40f72c2cd15750f706
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_19530117_94_27_1
    title:
    Aftenposten
    creators:
    not reported by source
    year:
    1953
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_19530117_94_27_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/45ad3ae3c8843c40f72c2cd15750f706
    date:
    1953-01-17
  14. id:
    c4eb7491fc8fe012772fdbfd5222bdec
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_19530117_94_27_1
    title:
    Aftenposten
    creators:
    not reported by source
    year:
    1953
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_19530117_94_27_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c4eb7491fc8fe012772fdbfd5222bdec
    date:
    1953-01-17
  15. id:
    22d4a417d4ee986e042dc23d1897adfe
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_20050316_146_126_1
    title:
    Aftenposten
    creators:
    not reported by source
    year:
    2005
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_20050316_146_126_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/22d4a417d4ee986e042dc23d1897adfe
    date:
    2005-03-16
  16. id:
    f6d53484b7d6656559137c52f173d535
    urn:
    URN:NBN:no-nb_digitidsskrift_2020040181175_001
    title:
    Tidsskrift for Den norske legeforening (trykt utg.) : The Journal of the Norwegian Medical Association. 2007 Vol. 127 Nr. 19
    creators:

    2 results

    1. Den Norske lægeforening
    2. Den Norske legeforening
    year:
    2007
    publisher:
    Den norske legeforening
    media_types:

    1 results

    1. tidsskrift
    languages:

    3 results

    1. eng
    2. nob
    3. mul
    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_2020040181175_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f6d53484b7d6656559137c52f173d535
  17. id:
    aef7a50425444f6e63d9b183dae6d624
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_20050323_146_138_1
    title:
    Aftenposten
    creators:
    not reported by source
    year:
    2005
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_20050323_146_138_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/aef7a50425444f6e63d9b183dae6d624
    date:
    2005-03-23
  18. id:
    1457f0398a27bf1cc2c01674528bfd23
    urn:
    URN:NBN:no-nb_digitidsskrift_2025082280025_006
    title:
    Fagbladet CreditInform. 2005 Vol. 16 Nr. 6
    creators:
    not reported by source
    year:
    2005
    publisher:
    Experian
    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_2025082280025_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1457f0398a27bf1cc2c01674528bfd23
  19. id:
    4f1f704a1ad14648604b95687aac9382
    urn:
    URN:NBN:no-nb_digibok_2010070908010
    title:
    Mind your own travel business. 1
    creators:

    1 results

    1. Beaver, Allan
    year:
    1980
    publisher:
    not reported by source
    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_2010070908010_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4f1f704a1ad14648604b95687aac9382
  20. id:
    808652b4bfb4ea004c3efa75bcfb305a
    urn:
    URN:NBN:no-nb_digibok_2017073107041
    title:
    Dansk-Norsk-Tysk Haand-Ordbog = : Dänisch-Norwegisch-Deutsches Hand-Wörterbuch
    creators:

    1 results

    1. Kaper, J.
    year:
    1880
    publisher:
    Gyldendal
    media_types:

    1 results

    1. bøker
    languages:

    4 results

    1. dan
    2. ger
    3. nob
    4. mul
    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_2017073107041_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/808652b4bfb4ea004c3efa75bcfb305a
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.