Sources

Detail information from the sources, where our compound references are pointing to, can be access programatically through our web services:

  • Single source: https://www.ebi.ac.uk/unichem/api/v1/sources/{source_id}

  • All sources: https://www.ebi.ac.uk/unichem/api/v1/sources/

Single Source

Every source is assigned a unique numeric identifier in our database, with this ID a single source details can be fetch.

A GET call to /sources/{source_id} where {source_id} is the unique identifier for that source.

Simple usage example

curl --request GET \
  --url https://www.ebi.ac.uk/unichem/api/v1/sources/1

Detail information on the response payload and usage here.

All Sources

An array of all the sources in our database can be fetch using GET to /sources.

Simple usage example

curl --request GET \
  --url https://www.ebi.ac.uk/unichem/api/v1/sources

Detail information on the response payload and usage here.

Last updated