# getBioactivities

**Identifier:** `chembl_getBioactivities`

**Provider:** [ChEMBL](https://kirha.com/providers/chembl.md)

Measured potency data (IC50, Ki, Kd, EC50) from ChEMBL for a compound, a target, or a compound-target pair, most potent first (by pChEMBL). Use a compound alone to see its target/off-target profile, a target alone to find the most potent ligands. Only records with a pChEMBL value are returned. Takes ChEMBL target IDs from searchTargets/getMechanisms (not Ensembl IDs); molecule ChEMBL IDs can come from opentargets-mcp getKnownDrugs.

## Run it with the CLI

```bash
kirha tools run chembl_getBioactivities \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "chembl_getBioactivities",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "activityTypes": {
      "default": [
        "IC50",
        "Ki"
      ],
      "items": {
        "enum": [
          "IC50",
          "Ki",
          "Kd",
          "EC50"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "minPchembl": {
      "description": "pChEMBL = -log10(molar): 6 = 1 µM, 7 = 100 nM, 9 = 1 nM",
      "maximum": 14,
      "minimum": 0,
      "type": "number"
    },
    "moleculeChemblId": {
      "description": "Compound ChEMBL ID, salts resolved to parent",
      "pattern": "^CHEMBL\\d+$",
      "type": "string"
    },
    "offset": {
      "default": 0,
      "maximum": 10000,
      "minimum": 0,
      "type": "integer"
    },
    "targetChemblId": {
      "description": "Target ChEMBL ID from searchTargets, e.g. CHEMBL203",
      "pattern": "^CHEMBL\\d+$",
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "activities": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "assayChemblId": {
            "type": "string"
          },
          "assayDescription": {
            "type": "string"
          },
          "assayType": {
            "type": "string"
          },
          "documentChemblId": {
            "type": "string"
          },
          "moleculeChemblId": {
            "description": "Parent ChEMBL ID, valid in opentargets-mcp getDrugProfile",
            "type": "string"
          },
          "moleculeName": {
            "type": "string"
          },
          "mutation": {
            "type": "string"
          },
          "organism": {
            "type": "string"
          },
          "pchembl": {
            "type": "number"
          },
          "relation": {
            "type": "string"
          },
          "targetChemblId": {
            "type": "string"
          },
          "targetName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "units": {
            "type": "string"
          },
          "validityWarning": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "year": {
            "type": "number"
          }
        },
        "required": [
          "moleculeChemblId"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "moleculeChemblIds": {
      "description": "For getMolecules, getMechanisms, opentargets-mcp getDrugProfile",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "targetChemblIds": {
      "description": "ChEMBL target IDs, not Ensembl",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "totalCount": {
      "description": "Matching measurements before the limit",
      "type": "number"
    }
  },
  "required": [
    "context",
    "totalCount",
    "activities",
    "moleculeChemblIds",
    "targetChemblIds"
  ],
  "type": "object"
}
```

## Related tools

Other ChEMBL tools that this tool refers to, or that refer to it.

- [`getMechanisms`](https://kirha.com/providers/chembl/getMechanisms.md)
- [`searchTargets`](https://kirha.com/providers/chembl/searchTargets.md)
- [`getMolecules`](https://kirha.com/providers/chembl/getMolecules.md)

-----

[All ChEMBL tools](https://kirha.com/providers/chembl.md) · [< Back to tools list](https://kirha.com/tools.md)