Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Uses requests to query PubChem's PUG-REST API for compound search, properties, similarity and substructure hits, synonyms, and structures.
82% 95%+14 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 18 of 22 without it.
3 of 3 safety checks passed
Not used yet
PubChem (NCBI) is the largest freely available chemical database — 110M+ compounds, 280M+ substances, and millions of bioassay records. Its PUG-REST JSON API is the canonical programmatic surface, and every example here uses it directly via plain requests. The Python pubchempy wrapper is not required; the PUG-REST URL grammar is small enough that direct calls are more transparent, easier to retry/cache, and avoid sandbox dependency issues (the library is not in TOOL_STATUS.md).
The URL pattern is fixed and predictable:
https://pubchem.ncbi.nlm.nih.gov/rest/pug/<input>/<operation>/<output>
<input> = compound/{name,cid,smiles,inchikey,formula}/<value><operation> = cids, property/<list>, synonyms, description, assaysummary, JSON (full record), SDF, PNG<output> = JSON, CSV, TXT, SDF, PNGFor long-running operations (similarity, substructure, formula) the API returns HTTP 202 + {"Waiting": {"ListKey": "..."}}; poll compound/listkey/{key}/cids/JSON until it returns IdentifierList. The skill handles this pattern in Module 4.
rdkitchembl-database-bioactivityrequests, pandas — both already in standard environmentstime.sleep(0.25) in loops; return code 503 means you tripped the limit.If you are inside a pixi/conda environment that already provides requests and pandas, skip the install and invoke scripts with pixi run python ....
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.