SHERPA   
. . . opening access to research  
spacer
RoMEO

SHERPA/RoMEO Application Programmers' Interface

Introduction

The SHERPA/RoMEO Application Programmers' Interface (API) is a machine-to-machine interface that lets programmers access SHERPA/RoMEO data from their applications. For instance, you could use the API to incorporate an automatic look-up of a journal or publisher into your repository's deposition process.

We encourage you to play with the API and explore the potential for including it in your own repository software. Please send any suggestions and feedback either on the API itself or on the documentation to Peter Millington (romeo@sherpa.ac.uk).

Versions and Documentation

The latest version of the SHERPA/RoMEO API is Version 2.4.2. We recommend that you work with this version, because it incorporates most of the improvements from the upgrade to interactive RoMEO, released in October 2009. It also generates XML output that can be validated against its DTD.

Full technical details are available in the following documentation download:

Earlier 2.* versions of SHERPA/RoMEO API will remain operational for the foreseeable future.

Note: The earliest 1.* prototype versions of the API - e.g. V.1.1 - will be switched off at the end of 2009.

Any applications using these prototypes should upgrade at the earliest opportunity. In most cases, only the root API URL needs to be changed in the application.

Recent Changes

The main changes in the latest version are:

A full list of changes is given in Appendix D of the documentation.

How to use the API

The basic principle is that an application makes an HTTP request to the API, which returns an XML stream with the search results. The query specification is given in the URL's parameters. The main searches that are available are for journal title, ISSN and publisher's name, although there are also some special searches, such as for RoMEO colours. View the following links in your browser to see examples (which use Version 2.4).

Searching for Journals by Title using the API

Although it would be nice to be able to automate fully the look-up of journal publishers using the API, this may often not be possible, because a query may return zero or many results. Even if a single journal is found, it is advisable to confirm that it is indeed the correct one. We therefore recommend the following general approach to handling journal queries:

  1. Search by journal title, and display the title(s) found
  2. Get the end-user to confirm/select the correct title - even when only a single title is found.
  3. Retrieve and display the publisher's details (if any)

Updated: 29-Oct-2009

© 2006, University of Nottingham Contact us