Score how easy a molecule is to synthesize
Compute the synthetic accessibility (SA) score for molecules using RDKit, scored from 1 to 10 where lower values indicate easier synthesis. Essential for filtering generated molecules and prioritizing compounds for medicinal chemistry efforts.
/v1/generate/synthesis-checkimport requests
API_KEY = "sk-sci-your-key-here"
url = "https://scirouter.ai/v1/generate/synthesis-check"
response = requests.post(url, json={
"smiles": "CC(=O)Oc1ccccc1C(=O)O" # Aspirin
}, headers={"Authorization": f"Bearer {API_KEY}"})
result = response.json()
print(f"SA Score: {result['sa_score']:.2f}")
print(f"Difficulty: {result['difficulty_label']}")Filtering AI-generated molecules for synthesizability
Prioritizing compounds for medicinal chemistry synthesis
Comparing synthetic feasibility across chemical series
Automated pipeline integration for hit-to-lead campaigns