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-19T01:46:52Z in 0.214 seconds.

total:
18
page:
0
size:
25
items:

18 results

  1. id:
    158bcc44e0c389fd893ed7f9f834f682
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20170828_26_197_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2017
    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_20170828_26_197_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/158bcc44e0c389fd893ed7f9f834f682
    date:
    2017-08-28
  2. id:
    efd28f4383148d18978aa9b392c034c7
    urn:
    URN:NBN:no-nb_digitidsskrift_2024022280046_007
    title:
    It bransjen (Oslo. 2015-2018) : magasinet for Norges dataforhandlere. 2017 Nr. 3
    creators:
    not reported by source
    year:
    2017
    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_2024022280046_007_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/efd28f4383148d18978aa9b392c034c7
  3. id:
    3cbaed07f706bdde7e8fb7dda93fa969
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20120910_21_210_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2012
    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_20120910_21_210_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/3cbaed07f706bdde7e8fb7dda93fa969
    date:
    2012-09-10
  4. id:
    ec467f50c8bd99653930e8eab3653c67
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20160801_25_175_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2016
    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_20160801_25_175_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/ec467f50c8bd99653930e8eab3653c67
    date:
    2016-08-01
  5. id:
    e3b44edab849f0c4a41b17bbb26216c4
    urn:
    URN:NBN:no-nb_digitidsskrift_2024020980016_003
    title:
    Elektronikkbransjen. 2020 Vol. 84 Nr. 3
    creators:

    3 results

    1. Elektro- og elektronikkbransjen, Stiftelsen
    2. Elektronikkbransjen, Stiftelsen
    3. Elektronikkforbundet
    year:
    2020
    publisher:
    Stiftelsen Elektronikkbransjen
    media_types:

    1 results

    1. tidsskrift
    languages:

    1 results

    1. nob
    county:
    not reported by source
    digital:
    yes
    public_domain:
    no
    license:
    ccbyncnd
    viewability:
    ALL
    access_allowed_from:
    EVERYWHERE
    thumbnail:
    https://www.nb.no/services/image/resolver/URN:NBN:no-nb_digitidsskrift_2024020980016_003_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/e3b44edab849f0c4a41b17bbb26216c4
  6. id:
    8a4280a1f65d2989beb305d09f1d9edb
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20130916_22_213_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2013
    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_20130916_22_213_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8a4280a1f65d2989beb305d09f1d9edb
    date:
    2013-09-16
  7. id:
    415fb150fb9c4e025fa2d126b5b955f0
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20200701_29_150_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2020
    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_20200701_29_150_1-1_001_hovedavis/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/415fb150fb9c4e025fa2d126b5b955f0
    date:
    2020-07-01
  8. id:
    edbf5987abf4fb3bed7ab63df58c636d
    urn:
    URN:NBN:no-nb_digitidsskrift_2025052780078_013
    title:
    Computerworld (Oslo : trykt utg.). 2014 Vol. 32 Nr. 48
    creators:
    not reported by source
    year:
    2014
    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_2025052780078_013_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/edbf5987abf4fb3bed7ab63df58c636d
  9. id:
    4de9086df67e8613d6e0c32837e8f50e
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20141006_23_230_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2014
    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_20141006_23_230_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4de9086df67e8613d6e0c32837e8f50e
    date:
    2014-10-06
  10. id:
    26f28419f98648c7612789150600a760
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20171009_26_233_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2017
    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_20171009_26_233_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/26f28419f98648c7612789150600a760
    date:
    2017-10-09
  11. id:
    4856e290a45ddb31f99f43049445142b
    urn:
    URN:NBN:no-nb_digitidsskrift_2025082280019_002
    title:
    Fagbladet CreditInform. 2011 Vol. 22 Nr. 2
    creators:

    2 results

    1. Creditinform
    2. Experian
    year:
    2011
    publisher:
    Experian
    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_2025082280019_002_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/4856e290a45ddb31f99f43049445142b
  12. id:
    1bf19bae6239d07cf1c9395ed59b3096
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20160704_25_151_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2016
    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_20160704_25_151_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/1bf19bae6239d07cf1c9395ed59b3096
    date:
    2016-07-04
  13. id:
    b2080e5f777b6a5e3a2b0ef9375fe7df
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20161003_25_229_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2016
    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_20161003_25_229_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/b2080e5f777b6a5e3a2b0ef9375fe7df
    date:
    2016-10-03
  14. id:
    46c39f0c144e3458b466a03133d5d0be
    urn:
    URN:NBN:no-nb_digitidsskrift_2026010680009_003
    title:
    Kapital : tidsskrift for næringsliv, børs og økonomisk politikk. 2015 Vol. 45 Nr. 21
    creators:
    not reported by source
    year:
    2015
    publisher:
    Hegnar 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_2026010680009_003_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/46c39f0c144e3458b466a03133d5d0be
  15. id:
    f92b0bfa671f27d5dcc3af990a653c32
    urn:
    URN:NBN:no-nb_digavis_finansavisen_null_null_20151005_24_230_1
    title:
    Finansavisen
    creators:
    not reported by source
    year:
    2015
    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_20151005_24_230_1-1_001_null/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/f92b0bfa671f27d5dcc3af990a653c32
    date:
    2015-10-05
  16. id:
    0e45a9375b21213c376c873b3c00dd88
    urn:
    URN:NBN:no-nb_digitidsskrift_2025121280043_004
    title:
    Kapital : tidsskrift for næringsliv, børs og økonomisk politikk. 2017 Vol. 47 Nr. 16
    creators:
    not reported by source
    year:
    2017
    publisher:
    Hegnar 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_2025121280043_004_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/0e45a9375b21213c376c873b3c00dd88
  17. id:
    8b1f139e3d9f49721c1f3b40658b0edb
    urn:
    URN:NBN:no-nb_digitidsskrift_2025082280017_006
    title:
    Fagbladet CreditInform. 2013 Vol. 24 Nr. 6
    creators:

    2 results

    1. Creditinform
    2. Experian
    year:
    2013
    publisher:
    Experian
    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_2025082280017_006_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/8b1f139e3d9f49721c1f3b40658b0edb
  18. id:
    508990a877d0e2ad97501e1b47e2e9a1
    urn:
    URN:NBN:no-nb_digitidsskrift_2025082280017_007
    title:
    Fagbladet CreditInform. 2013 Vol. 24 Nr. 7
    creators:

    2 results

    1. Creditinform
    2. Experian
    year:
    2013
    publisher:
    Experian
    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_2025082280017_007_0001/full/0,128/0/native.jpg
    viewer_url:
    https://www.nb.no/items/508990a877d0e2ad97501e1b47e2e9a1
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.