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.

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}&page=0&size=10&limit=25&offset=0

Replace {q}, {media_type}, {language}, {county}, {year_from}, {year_to}, {digital_only}, {sort}, {page}, {size} 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}&page=0&size=10&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).
pageoptionalintegerZero-based page index.
sizeoptionalintegerResults per page, 1 to 100 (default 10).
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}&page=0&size=10&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}&page=0&size=10&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}&page=0&size=10&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": "..."}
}
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: string. One of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance).
Type: integer. Zero-based page index.
Type: integer. Results per page, 1 to 100 (default 10).

Result

Source: National Library of Norway. Retrieved 2026-08-02T18:01:02Z in 0.176 seconds.

total:
72
page:
0
size:
10
items:

10 results

  1. id:
    cdd9e8b0ef05af8df580b63412f4b48e
    urn:
    URN:NBN:no-nb_pliktmonografi_000004504
    title:
    The promise of sustainable investing : the case of the Norwegian Oil Fund
    creators:

    3 results

    1. Kapoor, Sony
    2. Zeilina, Linda
    3. Forum for utvikling og miljø
    year:
    2017
    publisher:
    Forum for utvikling og miljø
    media_types:

    1 results

    1. bøker
    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_000004504_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/cdd9e8b0ef05af8df580b63412f4b48e
  2. id:
    9632c64df6b71aebe85f9be49e003969
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_007
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2014 17
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2014
    publisher:
    Norges bank Investment Management
    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_2024031280100_007_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/9632c64df6b71aebe85f9be49e003969
  3. id:
    90550faaed2e50dccd941f8ce4585774
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_008
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2015 18
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2015
    publisher:
    Norges bank Investment Management
    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_2024031280100_008_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/90550faaed2e50dccd941f8ce4585774
  4. id:
    14b632af30a0ded469979311ce7e381f
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_012
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2019 22
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2019
    publisher:
    Norges bank Investment Management
    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_2024031280100_012_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/14b632af30a0ded469979311ce7e381f
  5. id:
    a1ec5876bc2b4628f1306605572724b6
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_009
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2016 19
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2016
    publisher:
    Norges bank Investment Management
    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_2024031280100_009_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a1ec5876bc2b4628f1306605572724b6
  6. id:
    13354119516b75d0b9d892e0bdeafe4f
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_013
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2020 23
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2020
    publisher:
    Norges bank Investment Management
    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_2024031280100_013_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/13354119516b75d0b9d892e0bdeafe4f
  7. id:
    1904666f4d9c67ce22a8c26089c60f02
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_010
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2017 20
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2017
    publisher:
    Norges bank Investment Management
    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_2024031280100_010_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1904666f4d9c67ce22a8c26089c60f02
  8. id:
    25f01fcea00d44e1475b904d76bc89c2
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_011
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2018 21
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2018
    publisher:
    Norges bank Investment Management
    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_2024031280100_011_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/25f01fcea00d44e1475b904d76bc89c2
  9. id:
    1131ebcd7ab7e1b3417947c286b0d253
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_005
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2012 15
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2012
    publisher:
    Norges bank Investment Management
    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_2024031280100_005_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1131ebcd7ab7e1b3417947c286b0d253
  10. id:
    6a8094248ebe06608463f630a2b769b9
    urn:
    URN:NBN:no-nb_digitidsskrift_2024031280100_006
    title:
    Government Pension Fund - Global annual report (trykt utg.). 2013 16
    creators:

    1 results

    1. Norges bank Investment Management
    year:
    2013
    publisher:
    Norges bank Investment Management
    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_2024031280100_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6a8094248ebe06608463f630a2b769b9
limit:
25
offset:
0
returned:
10
has_more_results:
yes
truncated:
yes
next_offset:
10
Will you use the result in generated code?

Open the same result as JSON

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.