---
id: compound
title: Compound
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

No description

```graphql
type Compound {
  _id: String
  description: String
  type: String
  name: String
  source: String!
  company: String
  ttd_id: ID
  chebi_id: ID
  chemspider_id: Float
  drugbank_id: ID
  kegg_drug_id: ID
  kegg_id: ID
  pubchem_id: ID
  unii: ID
  inchi: ID
  inchikey: ID
  cas_number: String
  accession_numbers: String
  therapeutic_class: String
  drug_class: String
  compound_class: String
  groups: String
  categories: String
  atc_codes: String
  source_url: String!
  drug_formula: String
  drug_smiles: String
  drug_type: String
  highest_stat: String
  indication: String
  mechanism: String
  synonyms: String
  targets(
    first: Int = 0
    offset: Int = 0
    orderBy: [_TargetsOrdering] = []
    filter: _CompoundTargetsFilter
  ): [_CompoundTargets]
  isInhibitor(
    first: Int = 0
    offset: Int = 0
    orderBy: [_IsInhibitorOrdering] = []
    filter: _CompoundIsInhibitorFilter
  ): [_CompoundIsInhibitor]
  isAntagonist(
    first: Int = 0
    offset: Int = 0
    orderBy: [_IsAntagonistOrdering] = []
    filter: _CompoundIsAntagonistFilter
  ): [_CompoundIsAntagonist]
  isAgonist(
    first: Int = 0
    offset: Int = 0
    orderBy: [_IsAgonistOrdering] = []
    filter: _CompoundIsAgonistFilter
  ): [_CompoundIsAgonist]
  isActivator(
    first: Int = 0
    offset: Int = 0
    orderBy: [_IsActivatorOrdering] = []
    filter: _CompoundIsActivatorFilter
  ): [_CompoundIsActivator]
  isBinder(
    first: Int = 0
    offset: Int = 0
    orderBy: [_IsBinderOrdering] = []
    filter: _CompoundIsBinderFilter
  ): [_CompoundIsBinder]
}
```

### Fields

#### `_id` ([`String`](/docs/api/scalars/string))

Generated field for querying the Neo4j [system id](https://neo4j.com/docs/cypher-manual/current/functions/scalar/#functions-id) of this node.

#### `description` ([`String`](/docs/api/scalars/string))

#### `type` ([`String`](/docs/api/scalars/string))

#### `name` ([`String`](/docs/api/scalars/string))

#### `source` ([`String!`](/docs/api/scalars/string))

#### `company` ([`String`](/docs/api/scalars/string))

#### `ttd_id` ([`ID`](/docs/api/scalars/id))

#### `chebi_id` ([`ID`](/docs/api/scalars/id))

#### `chemspider_id` ([`Float`](/docs/api/scalars/float))

#### `drugbank_id` ([`ID`](/docs/api/scalars/id))

#### `kegg_drug_id` ([`ID`](/docs/api/scalars/id))

#### `kegg_id` ([`ID`](/docs/api/scalars/id))

#### `pubchem_id` ([`ID`](/docs/api/scalars/id))

#### `unii` ([`ID`](/docs/api/scalars/id))

#### `inchi` ([`ID`](/docs/api/scalars/id))

#### `inchikey` ([`ID`](/docs/api/scalars/id))

#### `cas_number` ([`String`](/docs/api/scalars/string))

#### `accession_numbers` ([`String`](/docs/api/scalars/string))

#### `therapeutic_class` ([`String`](/docs/api/scalars/string))

#### `drug_class` ([`String`](/docs/api/scalars/string))

#### `compound_class` ([`String`](/docs/api/scalars/string))

#### `groups` ([`String`](/docs/api/scalars/string))

#### `categories` ([`String`](/docs/api/scalars/string))

#### `atc_codes` ([`String`](/docs/api/scalars/string))

#### `source_url` ([`String!`](/docs/api/scalars/string))

#### `drug_formula` ([`String`](/docs/api/scalars/string))

#### `drug_smiles` ([`String`](/docs/api/scalars/string))

#### `drug_type` ([`String`](/docs/api/scalars/string))

#### `highest_stat` ([`String`](/docs/api/scalars/string))

#### `indication` ([`String`](/docs/api/scalars/string))

#### `mechanism` ([`String`](/docs/api/scalars/string))

#### `synonyms` ([`String`](/docs/api/scalars/string))

#### `targets` ([`[_CompoundTargets]`](/docs/api/objects/compound-targets))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_TargetsOrdering]`](/docs/api/enums/targets-ordering))

- ##### `filter` ([`_CompoundTargetsFilter`](/docs/api/inputs/compound-targets-filter))

#### `isInhibitor` ([`[_CompoundIsInhibitor]`](/docs/api/objects/compound-is-inhibitor))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_IsInhibitorOrdering]`](/docs/api/enums/is-inhibitor-ordering))

- ##### `filter` ([`_CompoundIsInhibitorFilter`](/docs/api/inputs/compound-is-inhibitor-filter))

#### `isAntagonist` ([`[_CompoundIsAntagonist]`](/docs/api/objects/compound-is-antagonist))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_IsAntagonistOrdering]`](/docs/api/enums/is-antagonist-ordering))

- ##### `filter` ([`_CompoundIsAntagonistFilter`](/docs/api/inputs/compound-is-antagonist-filter))

#### `isAgonist` ([`[_CompoundIsAgonist]`](/docs/api/objects/compound-is-agonist))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_IsAgonistOrdering]`](/docs/api/enums/is-agonist-ordering))

- ##### `filter` ([`_CompoundIsAgonistFilter`](/docs/api/inputs/compound-is-agonist-filter))

#### `isActivator` ([`[_CompoundIsActivator]`](/docs/api/objects/compound-is-activator))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_IsActivatorOrdering]`](/docs/api/enums/is-activator-ordering))

- ##### `filter` ([`_CompoundIsActivatorFilter`](/docs/api/inputs/compound-is-activator-filter))

#### `isBinder` ([`[_CompoundIsBinder]`](/docs/api/objects/compound-is-binder))

- ##### `first` ([`Int`](/docs/api/scalars/int))

- ##### `offset` ([`Int`](/docs/api/scalars/int))

- ##### `orderBy` ([`[_IsBinderOrdering]`](/docs/api/enums/is-binder-ordering))

- ##### `filter` ([`_CompoundIsBinderFilter`](/docs/api/inputs/compound-is-binder-filter))
