Compound Search
Last updated
Was this helpful?
Was this helpful?
curl --request POST \
--url https://www.ebi.ac.uk/unichem/api/v1/compounds \
--header 'Content-Type: application/json' \
--data '{
"type":"inchikey",
"compound":"LMXNVOREDXZICN-WDSOQIARSA-N"
}'import requests
url = "https://www.ebi.ac.uk/unichem/api/v1/compounds"
payload = {
"type": "inchikey",
"compound": "LMXNVOREDXZICN-WDSOQIARSA-N"
}
headers = {"Content-Type": "application/json"}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)