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
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.
| Parameter | Requirement | JSON type | Description |
|---|---|---|---|
q | required | string | Free-text query. Supports field-restricted terms too, e.g. "subject:fiske year:1970" combined with free text. |
media_type | optional | union | 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. |
language | optional | union | 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. |
county | optional | union | Norwegian county name, e.g. "Troms", "Oslo". |
year_from | optional | union | Restrict to items published/issued in this year range (inclusive). |
year_to | optional | union | Restrict to items published/issued in this year range (inclusive). |
digital_only | optional | boolean | Only items that have been digitized. |
sort | optional | union | One of date, title, otherid, firstDigitalContentTime, optionally suffixed ",desc" (default: relevance). |
page | optional | integer | Zero-based page index. |
size | optional | integer | Results per page, 1 to 100 (default 10). |
limit | optional | integer | Gateway page size; default 25, maximum 100. |
offset | optional | integer | Number 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": "...", "feedback": "..."}
}
Form for manual use
The form is a fallback for people and browser agents that cannot open the GET URL directly.
Result
- total:
- 59502
- page:
- 0
- size:
- 10
- items:
10 results
- id:
- 780eb11c488cfb74b0d4654c970cc364
- urn:
- URN:NBN:no-nb_digibok_2021082748517
- title:
- Elvis at the Mississippi-Alabama Fair and Dairy Show : Tupelo - September 26, 1956
- creators:
4 results
- Lorentzen, Erik
- Brandon, Ron
- Moulder, Bob
- KJ Consulting
- year:
- 2016
- publisher:
- KJ Consulting
- media_types:
1 results
- bøker
- languages:
1 results
- 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_digibok_2021082748517_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/780eb11c488cfb74b0d4654c970cc364
- id:
- e02c90cec190ccc2cc024870aad83428
- urn:
- URN:NBN:no-nb_digibok_2014090306112
- title:
- Fair game : a survey of the violence experienced by women working as prostitutes
- creators:
3 results
- Bjørndahl, Ulla Edith
- Norli, Bjørg
- Pro sentret
- year:
- 2008
- publisher:
- Pro sentret
- media_types:
1 results
- bøker
- languages:
1 results
- 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_digibok_2014090306112_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/e02c90cec190ccc2cc024870aad83428
- id:
- 40dcd202e1ec1ccf45ae54b002dd610f
- urn:
- URN:NBN:no-nb_digibok_2017062207071
- title:
- An Introduction to a world of women's books
- creators:
1 results
- International Feminist Book Fair
- year:
- 1986
- publisher:
- Second Feminist Book Fair
- media_types:
1 results
- bøker
- languages:
1 results
- 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_2017062207071_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/40dcd202e1ec1ccf45ae54b002dd610f
- id:
- fada56f52e5ec318b384e22e36d6cf85
- urn:
- URN:NBN:no-nb_digibok_2017052307228
- title:
- Catalogue of non-fiction : written by Norwegian women : 1983-1986
- creators:
1 results
- International Feminist Book Fair
- year:
- 1986
- publisher:
- Second Feminist Book Fair
- media_types:
1 results
- bøker
- languages:
1 results
- 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_2017052307228_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/fada56f52e5ec318b384e22e36d6cf85
- id:
- b67ba9b546ed366e64e5899513921280
- urn:
- URN:NBN:no-nb_digibok_2015021206048
- title:
- Skjønnlitteratur katalogen = : Catalogue of fiction
- creators:
1 results
- International Feminist Book Fair
- year:
- 1986
- publisher:
- Second Feminist Book Fair
- media_types:
1 results
- bøker
- languages:
1 results
- 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_2015021206048_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/b67ba9b546ed366e64e5899513921280
- id:
- ed8b2f2250040daa89f14d15e86998fc
- urn:
- URN:NBN:no-nb_pliktmonografi_000012330
- title:
- Urbânia 6 : public as Mutual
- creators:
8 results
- Kunsch, Graziela
- Durante, Milena
- Guimarães, Daniel
- Lafuente, Pablo
- Bennett, Dominique Makins
- Ayer, Mauricio
- Mahfuz, Roberta
- Adams, Gavin
- year:
- 2021
- publisher:
- Oslobiennalen
- media_types:
1 results
- bøker
- languages:
1 results
- 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_000012330_0001/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/ed8b2f2250040daa89f14d15e86998fc
- id:
- 22bb91dec3529bb684944f3c40fa300b
- urn:
- URN:NBN:no-nb_pliktmonografi_000034506
- title:
- Fair pathways to net zero healthcare
- creators:
1 results
- Bhopal, Anand
- year:
- 2024
- publisher:
- University of Bergen
- media_types:
1 results
- bøker
- languages:
1 results
- 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_000034506_0001/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/22bb91dec3529bb684944f3c40fa300b
- id:
- 503273fe201c7460f7487c7114af5990
- urn:
- URN:NBN:no-nb_digibok_2025013148013
- title:
- Maximin shares in structured fair allocation
- creators:
3 results
- Hummel, Halvard
- Norges teknisk-naturvitenskapelige universitet
- Norges teknisk-naturvitenskapelige universitet Institutt for datateknologi og informatikk
- year:
- 2024
- publisher:
- Norwegian University of Science and Technology, Faculty of Information Technology and Electrical Engineering, Department of Computer Science
- media_types:
1 results
- bøker
- languages:
1 results
- 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_digibok_2025013148013_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/503273fe201c7460f7487c7114af5990
- id:
- ff53b3dd52638906675ff02f936cae96
- urn:
- URN:NBN:no-nb_digibok_2016042908041
- title:
- Construction of fair curves and surfaces
- creators:
1 results
- Westgaard, Geir
- year:
- 2000
- publisher:
- Unipub forl.
- media_types:
1 results
- bøker
- languages:
1 results
- 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_2016042908041_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/ff53b3dd52638906675ff02f936cae96
- id:
- 4d8b9644201aa6458fba753667c0c452
- urn:
- URN:NBN:no-nb_digibok_2011091606005
- title:
- Med livbåt i hundre : en fortelling om Norsafe AS, tidligere Jørgensen & Vik AS : 1903-2003
- creators:
2 results
- Eikeland, Olav
- Norsafe AS
- year:
- 2003
- publisher:
- [Norsafe]
- media_types:
1 results
- bøker
- languages:
3 results
- eng
- nob
- mul
- county:
- Agder
- 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_2011091606005_C1/full/0,128/0/native.jpg
- viewer_url:
- https://www.nb.no/items/4d8b9644201aa6458fba753667c0c452
- limit:
- 25
- offset:
- 0
- returned:
- 10
- has_more_results:
- yes
- truncated:
- yes
- next_offset:
- 10
Will you use the result in generated code?
Is data missing or incorrect? Send feedback about this result.
Continue exploring
- Back to National Library of Norway
- All sources in Knowledge, nature and cultural heritage
- Search for National Library of Norway in the wiki
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
- Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
- Check types, units, limits and ID formats in the parameter table.
- 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.
AI agent? Read the complete navigation and programming guide.