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: string, 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: string. One of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance).

Result

Source: National Library of Norway. Retrieved 2026-11-03T07:05:50Z in 0.240 seconds.

total:
20
page:
0
size:
25
items:

20 results

  1. id:
    538c96698792e9d4ee963aff85b31cf1
    urn:
    URN:NBN:no-nb_plikttidsskrift_1ef18c29-d62e-4211-8f30-aa7e2484f6cd
    title:
    Industriparknytt : informasjonsavis for Mo industripark. 2023 Nr. 2
    creators:

    1 results

    1. Mo industripark
    year:
    2023
    publisher:
    Mo industripark as
    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_1ef18c29-d62e-4211-8f30-aa7e2484f6cd_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/538c96698792e9d4ee963aff85b31cf1
  2. id:
    5646891a76ed23bef187b2873856e6d7
    urn:
    URN:NBN:no-nb_digitidsskrift_2023060883025_001
    title:
    Industriparknytt : informasjonsavis for Mo industripark. 2023 Nr. 2
    creators:

    1 results

    1. Mo industripark
    year:
    2023
    publisher:
    Mo industripark as
    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_2023060883025_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5646891a76ed23bef187b2873856e6d7
  3. id:
    61366d400dbbe0b340c58edc5a51da23
    urn:
    URN:NBN:no-nb_digitidsskrift_2023072483146_001
    title:
    Mono : en kanal for næringslivet. 2023 Nr. 2
    creators:

    2 results

    1. Rana næringsforening
    2. Ranaregionen næringsforening
    year:
    2023
    publisher:
    Rana næringsforening
    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_2023072483146_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/61366d400dbbe0b340c58edc5a51da23
  4. id:
    09e7b0541eb5a06daf6f1eef13cbc1fe
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20230814_32_186_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20230814
    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_20230814_32_186_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/09e7b0541eb5a06daf6f1eef13cbc1fe
  5. id:
    af7b54b289a4e184211673326f922dc4
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210719_30_163_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20210719
    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
  6. id:
    2e419a6a587529b6fb946d800322c763
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20220419_31_89_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20220419
    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_20220419_31_89_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/2e419a6a587529b6fb946d800322c763
  7. id:
    b83763d268eb05ff790f71d1251f94ff
    urn:
    URN:NBN:no-nb_digavis_ranablad_null_null_20230216_121_27_1
    title:
    Rana Blad
    creators:
    not reported by source
    year:
    20230216
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Nordland
    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_ranablad_null_null_20230216_121_27_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b83763d268eb05ff790f71d1251f94ff
  8. id:
    c8f6cc77bf1f43ae2a3ceeae8ffbda87
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20161017_25_241_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20161017
    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_20161017_25_241_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/c8f6cc77bf1f43ae2a3ceeae8ffbda87
  9. id:
    8a6006a0dea68888b048c1ca39b1a7bf
    urn:
    URN:NBN:no-nb_digitidsskrift_2025070380046_002
    title:
    Computerworld (Oslo : trykt utg.). 2020 Nr. 2
    creators:
    not reported by source
    year:
    2020
    publisher:
    Computer Communications
    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_2025070380046_002_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8a6006a0dea68888b048c1ca39b1a7bf
  10. id:
    92ed3dfa92eed342b518186464422141
    urn:
    URN:NBN:no-nb_digavis_osogfusaposten_null_null_20191112_33_84_1
    title:
    Os & Fusaposten
    creators:
    not reported by source
    year:
    20191112
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Vestland
    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_osogfusaposten_null_null_20191112_33_84_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/92ed3dfa92eed342b518186464422141
  11. id:
    d42b89c24bac38f13c958cb5d6cfa907
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20220124_31_19_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20220124
    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_20220124_31_19_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/d42b89c24bac38f13c958cb5d6cfa907
  12. id:
    0e419f315c43854d0986b990b6446205
    urn:
    URN:NBN:no-nb_digavis_ranablad_null_null_20230105_121_3_1
    title:
    Rana Blad
    creators:
    not reported by source
    year:
    20230105
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Nordland
    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_ranablad_null_null_20230105_121_3_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0e419f315c43854d0986b990b6446205
  13. id:
    a3d4b979f9292167b837e6daf52071fa
    urn:
    URN:NBN:no-nb_digavis_sorvarangeravis_null_null_20250605_75_42_1
    title:
    Sør-Varanger Avis
    creators:
    not reported by source
    year:
    20250605
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Finnmark
    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_sorvarangeravis_null_null_20250605_75_42_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/a3d4b979f9292167b837e6daf52071fa
  14. id:
    b7786ea0dabf01613dd8d8a6a756cef6
    urn:
    URN:NBN:no-nb_digitidsskrift_2022110783168_001
    title:
    Computerworld (Oslo : trykt utg.). 2022 Vol. 40 Nr. 9
    creators:
    not reported by source
    year:
    2022
    publisher:
    Computer Communications
    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_2022110783168_001_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b7786ea0dabf01613dd8d8a6a756cef6
  15. id:
    6876014e6be06494a52118843070b021
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20190923_28_220_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20190923
    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_20190923_28_220_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/6876014e6be06494a52118843070b021
  16. id:
    4ca6bc48f244a4ff6873b9d823287104
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20210927_30_223_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20210927
    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_20210927_30_223_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4ca6bc48f244a4ff6873b9d823287104
  17. id:
    3788048d3c1ca61b77bd7c3ed38ce16b
    urn:
    URN:NBN:no-nb_digavis_sognavis_null_null_20230817_0_66_1
    title:
    Sogn Avis
    creators:
    not reported by source
    year:
    20230817
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Vestland
    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_sognavis_null_null_20230817_0_66_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3788048d3c1ca61b77bd7c3ed38ce16b
  18. id:
    9855a4fade5ec733306d0380be64ef62
    urn:
    URN:NBN:no-nb_pliktmonografi_000041183
    title:
    Brand 2.0 : marknadsføring og leiing 2
    creators:

    3 results

    1. Løvaas, Siri
    2. Syltevig, Arne Rusten
    3. Vinje, Ruth-Wenche Hebnes
    year:
    2025
    publisher:
    Fagbokforlaget
    media_types:

    1 results

    1. bøker
    languages:

    1 results

    1. 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_pliktmonografi_000041183_C1/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/9855a4fade5ec733306d0380be64ef62
  19. id:
    e885f0da4da46be388fc72905bced57b
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20180924_27_220_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    20180924
    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_20180924_27_220_1-01_001_seksjonsnavn/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e885f0da4da46be388fc72905bced57b
  20. id:
    5fc2feea03e64ccfd5a7bfd014dd6a90
    urn:
    URN:NBN:no-nb_digavis_ranablad_null_null_20220603_120_84_1
    title:
    Rana Blad
    creators:
    not reported by source
    year:
    20220603
    publisher:
    not reported by source
    media_types:

    1 results

    1. aviser
    languages:

    1 results

    1. Norsk bokmål
    county:
    Nordland
    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_ranablad_null_null_20220603_120_84_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/5fc2feea03e64ccfd5a7bfd014dd6a90
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.