{
  "title": "Get Compound by CID",
  "description": "Retrieve compound properties for aspirin (CID 2244) using the PubChem PUG REST API.",
  "request": {
    "method": "GET",
    "url": "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/property/MolecularFormula,MolecularWeight,CanonicalSMILES,InChIKey,IUPACName/JSON",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "PropertyTable": {
        "Properties": [
          {
            "CID": 2244,
            "MolecularFormula": "C9H8O4",
            "MolecularWeight": "180.16",
            "CanonicalSMILES": "CC(=O)OC1=CC=CC=C1C(=O)O",
            "InChIKey": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N",
            "IUPACName": "2-acetyloxybenzoic acid"
          }
        ]
      }
    }
  }
}
