DnbLab: Interfaces
Photo: Thomas Meyer / OSTKREUZ
Our data and free digital objects can be queried via three different interfaces.
OAI interfaces
Information about the OAI interface offered as part of our metadata services for querying metadata and the sets that are thereby made accessible (German National Bibliography, authority data and German Union Catalogue of Serials) can be found at https://www.dnb.de/EN/oai.
Example query for finding all dissertations freely available online in the subject category “Social Sciences, Sociology, Anthropology” dating from a specific period:
Our OAI2 interface allows users to search for metadata and links to image files of digitised works in the public domain without registering beforehand.
Example search for all freely accessible digitised portraits of book dealers published since a specific date:
Also see: Jupyter notebook tutorial How can I access data through the OAI interface?
SRU interface
SRU (Search/Retrieve via URL) enables you to search the German National Library’s data using URLs or a computer program (e.g. the Python Standard Library) and compile your own data sets. As in the catalogue, queries are formulated using the retrieval language Contextual Query Language (CQL) and attached to the URL as parameters.
Example query to find all titles freely accessible online with the keyword “Klimawandel” (“climate change”) (tit=klimawandel and location=onlinefree):
https://services.dnb.de/sru/dnb?version=1.1&operation=searchRetrieve&query=tit%3Dklimawandel*+and
+location%3Donlinefree&recordSchema=MARC21-xml
The results can be delivered by XML in various bibliographic formats. You will find further information about SRU functions, search attributes, available catalogues and formats at www.dnb.de/EN/sru along with sample queries.
Also see: Jupyter notebook tutorial How can I access data through the OAI interface?
Subscription terms and terms of use
The metadata and online interfaces are provided with no guarantee that they will be continuous, punctual, error-free or complete or that they do not violate third-party rights (e.g. personal rights and copyright).
Last changes:
16.02.2022
Short-URL:
https://www.dnb.de/librarylabapi
Contact:
lab@dnb.de