Get Compound Interactions
pubchem_get_compound_interactionsRetrieve compound interaction data including drug-drug, drug-food, and target interactions, each sourced from DrugBank, ChEMBL, and other databases.
Instructions
Get a compound's interaction data: drug-drug interactions (DrugBank), drug-food interactions, and chemical-target interactions (binding/activity from BindingDB, ChEMBL, and others). Each entry carries its originating source. Richest for approved drugs; many compounds have no deposited interaction records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds. | |
| kinds | No | Interaction kinds to fetch. "drug-drug" (interactions with other drugs), "drug-food" (dietary interactions), "target" (binding/activity against molecular targets). Default: ["drug-drug"]. | |
| maxEntries | No | Max entries per kind (1-50). Well-studied drugs have a long tail of interactions. Default: 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID. | |
| entries | Yes | Interaction entries across the requested kinds. | |
| requestedKinds | Yes | Interaction kinds requested (comma-separated). | |
| returnedCount | Yes | Total interaction entries returned across all kinds. | |
| failedKinds | No | Interaction kinds that could not be retrieved (comma-separated). The returned entries cover the kinds that succeeded; retry to re-attempt the failed ones. | |
| notice | No | Guidance when no interaction data was found for the requested kinds. |