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-21T01:05:57Z in 0.254 seconds.

total:
19
page:
0
size:
25
items:

19 results

  1. id:
    e84bea3c1598e13e86ade8732e9c46cc
    urn:
    URN:NBN:no-nb_digavis_tronderbladetmelhus_null_null_19890414_11_56_1
    title:
    Trønderbladet (Melhus: 1979- )
    creators:
    not reported by source
    year:
    1989
    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:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_tronderbladetmelhus_null_null_19890414_11_56_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e84bea3c1598e13e86ade8732e9c46cc
    date:
    1989-04-14
  2. id:
    b9f6da15ad9fdeb3ed83f84087a468da
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210807_30_180_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. Norsk bokmål
    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_20210807_30_180_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b9f6da15ad9fdeb3ed83f84087a468da
    date:
    2021-08-07
  3. id:
    5e73641af04114a4d089f0828977b0f9
    urn:
    URN:NBN:no-nb_pliktmonografi_000087539
    title:
    Crisis development in frail home-dwelling patients: A process analysis of clinical records = : Utvikling av kriser hos hjemmeboende skrøpelige pasienter: en prosessanalyse av pasientjournaler
    creators:

    6 results

    1. Myhre, Janne
    2. Lichtwarck, Bjørn
    3. Høgset, Lisbeth Dyrendal
    4. Bergh, Sverre
    5. Feiring, Ingvild Hjorth
    6. Kirkevold, Øyvind
    year:
    2026
    publisher:
    Universitetsforlaget
    media_types:

    1 results

    1. artikler
    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_000087539_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5e73641af04114a4d089f0828977b0f9
  4. id:
    e5e4072bb97cd65e82ace47751634813
    urn:
    URN:NBN:no-nb_digitidsskrift_2024050880058_009
    title:
    Computerworld (Oslo : trykt utg.). Fredag Februar 2008 Vol. 26 Nr. 8
    creators:
    not reported by source
    year:
    2008
    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:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2024050880058_009_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e5e4072bb97cd65e82ace47751634813
  5. id:
    376d68985a3db7db2688e379c0cdeea0
    urn:
    URN:NBN:no-nb_digavis_bergensavisen_null_null_20241118_0_314_1
    title:
    Bergensavisen
    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:
    Vestland
    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_bergensavisen_null_null_20241118_0_314_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/376d68985a3db7db2688e379c0cdeea0
    date:
    2024-11-18
  6. id:
    d44e08a9556e8516064c088003b88c9a
    urn:
    URN:NBN:no-nb_digavis_oksnesavisa_null_null_20180913_25_34_1
    title:
    Øksnes-avisa
    creators:
    not reported by source
    year:
    2018
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Nordland
    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_oksnesavisa_null_null_20180913_25_34_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d44e08a9556e8516064c088003b88c9a
    date:
    2018-09-13
  7. id:
    46970eb5e565386e3a5ce4fe42b9d344
    urn:
    URN:NBN:no-nb_digitidsskrift_2024111180038_005
    title:
    Skolemagasinet (Nesbru, trykt utg.) : fag-avis for læremidler i undervisningssektoren. 2009 Vol. 20 Nr. 5
    creators:
    not reported by source
    year:
    2009
    publisher:
    Avisen Skolemagasinet
    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_2024111180038_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/46970eb5e565386e3a5ce4fe42b9d344
  8. id:
    2a2fd39f7d751c5ddfa84ce3ab5022cf
    urn:
    URN:NBN:no-nb_digitidsskrift_2022061580031_001
    title:
    Nettverk & kommunikasjon : fagbladet for moderne IT-løsninger. 2009 Nr. 1
    creators:

    1 results

    1. PC world Norge
    year:
    2009
    publisher:
    IDG Magazines Norge
    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_2022061580031_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2a2fd39f7d751c5ddfa84ce3ab5022cf
  9. id:
    d7df7b1edf0607ed1a83351a99bb1e4c
    urn:
    URN:NBN:no-nb_digavis_sandefjordsblad_null_null_20260924_0_222_1
    title:
    Sandefjords Blad
    creators:
    not reported by source
    year:
    2026
    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_sandefjordsblad_null_null_20260924_0_222_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d7df7b1edf0607ed1a83351a99bb1e4c
    date:
    2026-09-24
  10. id:
    c42da8c86be1d84069bf24072f89bf7b
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20151202_126_280_1
    title:
    Dagens Næringsliv
    creators:
    not reported by source
    year:
    2015
    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_dagensnaeringsliv_null_null_20151202_126_280_1-1_001_nyhet/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c42da8c86be1d84069bf24072f89bf7b
    date:
    2015-12-02
  11. id:
    33522cba05c04f853fbcbb323d74c2bd
    urn:
    URN:NBN:no-nb_digavis_oksnesavisa_null_null_20190207_26_6_1
    title:
    Øksnes-avisa
    creators:
    not reported by source
    year:
    2019
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Nordland
    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_oksnesavisa_null_null_20190207_26_6_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/33522cba05c04f853fbcbb323d74c2bd
    date:
    2019-02-07
  12. id:
    0d7c002a42c8538398a107f171e5b5e1
    urn:
    URN:NBN:no-nb_digavis_bergenstidende_null_null_20180816_151_200_1
    title:
    Bergens Tidende Bergens tidende
    creators:
    not reported by source
    year:
    2018
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestland
    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_bergenstidende_null_null_20180816_151_200_1-01_001_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0d7c002a42c8538398a107f171e5b5e1
    date:
    2018-08-16
  13. id:
    100950f72514eafdff9305d3462aeff3
    urn:
    URN:NBN:no-nb_digavis_sunnhordland_null_null_20221216_120_147_1
    title:
    Sunnhordland
    creators:
    not reported by source
    year:
    2022
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestland
    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_sunnhordland_null_null_20221216_120_147_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/100950f72514eafdff9305d3462aeff3
    date:
    2022-12-16
  14. id:
    7f986e1aaa0761374378753f0959f3cd
    urn:
    URN:NBN:no-nb_digavis_bergensavisen_null_null_20180816_0_220_1
    title:
    Bergensavisen
    creators:
    not reported by source
    year:
    2018
    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:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_bergensavisen_null_null_20180816_0_220_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/7f986e1aaa0761374378753f0959f3cd
    date:
    2018-08-16
  15. id:
    87fc1b8aab8c629bcf6498354f37497b
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20260801_137_176_1
    title:
    Dagens Næringsliv D2
    creators:
    not reported by source
    year:
    2026
    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_dagensnaeringsliv_null_null_20260801_137_176_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/87fc1b8aab8c629bcf6498354f37497b
    date:
    2026-08-01
  16. id:
    bc143e4711de689eb61015f15178116e
    urn:
    URN:NBN:no-nb_digavis_bergensavisen_null_null_20180817_0_221_1
    title:
    Bergensavisen
    creators:
    not reported by source
    year:
    2018
    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:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_bergensavisen_null_null_20180817_0_221_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/bc143e4711de689eb61015f15178116e
    date:
    2018-08-17
  17. id:
    f330737cbe87127bf4357758af81301f
    urn:
    URN:NBN:no-nb_plikttidsskrift_000000939
    title:
    Vi menn (trykt utg.). 2019 Nr. 64
    creators:
    not reported by source
    year:
    2019
    publisher:
    Egmont Hjemmet Mortensen
    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_plikttidsskrift_000000939_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f330737cbe87127bf4357758af81301f
  18. id:
    acc42b2708533ea1a0bd43b94e1dca71
    urn:
    URN:NBN:no-nb_digibok_2021111748023
    title:
    Ungdoms erfaringer med vold og overgrep i oppveksten : en nasjonal undersøkelse av ungdom i alderen 12 til 16 år
    creators:

    3 results

    1. Hafstad, Gertrud Sofie
    2. Nasjonalt kunnskapssenter om vold og traumatisk stress
    3. Augusti, Else-Marie
    year:
    2019
    publisher:
    Nasjonalt kunnskapssenter om vold og traumatisk stress A/S
    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_2021111748023_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/acc42b2708533ea1a0bd43b94e1dca71
  19. id:
    cdb1bf0b754984d777f824480c083fdb
    urn:
    URN:NBN:no-nb_digavis_bergenstidende_null_null_20180817_151_201_1
    title:
    Bergens Tidende Bergens tidende
    creators:
    not reported by source
    year:
    2018
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Vestland
    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_bergenstidende_null_null_20180817_151_201_1-01_001_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/cdb1bf0b754984d777f824480c083fdb
    date:
    2018-08-17
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.