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-21T10:22:02Z in 0.296 seconds.

total:
18
page:
0
size:
25
items:

18 results

  1. id:
    cbdb76cd96ccadbdb8db4fb6d1851667
    urn:
    URN:NBN:no-nb_digitidsskrift_2023051583055_001
    title:
    Legekunsten : tidsskrift for praktisk spesialist-legetjeneste. 2022 Vol. 32 Nr. 1
    creators:

    2 results

    1. Praktiserende spesialisters selskap
    2. Praktiserende spesialisters landsforening
    year:
    2022
    publisher:
    Praktiserende spesialisters selskap
    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_2023051583055_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/cbdb76cd96ccadbdb8db4fb6d1851667
  2. id:
    7a0f2578057ee415bf2579f27da3907b
    urn:
    URN:NBN:no-nb_digitidsskrift_2025072583085_001
    title:
    Legekunsten : tidsskrift for praktisk spesialist-legetjeneste. 2025 Vol. 35 Nr. 2
    creators:

    2 results

    1. Praktiserende spesialisters selskap
    2. Praktiserende spesialisters landsforening
    year:
    2025
    publisher:
    Praktiserende spesialisters selskap
    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_2025072583085_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/7a0f2578057ee415bf2579f27da3907b
  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:
    169afe6ddbccc2909117e1b9193c2a96
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052783062_001
    title:
    Legekunsten : tidsskrift for praktisk spesialist-legetjeneste. 2025 Vol. 35 Nr. 1
    creators:

    2 results

    1. Praktiserende spesialisters selskap
    2. Praktiserende spesialisters landsforening
    year:
    2025
    publisher:
    Praktiserende spesialisters selskap
    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_2025052783062_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/169afe6ddbccc2909117e1b9193c2a96
  5. id:
    d945d8aa962e5757bd84518338ca18f7
    urn:
    URN:NBN:no-nb_digavis_vestlandsnytt_null_null_20261010_92_79_1
    title:
    Vestlandsnytt
    creators:
    not reported by source
    year:
    2026
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Møre og Romsdal
    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_vestlandsnytt_null_null_20261010_92_79_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d945d8aa962e5757bd84518338ca18f7
    date:
    2026-10-10
  6. id:
    6d825b786b92a6b3dc1c372f5271c8b5
    urn:
    URN:NBN:no-nb_digitidsskrift_2024041883089_001
    title:
    Utposten (Lærdal : trykt utg.) : blad for allmenn- og samfunnsmedisin. 2024 Vol. 53 Nr. 2
    creators:

    1 results

    1. RMR (utgiver)
    year:
    2024
    publisher:
    Utposten
    media_types:

    1 results

    1. tidsskrift
    languages:

    3 results

    1. nob
    2. mul
    3. 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_2024041883089_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6d825b786b92a6b3dc1c372f5271c8b5
  7. id:
    977c9e5aa5dd05e09cdd67af7683e296
    urn:
    URN:NBN:no-nb_digitidsskrift_2023060883022_001
    title:
    Dagens medisin (trykt utg.) : uavhengig nyhetsavis for helsevesenet. 2023 Nr. 6
    creators:

    1 results

    1. Dagens medisin
    year:
    2023
    publisher:
    Dagens medisin
    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_2023060883022_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/977c9e5aa5dd05e09cdd67af7683e296
  8. id:
    edcb5c44b7ae6e1da1b4a58f7cb2fe91
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20200518_131_114_1
    title:
    Dagens Næringsliv
    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_dagensnaeringsliv_null_null_20200518_131_114_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/edcb5c44b7ae6e1da1b4a58f7cb2fe91
    date:
    2020-05-18
  9. id:
    f03683f0f2f31dd2412e020964d999b3
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20231124_32_274_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2023
    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_20231124_32_274_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f03683f0f2f31dd2412e020964d999b3
    date:
    2023-11-24
  10. id:
    af7b54b289a4e184211673326f922dc4
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210719_30_163_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_20210719_30_163_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/af7b54b289a4e184211673326f922dc4
    date:
    2021-07-19
  11. id:
    e99f5f69ef15e713a206a31bcfdd0a17
    urn:
    URN:NBN:no-nb_digavis_laagendalsposten_null_null_20240129_121_16_1
    title:
    Laagendalsposten
    creators:
    not reported by source
    year:
    2024
    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_20240129_121_16_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e99f5f69ef15e713a206a31bcfdd0a17
    date:
    2024-01-29
  12. id:
    066d2a9f37fe2d4f5af31e6340910487
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20220926_133_223_1
    title:
    Dagens Næringsliv
    creators:
    not reported by source
    year:
    2022
    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_20220926_133_223_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/066d2a9f37fe2d4f5af31e6340910487
    date:
    2022-09-26
  13. id:
    c2657cdfd18d86b544acff9819ba1e3b
    urn:
    URN:NBN:no-nb_digavis_dagensnaeringsliv_null_null_20220221_133_43_1
    title:
    Dagens Næringsliv
    creators:
    not reported by source
    year:
    2022
    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_20220221_133_43_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c2657cdfd18d86b544acff9819ba1e3b
    date:
    2022-02-21
  14. id:
    b8a5866b4ca07a936632d25fc8050653
    urn:
    URN:NBN:no-nb_digavis_budstikkaforaskerogb_null_null_20201015_123_241_1
    title:
    Budstikka (Asker og Bærum)
    creators:
    not reported by source
    year:
    2020
    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_20201015_123_241_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b8a5866b4ca07a936632d25fc8050653
    date:
    2020-10-15
  15. id:
    2b86b9b13d87de996face8b69d8bcef4
    urn:
    URN:NBN:no-nb_plikttidsskrift_000009296
    title:
    Tidsskrift for Den norske legeforening (trykt utg.) : The Journal of the Norwegian Medical Association. 2021 Vol. 141 Nr. 18
    creators:

    2 results

    1. Den Norske lægeforening
    2. Den Norske legeforening
    year:
    2021
    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_plikttidsskrift_000009296_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2b86b9b13d87de996face8b69d8bcef4
  16. id:
    1884090df74e26e6ccdcfe07e64aa432
    urn:
    URN:NBN:no-nb_plikttidsskrift_000009090
    title:
    Tidsskrift for Den norske legeforening (trykt utg.) : The Journal of the Norwegian Medical Association. 2021 Vol. 141 Nr. 16
    creators:

    2 results

    1. Den Norske lægeforening
    2. Den Norske legeforening
    year:
    2021
    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_plikttidsskrift_000009090_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1884090df74e26e6ccdcfe07e64aa432
  17. id:
    26ecaefcf2eb18f898749b4a50f80b27
    urn:
    URN:NBN:no-nb_plikttidsskrift_000006351
    title:
    Tidsskrift for Den norske legeforening (trykt utg.) : The Journal of the Norwegian Medical Association. 2020 Vol. 140 Nr. 18
    creators:

    2 results

    1. Den Norske lægeforening
    2. Den Norske legeforening
    year:
    2020
    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_plikttidsskrift_000006351_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/26ecaefcf2eb18f898749b4a50f80b27
  18. id:
    96fb7ccdea67eb311fd53300499acf3f
    urn:
    URN:NBN:no-nb_digitidsskrift_2025062580053_009
    title:
    Dagens medisin (trykt utg.) : uavhengig nyhetsavis for helsevesenet. 2021 Nr. 10/11
    creators:

    1 results

    1. Dagens medisin
    year:
    2021
    publisher:
    Dagens medisin
    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_2025062580053_009_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/96fb7ccdea67eb311fd53300499acf3f
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.