API
The API Command documentation for UniChem 2.0
Introduction
Example commands
Search for all compounds matching a given InChI Key
curl -X POST "https://www.ebi.ac.uk/unichem/api/v1/compounds" -H "accept: application/json" -H "Content-Type: application/json" -d '{ "compound": "RYYVLZVUVIJVGH-UHFFFAOYSA-N", "type": "inchikey"}'Search for all compounds matching the ChEMBL ID 'CHEMBL1089' in ChEMBL (sourceID:1)
curl -X POST "https://www.ebi.ac.uk/unichem/api/v1/compounds" -H "accept: application/json" -H "Content-Type: application/json" -d '{"compound": "CHEMBL1089", "sourceID": 1, "type": "sourceID"}'Anatomy of a command
Last updated
Was this helpful?