This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to get compound name with PubChem REST interface

Hi,

does anyone know if its possible to get the "main compound name" (not one of the synomnyns or IUPAC Names) via the PUG REST interface? I did not manage to retrieve it.

For example, the JSON returned with this call https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/3496/JSON does not contain the name Glyphosate even though it is shown here: https://pubchem.ncbi.nlm.nih.gov/compound/3496

Thanks for your help!

pubchem rest

1 answer

Actually, it is written down in the docs how to find it.. My bad. https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/88735/synonyms/JSON

Log in to answer this question.