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-23T12:42:35Z in 0.452 seconds.

total:
97826
page:
0
size:
25
items:

25 results

  1. id:
    67801637a1f814abbd2557d4de0c0320
    urn:
    not reported by source
    title:
    BKK-nytt
    creators:

    1 results

    1. Bkk As
    year:
    not reported by source
    publisher:
    BKK
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/67801637a1f814abbd2557d4de0c0320
  2. id:
    633c687afc8d3472de5e1c0c6e73abef
    urn:
    URN:NBN:no-nb_digibok_2015090208081
    title:
    BKK langtidsprogram 1985-2000
    creators:

    1 results

    1. BKK
    year:
    1985
    publisher:
    BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2015090208081_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/633c687afc8d3472de5e1c0c6e73abef
  3. id:
    ff9188709c6371721e60ae58112eca8e
    urn:
    not reported by source
    title:
    BKK langtidsprogram
    creators:

    2 results

    1. Hatlevik, Kristen
    2. BKK
    year:
    1979
    publisher:
    BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/ff9188709c6371721e60ae58112eca8e
  4. id:
    05b5e7b464a698120944f9bf287dca95
    urn:
    URN:NBN:no-nb_digibok_2012032738057
    title:
    BKK 50 år
    creators:

    2 results

    1. Eriksen, Nils
    2. BKK
    year:
    1970
    publisher:
    BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2012032738057_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/05b5e7b464a698120944f9bf287dca95
  5. id:
    e6751b26f37c17f6771409204aceb030
    urn:
    not reported by source
    title:
    Utredning om vertikal integrasjon av elforsyningen i BKK-området
    creators:

    2 results

    1. Bergen lysverker
    2. BKK
    year:
    1987
    publisher:
    Bergen lysverker ; Nesttun : BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/e6751b26f37c17f6771409204aceb030
  6. id:
    319e997b1e429b118d3edd6974b5c886
    urn:
    not reported by source
    title:
    BKK varme vil utvide fjernvarmenettet i Bergen
    creators:

    1 results

    1. Lind, Oddvar
    year:
    2006
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    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/319e997b1e429b118d3edd6974b5c886
  7. id:
    ce807975934ccc501b11fe0ec80bd2c7
    urn:
    URN:NBN:no-nb_digitidsskrift_2022112383026_001
    title:
    Årsberetning. 2002
    creators:

    1 results

    1. BKK
    year:
    2002
    publisher:
    BKK
    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_2022112383026_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ce807975934ccc501b11fe0ec80bd2c7
  8. id:
    8f2152dacb53dfcdce68f3287db56bec
    urn:
    not reported by source
    title:
    Innstilling fra integrasjonsutvalget om framtidig organisering av energiforsyningen i BKK-området : avgitt 27. april 1990
    creators:

    1 results

    1. BKK
    year:
    1990
    publisher:
    Utvalget
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/8f2152dacb53dfcdce68f3287db56bec
  9. id:
    85438e444d11abca409f67227937b60a
    urn:
    not reported by source
    title:
    Kommunal melkeku, regional kraftfilial eller lokalt lokomotiv? : kraftselskapet BKK etter kraftliberaliseringen
    creators:

    1 results

    1. Nilsen, Yngve
    year:
    2018
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    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/85438e444d11abca409f67227937b60a
  10. id:
    e37bdeacc43fde5959ffdd87d2aab8ff
    urn:
    not reported by source
    title:
    BKK og Nexans sikret bunnrekorden
    creators:

    3 results

    1. Abelsen, Atle
    2. Sanden, Bjørn
    3. Matre, Johan
    year:
    2019
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    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/e37bdeacc43fde5959ffdd87d2aab8ff
  11. id:
    a9aa775faeb4756e0893908d63e1af88
    urn:
    not reported by source
    title:
    Stort og slagkraftig ved å bygge allianser : energibedriften BKK
    creators:

    1 results

    1. Bakken, Stein Arne
    year:
    2005
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    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/a9aa775faeb4756e0893908d63e1af88
  12. id:
    b09afef45ce5a02176752302f4daf6ec
    urn:
    not reported by source
    title:
    Bergenshalvøens kommunale kraftselskap 50 år
    creators:

    1 results

    1. BKK
    year:
    1970
    publisher:
    Selskapet
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/b09afef45ce5a02176752302f4daf6ec
  13. id:
    554527df1d63857d8e36781e24ff3fe5
    urn:
    URN:NBN:no-nb_digibok_2009022000054
    title:
    Vasskraft og annan energi
    creators:

    1 results

    1. BKK
    year:
    1997
    publisher:
    Bergenshalvøens kommunale kraftselskap ningens informasjonstjeneste
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nno
    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_2009022000054_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/554527df1d63857d8e36781e24ff3fe5
  14. id:
    3c7dfc7e8021b79ffb7e40b313e8cb4d
    urn:
    URN:NBN:no-nb_digibok_2016021108359
    title:
    Vannkraft og annen energi
    creators:

    1 results

    1. BKK
    year:
    2001
    publisher:
    BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2016021108359_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3c7dfc7e8021b79ffb7e40b313e8cb4d
  15. id:
    00735d35b088098c4b5aa93b07e88615
    urn:
    URN:NBN:no-nb_digibok_2012080808165
    title:
    Vannkraft og annen energi
    creators:

    1 results

    1. BKK
    year:
    1997
    publisher:
    Selskapet
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2012080808165_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/00735d35b088098c4b5aa93b07e88615
  16. id:
    4c235c65899035fc199118116279a34d
    urn:
    not reported by source
    title:
    Utredning om vertikal integrasjon av elforsyningen i BKK-området
    creators:
    not reported by source
    year:
    1987
    publisher:
    Bergen lysverker
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nor
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/4c235c65899035fc199118116279a34d
    date:
    1987-01-01
  17. id:
    14e0147cc82209ee1d17701347841873
    urn:
    URN:NBN:no-nb_digibok_2007122100005
    title:
    Vannkraft og annen energi
    creators:

    1 results

    1. BKK
    year:
    1994
    publisher:
    Selskapet
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2007122100005_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/14e0147cc82209ee1d17701347841873
  18. id:
    fd569117c775a22413c256d70059cd5c
    urn:
    not reported by source
    title:
    Norsk energi avdeling Bergen er 20 år : fakta om fjernvarmenettet i Bergen
    creators:
    not reported by source
    year:
    2007
    publisher:
    not reported by source
    media_types:

    1 results

    1. artikler
    languages:

    1 results

    1. nob
    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/fd569117c775a22413c256d70059cd5c
  19. id:
    085db891a148737b3b5616d726dd9402
    urn:
    not reported by source
    title:
    Vannkraft og annen energi
    creators:

    1 results

    1. BKK
    year:
    1983
    publisher:
    BKK
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/085db891a148737b3b5616d726dd9402
  20. id:
    1e2a6eec4ce1b90dffbc5a255d3e081e
    urn:
    not reported by source
    title:
    Energihåndbok
    creators:

    1 results

    1. BKK
    year:
    1985
    publisher:
    BKK ; distribuert av Bergen lysverker
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. und
    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/1e2a6eec4ce1b90dffbc5a255d3e081e
  21. id:
    8c77abaee224b4125a5aa5ab62b7ded1
    urn:
    not reported by source
    title:
    Bergenshalvøens kommunale kraftselskap 1984-1987
    creators:

    1 results

    1. BKK
    year:
    1980
    publisher:
    A/S John Grieg
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/8c77abaee224b4125a5aa5ab62b7ded1
  22. id:
    83c6c48be3c5d3f62fe835954b27da11
    urn:
    not reported by source
    title:
    Linjer : kundemagasin fra BKK
    creators:

    1 results

    1. Bergenshalvøens Kommunale Kraftselskap
    year:
    1994
    publisher:
    BKK
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nno nob
    county:
    not reported by source
    digital:
    no
    public_domain:
    no
    license:
    copyrighted
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    not reported by source
    viewer_url:
    https://www.nb.no/items/83c6c48be3c5d3f62fe835954b27da11
    date:
    1994-01-01
  23. id:
    206d5c4e2e96e548400e81bd2d4d3d67
    urn:
    URN:NBN:no-nb_digibok_2011033020023
    title:
    Fossekraften temmes : B. K. K. gjennom 30 år
    creators:

    1 results

    1. Lorentzen, Bernt
    year:
    1950
    publisher:
    John Grieg
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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_2011033020023_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/206d5c4e2e96e548400e81bd2d4d3d67
  24. id:
    08fe1af348ed5bd1170cd628861a51c3
    urn:
    not reported by source
    title:
    BKK rapport : utredning av ulike integrasjonsalternativer for energiforsyningen i BKK-området : sluttrapport
    creators:

    1 results

    1. Hartmark - IRAS
    year:
    1990
    publisher:
    Hartmark-IRAS
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/08fe1af348ed5bd1170cd628861a51c3
  25. id:
    991b98a728818fca5a61bdc3efb969bf
    urn:
    not reported by source
    title:
    Kraften fra fjellet
    creators:

    3 results

    1. Kristiansen, Bernt
    2. BKK
    3. Hatland, Gunnar
    year:
    1990
    publisher:
    Bergenshalvøens kommunale kraftselskap
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. nob
    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/991b98a728818fca5a61bdc3efb969bf
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.