{"openapi":"3.1.0","info":{"title":"Chemistry API","version":"1.0.0","description":"Chemical compound data as an API, powered by NIH PubChem (>100 million compounds). Look up any compound by common name, PubChem CID or SMILES and get its molecular formula, molecular and exact mass, IUPAC name, canonical SMILES, InChI and InChIKey, plus physicochemical properties (XLogP, TPSA, formal charge, hydrogen-bond donor/acceptor counts, rotatable bonds, heavy-atom count). List a compound's synonyms and trade/registry names, or resolve a name to PubChem CIDs. Ideal for cheminformatics, lab software, education, drug-discovery tooling and scientific data pipelines.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/chemistry-api","description":"oanor gateway"}],"tags":[{"name":"Chemistry"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/compound":{"get":{"operationId":"get_v1_compound","tags":["Chemistry"],"summary":"Full compound record by name / cid / smiles","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"Compound name, e.g. aspirin (or use cid / smiles)","schema":{"type":"string"},"example":"aspirin"},{"name":"cid","in":"query","required":false,"description":"PubChem CID, e.g. 2244","schema":{"type":"string"}},{"name":"smiles","in":"query","required":false,"description":"SMILES string, e.g. CCO","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"cid":2244,"input":{"name":"aspirin"},"title":"Aspirin","properties":{"tpsa":63.6,"inchi":"InChI=1S/C9H8O4/c1-6(10)13-8-5-3-2-4-7(8)9(11)12/h2-5H,1H3,(H,11,12)","xlogp":1.2,"charge":0,"smiles":"CC(=O)OC1=CC=CC=C1C(=O)O","inchikey":"BSYNRYMUTXBXSQ-UHFFFAOYSA-N","exact_mass":180.04225873,"iupac_name":"2-acetyloxybenzoic acid","heavy_atom_count":13,"molecular_weight":180.16,"molecular_formula":"C9H8O4","monoisotopic_mass":180.04225873,"h_bond_donor_count":1,"connectivity_smiles":"CC(=O)OC1=CC=CC=C1C(=O)O","rotatable_bond_count":3,"h_bond_acceptor_count":4},"description":"Aspirin can cause developmental toxicity and female reproductive toxicity according to an independent committee of scientific and health experts.","pubchem_url":"https://pubchem.ncbi.nlm.nih.gov/compound/2244"},"meta":{"timestamp":"2026-05-31T07:34:15.576Z","request_id":"1c3f85d2-1cb3-44c3-b1da-a2d82bd668a9"},"status":"ok","message":"Compound retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["Chemistry"],"summary":"Resolve a name to PubChem CIDs","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Compound name to resolve","schema":{"type":"string"},"example":"caffeine"},{"name":"limit","in":"query","required":false,"description":"Max CIDs (1-100, default 25)","schema":{"type":"string"},"example":"25"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"cids":[2519],"count":1,"query":"caffeine","total":1},"meta":{"timestamp":"2026-05-31T07:34:15.765Z","request_id":"4bf483e0-7ea2-4ff6-a94a-5d1aa1ba6589"},"status":"ok","message":"Compounds searched","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/synonyms":{"get":{"operationId":"get_v1_synonyms","tags":["Chemistry"],"summary":"Names & synonyms for a compound","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"Compound name (or cid / smiles)","schema":{"type":"string"},"example":"aspirin"},{"name":"limit","in":"query","required":false,"description":"Max synonyms (1-1000, default 50)","schema":{"type":"string"},"example":"50"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"cid":2244,"count":50,"input":{"name":"aspirin"},"total":697,"synonyms":["aspirin","ACETYLSALICYLIC ACID","50-78-2","2-Acetoxybenzoic acid","2-(Acetyloxy)benzoic acid","Acylpyrin","O-Acetylsalicylic acid","o-Acetoxybenzoic acid","Acenterine","Acetophen","Ecotrin","Salicylic acid acetate","Aceticyl","Acetosalin","Polopiryna","Aspirdrops","Pharmacin","Premaspin","Salcetogen","Acetonyl","Benaspir","Empirin","Endydol","Measurin","Rhodine","Saletin","Temperal","Adiro","Ecolen","Acetosalic acid","Rheumintabletten","Solprin acid","o-Carboxyphenyl acetate","Acidum acetylsalicylicum","2-acetyloxybenzoic acid","Enterosarine","Acetisal","Acetylsal","Aspirine","Bialpirina","Bialpirinia","Entericin","Enterophen","Globentyl","Salacetin","Solpyron","Acesal","Acisal","Asagran","Asteric"]},"meta":{"timestamp":"2026-05-31T07:34:16.250Z","request_id":"7e23b99c-1fb7-43dc-abeb-d8a34d2c7be8"},"status":"ok","message":"Synonyms retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Source & property list","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Live chemical-compound data from PubChem (>100M compounds). Resolve any compound by common name, PubChem CID or SMILES; get molecular properties, synonyms and the canonical PubChem record link.","source":"NIH PubChem (PUG REST)","endpoints":["/v1/compound","/v1/synonyms","/v1/search","/v1/meta"],"lookup_by":["name","cid","smiles"],"properties":["molecular_formula","molecular_weight","iupac_name","smiles","connectivity_smiles","inchi","inchikey","xlogp","exact_mass","monoisotopic_mass","tpsa","charge","h_bond_donor_count","h_bond_acceptor_count","rotatable_bond_count","heavy_atom_count"]},"meta":{"timestamp":"2026-05-31T07:34:16.299Z","request_id":"8cf4de88-53a7-44f3-af94-b54135949537"},"status":"ok","message":"Meta retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":600,"monthly_call_quota":50000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1600,"monthly_call_quota":250000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":4200,"monthly_call_quota":1250000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/chemistry-api"}