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-24T05:22:11Z in 0.333 seconds.

total:
20
page:
0
size:
25
items:

20 results

  1. id:
    b99377fcd9bdc8b139b19c76dc8f262d
    urn:
    URN:NBN:no-nb_digavis_aftenposten_null_null_20200924_161_221_1
    title:
    Aftenposten
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_aftenposten_null_null_20200924_161_221_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b99377fcd9bdc8b139b19c76dc8f262d
    date:
    2020-09-24
  2. id:
    0cef412bc10b09400c9670719ae0b5fe
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20180705_129_151_1
    title:
    Dagens Næringsliv
    creators:
    not reported by source
    year:
    2018
    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_20180705_129_151_1-1_001_nyhet/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0cef412bc10b09400c9670719ae0b5fe
    date:
    2018-07-05
  3. id:
    dc13e817f3790ebc941da45dc61ce4ab
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20151123_114_272_1
    title:
    Romerikes Blad
    creators:
    not reported by source
    year:
    2015
    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_20151123_114_272_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/dc13e817f3790ebc941da45dc61ce4ab
    date:
    2015-11-23
  4. id:
    6bbbc1880a372110e4234a4473d12163
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20180412_117_85_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_20180412_117_85_1-1_01_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6bbbc1880a372110e4234a4473d12163
    date:
    2018-04-12
  5. id:
    27a3a93e5c59345f768490ad39ece8f3
    urn:
    URN:NBN:no-nb_digitidsskrift_2024010580011_006
    title:
    Intrafish : the international fisheries and aquaculture weekly newspaper. 2006 Vol. 4 Nr. 6
    creators:

    1 results

    1. Intrafish media
    year:
    2006
    publisher:
    Intrafish Media
    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_2024010580011_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/27a3a93e5c59345f768490ad39ece8f3
  6. id:
    32052501dd56d40bc23d3bc55241abdc
    urn:
    URN:NBN:no-nb_digitidsskrift_2024040480019_006
    title:
    Interiør & møbler : NILs årbok .... 2018
    creators:

    1 results

    1. Norske interiørarkitekters og møbeldesigneres landsforening
    year:
    2018
    publisher:
    Norske interiørarkitekters og møbeldesigneres landsforening
    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_2024040480019_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/32052501dd56d40bc23d3bc55241abdc
  7. id:
    ca70f20d9c62c416cf4986c5b4077f5c
    urn:
    URN:NBN:no-nb_digitidsskrift_2025031383088_001
    title:
    Reiseliv1 : bransjemagasinet for hotell, restaurant & opplevelse. 2025 Nr. 1
    creators:

    1 results

    1. Dagens perspektiv
    year:
    2025
    publisher:
    Medier og ledelse AS
    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_2025031383088_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ca70f20d9c62c416cf4986c5b4077f5c
  8. id:
    48600dfc913807ded998a0b5f01abf43
    urn:
    URN:NBN:no-nb_digavis_fanaposten_null_null_20170815_39_65_01
    title:
    Fanaposten
    creators:
    not reported by source
    year:
    2017
    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_fanaposten_null_null_20170815_39_65_01-01_001_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/48600dfc913807ded998a0b5f01abf43
    date:
    2017-08-15
  9. id:
    06fc1495f98d4caf37cc4afb346a0fab
    urn:
    URN:NBN:no-nb_digavis_budstikkaforaskerogb_null_null_20151117_118_271_1
    title:
    Budstikka (Asker og Bærum)
    creators:
    not reported by source
    year:
    2015
    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_budstikkaforaskerogb_null_null_20151117_118_271_1-01_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/06fc1495f98d4caf37cc4afb346a0fab
    date:
    2015-11-17
  10. id:
    a67c8e252acff474e9e606b6e7139f4d
    urn:
    URN:NBN:no-nb_digavis_dagbladet_null_1_20170427_149_97_1
    title:
    Dagbladet (Oslo: 1869-)
    creators:
    not reported by source
    year:
    2017
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_dagbladet_null_1_20170427_149_97_1-1_001_nyheter/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a67c8e252acff474e9e606b6e7139f4d
    date:
    2017-04-27
  11. id:
    101376b4eda1293204e25742deb027ca
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20180622_117_142_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_20180622_117_142_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/101376b4eda1293204e25742deb027ca
    date:
    2018-06-22
  12. id:
    a73962d75085daafc582473d9d533f6a
    urn:
    URN:NBN:no-nb_digavis_dagbladet_null_null_20220523_154_117_1
    title:
    Dagbladet (Oslo: 1869-)
    creators:
    not reported by source
    year:
    2022
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digavis_dagbladet_null_null_20220523_154_117_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a73962d75085daafc582473d9d533f6a
    date:
    2022-05-23
  13. id:
    c2a51d95822879b7c488b5272d34584c
    urn:
    URN:NBN:no-nb_digavis_eidsvollullensakerbl_null_null_20180418_116_60_1
    title:
    Eidsvoll Ullensaker Blad
    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:
    Akershus
    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_eidsvollullensakerbl_null_null_20180418_116_60_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c2a51d95822879b7c488b5272d34584c
    date:
    2018-04-18
  14. id:
    ae6b70160cbe1485d1948eac2e61e240
    urn:
    URN:NBN:no-nb_digavis_nordlys_null_null_20240706_0_154_1
    title:
    Nordlys
    creators:
    not reported by source
    year:
    2024
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Troms
    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_nordlys_null_null_20240706_0_154_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ae6b70160cbe1485d1948eac2e61e240
    date:
    2024-07-06
  15. id:
    874e05c9f31864612e64e602967c53eb
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20151114_126_265_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_20151114_126_265_1-1_001_nyhet/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/874e05c9f31864612e64e602967c53eb
    date:
    2015-11-14
  16. id:
    5d09012c25e1cf3410c1ce1eaa6e8273
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20190810_130_183_1
    title:
    Dagens Næringsliv
    creators:
    not reported by source
    year:
    2019
    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_20190810_130_183_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5d09012c25e1cf3410c1ce1eaa6e8273
    date:
    2019-08-10
  17. id:
    33d55863ff9e3d6fa10afa9c1d24df3d
    urn:
    URN:NBN:no-nb_digavis_eidsvollullensakerbl_null_null_20240706_121_105_1
    title:
    Eidsvoll Ullensaker Blad
    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:
    Akershus
    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_eidsvollullensakerbl_null_null_20240706_121_105_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/33d55863ff9e3d6fa10afa9c1d24df3d
    date:
    2024-07-06
  18. id:
    9e558d4fe629cc264a380d21d61de680
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20200314_119_63_1
    title:
    Romerikes Blad
    creators:
    not reported by source
    year:
    2020
    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_20200314_119_63_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/9e558d4fe629cc264a380d21d61de680
    date:
    2020-03-14
  19. id:
    8b43d9b21a523531bb8a2d9411864567
    urn:
    URN:NBN:no-nb_digavis_romerikesblad_null_null_20240706_123_154_1
    title:
    Romerikes Blad
    creators:
    not reported by source
    year:
    2024
    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_20240706_123_154_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8b43d9b21a523531bb8a2d9411864567
    date:
    2024-07-06
  20. id:
    98d9292c67ced411bb8f915a83cca951
    urn:
    URN:NBN:no-nb_digavis_bergenstidende_null_null_20171104_150_303_1
    title:
    Bergens Tidende Bergens tidende
    creators:
    not reported by source
    year:
    2017
    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_20171104_150_303_1-01_001_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/98d9292c67ced411bb8f915a83cca951
    date:
    2017-11-04
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.