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-23T21:09:59Z in 0.782 seconds.

total:
67905
page:
0
size:
25
items:

25 results

  1. id:
    2aaf9ffd2ecd18dd7aa8b2839e25173e
    urn:
    not reported by source
    title:
    Annual report for Statistics Norway 2014
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2015
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/2aaf9ffd2ecd18dd7aa8b2839e25173e
  2. id:
    b42337b878c5617c908a6015961cfdd0
    urn:
    not reported by source
    title:
    Annual report for Statistics Norway 2013
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2014
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/b42337b878c5617c908a6015961cfdd0
  3. id:
    1888c9ad95fb678326fe2a62ce9c677f
    urn:
    not reported by source
    title:
    Annual report for Statistics Norway 2013
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2014
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/1888c9ad95fb678326fe2a62ce9c677f
  4. id:
    313c38ee24f576ae24ea0e003b7b833b
    urn:
    not reported by source
    title:
    Annual report for Statistics Norway 2014
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2015
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/313c38ee24f576ae24ea0e003b7b833b
  5. id:
    149a09632c19c1bc228afaceb75f16bd
    urn:
    not reported by source
    title:
    Statistics Norway : IT strategy 2007
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2007
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/149a09632c19c1bc228afaceb75f16bd
  6. id:
    bd9099e1f296c6faf84f89757a31bcdf
    urn:
    not reported by source
    title:
    Statistics Norway : IT strategy 2007
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2007
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/bd9099e1f296c6faf84f89757a31bcdf
  7. id:
    5daf084724c0127dadf4477ad5c847be
    urn:
    not reported by source
    title:
    Labor statistics series
    creators:

    1 results

    1. Forente stater Bureau of Labor Statistics
    year:
    1954
    publisher:
    not reported by source
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/5daf084724c0127dadf4477ad5c847be
  8. id:
    21dac4a970ed8665f179d1093e85ce2b
    urn:
    URN:NBN:no-nb_digibok_2016071108095
    title:
    Quality issues in Statistics Norway
    creators:

    3 results

    1. Sæbø, Hans Viggo
    2. Byfuglien, Jan
    3. Johannessen, Randi
    year:
    2001
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    bokhylla
    viewability:
    NONE
    access_allowed_from:
    NORWAY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2016071108095_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/21dac4a970ed8665f179d1093e85ce2b
  9. id:
    24582170aea328e24e240d8b81ea2510
    urn:
    URN:NBN:no-nb_digitidsskrift_2024040980063_001
    title:
    Agriculture statistics (trykt utg.). 2007
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2007
    publisher:
    Statistics Norway
    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_2024040980063_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/24582170aea328e24e240d8b81ea2510
  10. id:
    9057c74a0f85bef14bb2a574716fb6ea
    urn:
    URN:NBN:no-nb_digitidsskrift_2024040980063_002
    title:
    Agriculture statistics (trykt utg.). 2008
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2008
    publisher:
    Statistics Norway
    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_2024040980063_002_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/9057c74a0f85bef14bb2a574716fb6ea
  11. id:
    1933fb937074a17dcef1851bb4248f7b
    urn:
    not reported by source
    title:
    Strategy 2007 : Statistics Norway
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2007
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/1933fb937074a17dcef1851bb4248f7b
  12. id:
    7044fe1825802dc17809477a9c653b61
    urn:
    not reported by source
    title:
    Sámi statistics in Norway
    creators:

    1 results

    1. Høydahl, Even
    year:
    2009
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/7044fe1825802dc17809477a9c653b61
  13. id:
    c045ae8f67f47947274e548b2ee6b67c
    urn:
    not reported by source
    title:
    Sámi statistics in Norway
    creators:

    2 results

    1. Høydahl, Even
    2. Severeide, Paul Inge
    year:
    2017
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/c045ae8f67f47947274e548b2ee6b67c
  14. id:
    1e8266d6412dba66cfef8903accf2f51
    urn:
    URN:NBN:no-nb_digibok_2013010706040
    title:
    Statistics Norway : annual report 2006
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2007
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2013010706040_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1e8266d6412dba66cfef8903accf2f51
  15. id:
    d48d465f25210b3e199d832dedd40a76
    urn:
    URN:NBN:no-nb_digitidsskrift_2025031983132_001
    title:
    Agriculture statistics (trykt utg.). 2006
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2006
    publisher:
    Statistics Norway
    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_2025031983132_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d48d465f25210b3e199d832dedd40a76
  16. id:
    276d7f175768d9cf93933f96e96b0e2e
    urn:
    not reported by source
    title:
    Statistics Norway User Survey 2007
    creators:

    2 results

    1. Frilseth, Eyvind
    2. Gulløy, Elisabeth
    year:
    2007
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/276d7f175768d9cf93933f96e96b0e2e
  17. id:
    49e3422a6b244355f95bd7986a66881a
    urn:
    not reported by source
    title:
    Statistical metadata in Statistics Norway
    creators:

    2 results

    1. Hustoft, Anne Gro
    2. Linnerud, Jenny
    year:
    2006
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/49e3422a6b244355f95bd7986a66881a
  18. id:
    cce5f39b8e8508b587951d31501d6415
    urn:
    not reported by source
    title:
    Managing metadata in Statistics Norway
    creators:

    2 results

    1. Hustoft, Anne Gro
    2. Linnerud, Jenny
    year:
    2008
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/cce5f39b8e8508b587951d31501d6415
  19. id:
    e512facda500b6575099ca20c78bcca4
    urn:
    not reported by source
    title:
    Quality issues in Statistics Norway
    creators:

    3 results

    1. Sæbø, Hans Viggo
    2. Byfuglien, Jan
    3. Johannessen, Randi
    year:
    2001
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/e512facda500b6575099ca20c78bcca4
  20. id:
    2b2f3929ae8514541d22dec7aa64e5a8
    urn:
    not reported by source
    title:
    Statistics Norway user survey 2007
    creators:

    2 results

    1. Frilseth, Eyvind
    2. Gulløy, Elisabeth
    year:
    2007
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/2b2f3929ae8514541d22dec7aa64e5a8
  21. id:
    354c9b2c075d62cc061352a38c8ff65b
    urn:
    not reported by source
    title:
    Statistical metadata in Statistics Norway
    creators:

    2 results

    1. Hustoft, Anne Gro
    2. Linnerud, Jenny
    year:
    2006
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/354c9b2c075d62cc061352a38c8ff65b
  22. id:
    3d783e1cbe5386914c779db27b3b77f4
    urn:
    not reported by source
    title:
    Managing metadata in Statistics Norway
    creators:

    2 results

    1. Hustoft, Anne Gro
    2. Linnerud, Jenny
    year:
    2008
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/3d783e1cbe5386914c779db27b3b77f4
  23. id:
    927d0274308bfae3ddf60d6cfda7c892
    urn:
    not reported by source
    title:
    Statistical research at Statistics Norway
    creators:

    1 results

    1. Heldal, Johan
    year:
    2004
    publisher:
    Statistisk sentralbyrå
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/927d0274308bfae3ddf60d6cfda7c892
  24. id:
    bc312a9a8a784c8bbe10997742fc0065
    urn:
    not reported by source
    title:
    Institutional development cooperation in Statistics Norway
    creators:

    1 results

    1. Statistisk sentralbyrå
    year:
    2013
    publisher:
    Statistics Norway
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    NONE
    access_allowed_from:
    NB
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/bc312a9a8a784c8bbe10997742fc0065
  25. id:
    06d36915399a0c8dd7a45fed5c5cdbea
    urn:
    URN:NBN:no-nb_digibok_2016053108188
    title:
    Proceedings of the second Nordic Conference on Mathematical Statistics, Lofthus 1966
    creators:

    1 results

    1. Nordic Conference on Mathematical Statistics
    year:
    1966
    publisher:
    Universitetsforlaget
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. eng
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    bokhylla
    viewability:
    NONE
    access_allowed_from:
    NORWAY
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digibok_2016053108188_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/06d36915399a0c8dd7a45fed5c5cdbea
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.