Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries the ZINC22 virtual compound library via the CartBlanche API to look up ZINC IDs, resolve SMILES, and check purchasability.
50% 95%+45 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 11 of 22 without it.
Given a JSON response from `GET /substance/ZINC000000029632.json`, write a Python snippet to extract the molecule's InChIKey, chemical formula, ring count, and heavy atom count.
inchikey is retrieved from the nested tranche_details dictionary
3 of 3 safety checks passed
ZINC (ZINC Is Not Commercial) is a free database of commercially available compounds curated for virtual screening. The current generation, ZINC22, holds billions of make-on-demand and in-stock molecules and is served through the CartBlanche web application at cartblanche22.docking.org. CartBlanche exposes a small JSON API to look up substances by ZINC ID, resolve a SMILES to its ZINC identifier, and inspect supplier/catalog purchasability.
Important — the old ZINC15 REST API no longer works for automated access.
zinc15.docking.org(andzinc.docking.org) now sits behind a site-wide CAPTCHA: every request to/substances.json,/tranches/...,/substances/{id}.json, etc. is redirected to a/captcha/page or returns403 Forbidden. Any script using themwt__gte/availability/similarityquery parameters againstzinc15.docking.orgwill fail. Use the ZINC22 CartBlanche endpoints documented below instead.
Three things about ZINC22/CartBlanche that change how you use this skill:
mwt__gte / logp__lte / hbd__lte search. You filter by molecular property by either (a) selecting tranches (a 2D MW x logP grid) for bulk download, or (b) retrieving compounds and filtering locally with RDKit. This skill shows the local-RDKit approach.task id, and poll for the result. Exact-match lookup completes in seconds.dist > 0) is slow and frequently times out on the public server, and the Smallworld similarity search is a website-only flow. Treat exact SMILES → ZINC ID lookup as the dependable primitive; see the "Analog / Similarity Search" note for the (limited) alternatives.rdkit-cheminformatics)chembl-database-bioactivity; for approved drug structures use drugbank-database-accessrequests, pandas (and rdkit for local property filtering)pip install requests pandas
# optional, for local property filtering:
pip install rdkit
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.