{"id":"nasjonalbiblioteket","name":"National Library of Norway","description":"Search books, newspapers, journals, photos, maps, audiovisual media and digitized full text.","documentation":"https://api.nb.no/","operations":[{"name":"search","description":"Search the National Library's catalog - books, newspapers, journals,\nphotos, maps, music, manuscripts, radio/TV and more, both physical and\ndigitized. Digitized text (OCR) is matched too by default, so a query\ncan surface newspaper or book pages that mention a term even when it's\nnot in the title.","parameters":[{"name":"q","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"Free-text query. Supports field-restricted terms too, e.g. \"subject:fiske year:1970\" combined with free text."},{"name":"media_type","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Restrict to one type, e.g. aviser (newspapers), b\u00f8ker (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."},{"name":"language","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Language filter - values are inconsistent in the catalog (mixes codes like \"nob\" and labels like \"Norsk bokm\u00e5l\"); check get_aggregations(q=q, group_by=\"languages\") first if unsure."},{"name":"county","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Norwegian county name, e.g. \"Troms\", \"Oslo\"."},{"name":"year_from","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"display_type":"integer","required":false,"default":null,"description":"Restrict to items published/issued in this year range (inclusive)."},{"name":"year_to","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"display_type":"integer","required":false,"default":null,"description":"Restrict to items published/issued in this year range (inclusive)."},{"name":"digital_only","type":"boolean","schema":{"type":"boolean"},"display_type":"yes/no","required":false,"default":false,"description":"Only items that have been digitized."},{"name":"sort","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"One of date, title, otherid, firstDigitalContentTime, optionally suffixed \",desc\" (default: relevance)."},{"name":"page","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":0,"description":"Zero-based page index."},{"name":"size","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":10,"description":"Results per page, 1 to 100 (default 10)."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"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","output_fields":["total","page","size","items","items[].id","items[].urn","items[].title","items[].creators","items[].year","items[].publisher","items[].media_types","items[].languages","items[].county","items[].digital","items[].public_domain","items[].license","items[].viewability","items[].access_allowed_from","items[].thumbnail","items[].viewer_url","items[].snippets","items[].snippets[].page","items[].snippets[].text"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["items[].id"],"name":["items[].title"]},"description_language":"en","documentation":"Search the National Library's catalog - books, newspapers, journals,\nphotos, maps, music, manuscripts, radio/TV and more, both physical and\ndigitized. Digitized text (OCR) is matched too by default, so a query\ncan surface newspaper or book pages that mention a term even when it's\nnot in the title.\n\nArgs:\n    q: Free-text query. Supports field-restricted terms too, e.g.\n        \"subject:fiske year:1970\" combined with free text.\n    media_type: Restrict to one type, e.g. aviser (newspapers), b\u00f8ker\n        (books), tidsskrift (journals), bilder (photos), musikk, kart\n        (maps), film, plakater (posters), noter (sheet music), radio,\n        fjernsyn. See get_aggregations(q=\"*\", group_by=\"mediatype\") for\n        the full list with counts.\n    language: Language filter - values are inconsistent in the catalog\n        (mixes codes like \"nob\" and labels like \"Norsk bokm\u00e5l\"); check\n        get_aggregations(q=q, group_by=\"languages\") first if unsure.\n    county: Norwegian county name, e.g. \"Troms\", \"Oslo\".\n    year_from, year_to: Restrict to items published/issued in this year\n        range (inclusive).\n    digital_only: Only items that have been digitized.\n    sort: One of date, title, otherid, firstDigitalContentTime,\n        optionally suffixed \",desc\" (default: relevance).\n    page: Zero-based page index.\n    size: Results per page, 1 to 100 (default 10).\n\nWhen media_type is given, results also include up to 3 OCR snippets\n(\"snippets\" field: page number + text with the match wrapped in <em>)\nso you can see the term in its printed context without opening the item.\n\nReturns {total, page, size, items: [...]}, each item summarised with\ntitle, creator(s), year, media type, access/license info, a thumbnail\nand a viewer_url to view it on nb.no.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/search/","wiki_get_url_template":"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","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search","response_schema":{"type":"object","properties":{"total":{"type":["integer","null"]},"page":{"type":["integer","null"]},"size":{"type":["integer","null"]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["library_item"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search","get_url_template":"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"},{"name":"get_item","description":"Get full catalog metadata for one item.","parameters":[{"name":"id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"The sesamId or URN from search()/get_related_items(), e.g. \"7179a36971b19c313559f215b14e295b\" or \"URN:NBN:no-nb_digibok_2022011348552\"."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_item?id={id}&limit=25&offset=0","output_fields":["id","urn","title","creators","year","publisher","media_types","languages","county","digital","public_domain","license","viewability","access_allowed_from","thumbnail","viewer_url","snippets","snippets[].page","snippets[].text","subjects","isbn","issn","page_count"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["id"],"name":["title"]},"description_language":"en","documentation":"Get full catalog metadata for one item.\n\nArgs:\n    id: The sesamId or URN from search()/get_related_items(), e.g.\n        \"7179a36971b19c313559f215b14e295b\" or\n        \"URN:NBN:no-nb_digibok_2022011348552\".\n\nReturns the same fields as search() results, plus subjects, ISBN/ISSN\nand page count where present.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_item/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_item/?id={id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_item","response_schema":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"subjects":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"isbn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"issn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"page_count":{"type":["integer","null"]}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["library_item"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_item/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_item","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_item?id={id}&limit=25&offset=0"},{"name":"get_related_items","description":"Get items related to one catalog item - e.g. the newspaper/journal a\ndigitized article appeared in (hosts), articles/pages it contains\n(constituents), the previous/next issue in a run, or the series it\nbelongs to. Most items (e.g. standalone books) have no recorded\nrelations - an empty result is normal, not an error.","parameters":[{"name":"id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"The sesamId or URN from search()/get_item()."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_related_items?id={id}&limit=25&offset=0","output_fields":["hosts","hosts[].id","hosts[].urn","hosts[].title","hosts[].creators","hosts[].year","hosts[].publisher","hosts[].media_types","hosts[].languages","hosts[].county","hosts[].digital","hosts[].public_domain","hosts[].license","hosts[].viewability","hosts[].access_allowed_from","hosts[].thumbnail","hosts[].viewer_url","hosts[].snippets","hosts[].snippets[].page","hosts[].snippets[].text","constituents","constituents[].id","constituents[].urn","constituents[].title","constituents[].creators","constituents[].year","constituents[].publisher","constituents[].media_types","constituents[].languages","constituents[].county"],"output_fields_truncated":true,"canonical_field_aliases":{"identifier":["hosts[].id","constituents[].id","preceding.id","succeeding.id","series.id"],"name":["hosts[].title","constituents[].title","preceding.title","succeeding.title","series.title"]},"description_language":"en","documentation":"Get items related to one catalog item - e.g. the newspaper/journal a\ndigitized article appeared in (hosts), articles/pages it contains\n(constituents), the previous/next issue in a run, or the series it\nbelongs to. Most items (e.g. standalone books) have no recorded\nrelations - an empty result is normal, not an error.\n\nArgs:\n    id: The sesamId or URN from search()/get_item().\n\nReturns {hosts, constituents, preceding, succeeding, series}, each a\nsummarised item (or list of them) in the same shape as search()\nresults; keys with no data are omitted.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_related_items/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_related_items/?id={id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_related_items","response_schema":{"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"constituents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"preceding":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"succeeding":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"series":{"type":"object","properties":{"id":{"type":"boolean"},"urn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"title":{"type":["string","null"]},"creators":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"year":{"type":["integer","null"]},"publisher":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"media_types":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"languages":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"county":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"digital":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"public_domain":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"license":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewability":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"access_allowed_from":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"thumbnail":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"viewer_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"type":"array","items":{"type":"object","properties":{"page":{"type":["integer","null"]},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["library_item"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_related_items/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_related_items","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_related_items?id={id}&limit=25&offset=0"},{"name":"search_within_item","description":"Full-text search inside the OCR'd pages of one specific digitized item\n(a book, one newspaper issue, a journal issue, etc.), returning which\npages contain the term. Use this to jump straight to relevant pages of\na long item instead of reading it page by page.","parameters":[{"name":"id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"The sesamId or URN from search()/get_item(). Only works for digitized items (accessInfo.digital=true from search()/get_item())."},{"name":"q","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"The word or phrase to find."},{"name":"max_pages","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":30,"description":"Max distinct pages to return, 1 to 200 (default 30)."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search_within_item?id={id}&q={q}&max_pages=30&limit=25&offset=0","output_fields":["id","query","total_matches","pages_truncated","pages"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["id"]},"description_language":"en","documentation":"Full-text search inside the OCR'd pages of one specific digitized item\n(a book, one newspaper issue, a journal issue, etc.), returning which\npages contain the term. Use this to jump straight to relevant pages of\na long item instead of reading it page by page.\n\nArgs:\n    id: The sesamId or URN from search()/get_item(). Only works for\n        digitized items (accessInfo.digital=true from search()/get_item()).\n    q: The word or phrase to find.\n    max_pages: Max distinct pages to return, 1 to 200 (default 30).\n\nReturns {id, query, total_matches, pages_truncated, pages: [{page_id,\nmatch_count, sample_text, thumbnail}]}, one entry per page containing at\nleast one match, ordered by first occurrence; pages_truncated is true if\nmore matching pages existed than max_pages. Matches are word-level with no\nsurrounding sentence - for sentence-level context, use search()'s\n`snippets` field, which searches across the whole corpus rather than\none known item.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/search_within_item/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/search_within_item/?id={id}&q={q}&max_pages=30&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search_within_item","response_schema":{"type":"object","properties":{"id":{"type":["string","null"]},"query":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total_matches":{"type":"integer"},"pages_truncated":{"type":"boolean"},"pages":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["library_item"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search_within_item/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search_within_item","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/search_within_item?id={id}&q={q}&max_pages=30&limit=25&offset=0"},{"name":"get_aggregations","description":"Get facet counts for a query - e.g. how many matching items exist per\nyear, county, media type or language. Useful for a quick overview\nbefore drilling into search() results, or for questions like \"how many\nnewspaper items mention X, broken down by year\".","parameters":[{"name":"q","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"Same query syntax as search(). Use \"*\" to aggregate over the whole catalog."},{"name":"group_by","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"One of bibliography, county, municipality, ddc1, ddc2, ddc3, genre, languages, literaryform, mediatype, relationType, series, set, targetaudience, year."},{"name":"media_type","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Optional mediatype filter, applied before aggregating."},{"name":"top_n","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":20,"description":"Max buckets to return, 1 to 100 (default 20)."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_aggregations?q={q}&group_by={group_by}&media_type={media_type}&top_n=20&limit=25&offset=0","output_fields":["field","buckets","buckets[].key","buckets[].count"],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get facet counts for a query - e.g. how many matching items exist per\nyear, county, media type or language. Useful for a quick overview\nbefore drilling into search() results, or for questions like \"how many\nnewspaper items mention X, broken down by year\".\n\nArgs:\n    q: Same query syntax as search(). Use \"*\" to aggregate over the\n        whole catalog.\n    group_by: One of bibliography, county, municipality, ddc1, ddc2,\n        ddc3, genre, languages, literaryform, mediatype, relationType,\n        series, set, targetaudience, year.\n    media_type: Optional mediatype filter, applied before aggregating.\n    top_n: Max buckets to return, 1 to 100 (default 20).\n\nReturns {field, buckets: [{key, count}]}, sorted by count descending.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_aggregations/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/get_aggregations/?q={q}&group_by={group_by}&media_type={media_type}&top_n=20&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_aggregations","response_schema":{"type":"object","properties":{"field":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"count":{"type":["integer","null"]}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["library_item"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_aggregations/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_aggregations","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/get_aggregations?q={q}&group_by={group_by}&media_type={media_type}&top_n=20&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket/{operation}/schema","related_sources":[],"_meta":{"retrieved_at":"2026-08-02T14:58:52Z","language":"en","content_languages":["en"],"sources":[{"id":"nasjonalbiblioteket","name":"National Library of Norway","description":"Search books, newspapers, journals, photos, maps, audiovisual media and digitized full text.","documentation":"https://api.nb.no/","cache_ttl_seconds":300}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket","names":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/nasjonalbiblioteket","wiki":"https://allemannsdata.com/wiki/kilder/nasjonalbiblioteket/"}}
