Home/Science & Space/NIH PubChem Chemistry REST
GETNo Auth·CORS Ready·Verified 2026-12-02

NIH PubChem Chemistry REST

Authoritative chemical structures, molecular weights, SMILES formulas, and safety properties from NIH.

Live JSON Playground & Client Code

GETNIH PubChem Chemistry REST
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/caffeine/property/MolecularFormula,MolecularWeight/JSON
// Click "Send Live Request" to call this endpoint live from your browser:
// GET https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/caffeine/property/MolecularFormula,MolecularWeight/JSON
// Auth: No Auth | CORS: CORS Ready
// Rate limit: 5 req/sec max · NIH open access
Limit: 5 req/sec max · NIH open accessCommercial: Yes (Public Domain)

Production Integration Checklist

  • Zero-auth endpoint: call directly with no signup, API key, or secrets management.
  • Browser CORS is enabled. Avoid unnecessary custom headers to skip extra OPTIONS preflight latency.
  • Documented rate limit: "5 req/sec max · NIH open access". Always pair requests with an 8s timeout and shared HTTP caching to avoid 429 errors.
  • Commercial license note: Yes (Public Domain). Verify attribution wording in official docs before production launch.