← Back to catalog
chem.formula
mock data$0.001 / callMolecular Formula & Weight
Get molecular formula and molecular weight for any compound by name, CAS number, or SMILES. Returns formula (e.g. "C9H8O4" for aspirin) and weight in daltons (e.g. 180.157). Accepts any chemical identifier format (NCI CACTUS)
Input schema
identifierrequired
stringChemical identifier — compound name (e.g. "ibuprofen"), CAS number (e.g. "15687-27-1"), or SMILES string. Returns molecular formula and weight
Call via REST
curl -X POST https://unifyapi.pro/api/call/chem.formula \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"identifier":"<identifier>"}'