PubChem · Example Payload

Get Compound Synonyms

Retrieve all synonyms and alternative names for aspirin (CID 2244).

ChemistryChemical CompoundsDrug DiscoveryBioassayLife SciencesNCBIBioinformatics

Get Compound Synonyms is an example object payload from PubChem, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Get Compound Synonyms",
  "description": "Retrieve all synonyms and alternative names for aspirin (CID 2244).",
  "request": {
    "method": "GET",
    "url": "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/synonyms/JSON",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "InformationList": {
        "Information": [
          {
            "CID": 2244,
            "Synonym": [
              "aspirin",
              "acetylsalicylic acid",
              "2-acetoxybenzoic acid",
              "50-78-2",
              "ASA",
              "Acetylsalicylate",
              "Acenterine",
              "Aceticyl",
              "Acetosal",
              "Acetysal"
            ]
          }
        ]
      }
    }
  }
}