Search by CID

POST /cid

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

CID

string

PubChem compound identifier

GraphQL schema

query ByCID ($cid: Int!) {
    molecules (CID: $cid) { # Here described fields to include in the response
        CID
        IUPAC
        SMILES
        InChI
        InChIKey
        synonyms
    }
}

Response

OK response from API:

Requests example

Last updated