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-19T11:38:50Z in 0.274 seconds.

total:
19
page:
0
size:
25
items:

19 results

  1. id:
    4d5ae2d5a71b7e8e7da4aa9379b5e8cd
    urn:
    URN:NBN:no-nb_digitidsskrift_2024041883154_001
    title:
    Norsk landbruk. 2024 Vol. 143 Nr. 5
    creators:
    not reported by source
    year:
    2024
    publisher:
    Landbruksforlaget
    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_2024041883154_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4d5ae2d5a71b7e8e7da4aa9379b5e8cd
  2. id:
    a33ff3043d95cb85b21743935a7fb742
    urn:
    URN:NBN:no-nb_plikttidsskrift_db1ff933-3948-4506-a7fd-31d949cac1f7
    title:
    Park & anlegg : fagblad for grøntanleggssektoren. 2021 Nr. 6
    creators:

    1 results

    1. Norsk gartnerforbund
    year:
    2021
    publisher:
    Norsk gartnerforbund
    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_db1ff933-3948-4506-a7fd-31d949cac1f7_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a33ff3043d95cb85b21743935a7fb742
  3. id:
    865034c7495254e34c4117251f566eb5
    urn:
    URN:NBN:no-nb_plikttidsskrift_4ff9374b-86a4-4c63-b041-02106c8cc04d
    title:
    Bedre gardsdrift. 2024 Vol. 44 Nr. 2
    creators:
    not reported by source
    year:
    2024
    publisher:
    Ask media
    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_4ff9374b-86a4-4c63-b041-02106c8cc04d_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/865034c7495254e34c4117251f566eb5
  4. id:
    b468ffad1a0cf105986570512ce9c787
    urn:
    URN:NBN:no-nb_digitidsskrift_2023120780042_003
    title:
    Traktor (Oslo) : gromlyd på trykk. 2021 Nr. 3
    creators:
    not reported by source
    year:
    2021
    publisher:
    Tun media
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2023120780042_003_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b468ffad1a0cf105986570512ce9c787
  5. id:
    4c2b6404bca7e9d5c924dc97ee37b094
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052280080_005
    title:
    Bedre gardsdrift. 2021 Vol. 41 Nr. 5
    creators:
    not reported by source
    year:
    2021
    publisher:
    Ask media
    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_2025052280080_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4c2b6404bca7e9d5c924dc97ee37b094
  6. id:
    0f29e0e74ab2007ef7d0869dab434b43
    urn:
    URN:NBN:no-nb_plikttidsskrift_69518b63-2ef4-4c06-8f38-1935179c979c
    title:
    Park & anlegg : fagblad for grøntanleggssektoren. 2022 Nr. 1
    creators:

    1 results

    1. Norsk gartnerforbund
    year:
    2022
    publisher:
    Norsk gartnerforbund
    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_69518b63-2ef4-4c06-8f38-1935179c979c_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0f29e0e74ab2007ef7d0869dab434b43
  7. id:
    366ac03b0562d0e07b5d38e0a923d1e7
    urn:
    URN:NBN:no-nb_digitidsskrift_2024041883198_001
    title:
    Anlegg & transport : tidsskrift for maskin- og transportteknikk. 2024 Nr. 2
    creators:
    not reported by source
    year:
    2024
    publisher:
    Bjørgu
    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_2024041883198_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/366ac03b0562d0e07b5d38e0a923d1e7
  8. id:
    7e3321bf118d8bc0f133c1c2b77a1e15
    urn:
    URN:NBN:no-nb_digavis_dalanetidende_null_null_20220921_138_111_1
    title:
    Dalane Tidende
    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:
    Rogaland
    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_dalanetidende_null_null_20220921_138_111_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/7e3321bf118d8bc0f133c1c2b77a1e15
    date:
    2022-09-21
  9. id:
    da0a0bdb5f498872a78e31c44495459f
    urn:
    URN:NBN:no-nb_digavis_dalanetidende_null_null_20230920_139_103_1
    title:
    Dalane Tidende
    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:
    Rogaland
    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_dalanetidende_null_null_20230920_139_103_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/da0a0bdb5f498872a78e31c44495459f
    date:
    2023-09-20
  10. id:
    8fd27b6440453769cf047a8e18fa985b
    urn:
    URN:NBN:no-nb_plikttidsskrift_ffafa35e-ab16-40bc-904b-171647bb8f8d
    title:
    Park & anlegg : fagblad for grøntanleggssektoren. 2022 Vol. 21 Nr. 3
    creators:

    1 results

    1. Norsk gartnerforbund
    year:
    2022
    publisher:
    Norsk gartnerforbund
    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_ffafa35e-ab16-40bc-904b-171647bb8f8d_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8fd27b6440453769cf047a8e18fa985b
  11. id:
    d2f89ae84fde93daa1e4ba136264c95a
    urn:
    URN:NBN:no-nb_digitidsskrift_2023120780042_005
    title:
    Traktor (Oslo) : gromlyd på trykk. 2021 Nr. 5
    creators:
    not reported by source
    year:
    2021
    publisher:
    Tun media
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2023120780042_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d2f89ae84fde93daa1e4ba136264c95a
  12. id:
    2beabeaae730f18974c4695c18745c6c
    urn:
    URN:NBN:no-nb_digitidsskrift_2024061483088_001
    title:
    Traktor (Oslo) : gromlyd på trykk. 2024 Nr. 2
    creators:
    not reported by source
    year:
    2024
    publisher:
    Tun media
    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:
    LIBRARY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2024061483088_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2beabeaae730f18974c4695c18745c6c
  13. id:
    620b6d837c7905f68c9b9449c8da6651
    urn:
    URN:NBN:no-nb_digavis_jaerbladet_null_null_20221123_74_138_1
    title:
    Jærbladet
    creators:
    not reported by source
    year:
    2022
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Rogaland
    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_jaerbladet_null_null_20221123_74_138_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/620b6d837c7905f68c9b9449c8da6651
    date:
    2022-11-23
  14. id:
    b71e2f6c77ea6e60aa4e79b75595ccb4
    urn:
    URN:NBN:no-nb_digavis_gjesdalbuen_null_null_20230921_31_34_1
    title:
    Gjesdalbuen
    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:
    Rogaland
    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_gjesdalbuen_null_null_20230921_31_34_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b71e2f6c77ea6e60aa4e79b75595ccb4
    date:
    2023-09-21
  15. id:
    c467fc02d4440f3927fce8b652918ff7
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052280080_009
    title:
    Bedre gardsdrift. 2021 Vol. 41 Nr. 9
    creators:
    not reported by source
    year:
    2021
    publisher:
    Ask media
    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_2025052280080_009_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c467fc02d4440f3927fce8b652918ff7
  16. id:
    54727c452470896d6122066253c7f69b
    urn:
    URN:NBN:no-nb_plikttidsskrift_88439cdd-fda8-4590-9691-6b1ddf310922
    title:
    Park & anlegg : fagblad for grøntanleggssektoren. 2021 Nr. 9
    creators:

    1 results

    1. Norsk gartnerforbund
    year:
    2021
    publisher:
    Norsk gartnerforbund
    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_88439cdd-fda8-4590-9691-6b1ddf310922_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/54727c452470896d6122066253c7f69b
  17. id:
    03dee45b78e23aaeea813646bcd3f221
    urn:
    URN:NBN:no-nb_digitidsskrift_2023111483034_001
    title:
    Park & anlegg : fagblad for grøntanleggssektoren. 2023 Vol. 22 Nr. 9
    creators:

    1 results

    1. Norsk gartnerforbund
    year:
    2023
    publisher:
    Norsk gartnerforbund
    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_2023111483034_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/03dee45b78e23aaeea813646bcd3f221
  18. id:
    c0eea7b6de09ce1358694a7cf249fdc5
    urn:
    URN:NBN:no-nb_digavis_jaerbladet_null_null_20231124_75_139_1
    title:
    Jærbladet
    creators:
    not reported by source
    year:
    2023
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. nob
    county:
    Rogaland
    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_jaerbladet_null_null_20231124_75_139_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c0eea7b6de09ce1358694a7cf249fdc5
    date:
    2023-11-24
  19. id:
    61e76ed786015f75836ac637ee2c7521
    urn:
    URN:NBN:no-nb_digavis_lyngdalsavis_null_null_20260812_13_32_1
    title:
    Lyngdals Avis
    creators:
    not reported by source
    year:
    2026
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Agder
    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_lyngdalsavis_null_null_20260812_13_32_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/61e76ed786015f75836ac637ee2c7521
    date:
    2026-08-12
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.