API for structured metadata exchange
The National Library is exposing structured metadata in the collective catalogue of the bibnet.lu library network using the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH).
BnL’s server endpoint
The BnL is exposing several sets through its OAI-PMH server, two of them being described in detail below.
The address of the OAI server is:
The BNL set exposes all the bibliographic records and their associated items belonging to the National Library of Luxembourg, including the media library. The metadata is available in 2 formats: MARC21 and Dublin Core.
To list records of the BNL set in XML MARC21 format, send a GET request to:
To query this set of data, add the following query string: set=BNL
Used in the Integrated Library System of the bibnet.lu network.
To use this format, set the query parameter: metadataPrefix=marc21
Format: Dublin Core
A small set of vocabulary terms that can be used to describe digital resources, as well as physical resources and objects.
To use this format, set the query parameter: metadataPrefix=oai_dc
The OAI-PMH server supports pagination through a so-called resumption token that is available at the end of the ListRecords element. With this token, you can query the next page as in the following example:
https://catalog.bibnet.lu/OAI?verb=ListRecords&resumptionToken=[[RESUMPTION TOKEN VALUE]]
Note that you should remove the query parameters “metadataPrefix” and “set”.
The OAI-PMH server provides most data in MARC21 or Dublin Core format. Below, you can find a few links to the official specifications.