wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
3 stars 0 forks source link

catalogue-api

Build status Deploy stage Deploy prod

The Catalogue API provides a unified, consistent interface for working with our museum and library collections. It combines our different source catalogues and presents them through a single set of APIs.

Left: a collection of icons representing a database, folder, scroll, labelled "Source catalogues". Right: a green circle labelled "Catalogue API". There's an arrow flowing from left to right.

Overview

We have two services for searching the museum and library collections. These APIs are freely available, and allow anybody to use our data.

Both of these services read the data populated by the catalogue pipeline.

We also have two services for dealing with items in the library stores. These APIs are used on the Wellcome Collection website, but they require authentication and aren't publicly available:

See notes on the requesting flow for more information.

Usage

Anybody can use the search API or the snapshots. Both are freely accessible over HTTP, with no authentication or sign-up required.

For example, you can get a list of works:

curl "https://api.wellcomecollection.org/catalogue/v2/works"

Or you could search for particular words:

curl "https://api.wellcomecollection.org/catalogue/v2/works?query=cat"

Or you could search for works from a particular period:

curl "https://api.wellcomecollection.org/catalogue/v2/works?production.dates.from=1900-01-01&production.dates.to=1999-12-31"

Our developer documentation explains how to use the search API in more detail, and where to download our catalogue datasets.

The items and requests APIs are only for use by other Wellcome Collection services.

Development

See docs/developers.md.

License

MIT.