Application Programming Interface (API)

We provide a RESTful API access, where all metadata of the current subcorpus can be retrieved.
The data is returned as a JSON document, where each entry contains the title, the authors, the abstract, the chosen entities, the links, the DOI, date and source as attributes. For the API, the same search parameters apply as for the web interface. Note if you want to search for a DOI you have to swap the slash symbol '/' with a underscore symbol '_'.

GET /api/documents/search/


Examples:

Retrieve all documents containing the SARS-CoV-2 spike protein from August and September:
https://preview.zbmed.de/api/documents/search/concept%3AProteinS+AND+(date%3A2020-09+OR+date%3A2020-08)


Retrieve a specific document via a DOI:
https://preview.zbmed.de/api/documents/search/doi%3A10.1101_2020.06.08.20125484


Note: this API is still under development. In case of questions, please contact us.