# searchByActiveSubstance

**Identifier:** `ema_searchByActiveSubstance`

**Provider:** [EMA Europa](https://kirha.com/providers/ema.md)

Find all EMA-authorized medicines containing a specific active substance or compound. Use this to answer questions like 'what medicines contain dasatinib?' or to compare original vs generic/biosimilar products for the same substance.

## Run it with the CLI

```bash
kirha tools run ema_searchByActiveSubstance \
  --input '{
    "substance": "dasatinib"
  }'
```

`--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": "ema_searchByActiveSubstance",
  "input": {
    "substance": "dasatinib"
  }
}'
```

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": {
    "category": {
      "enum": [
        "Human",
        "Veterinary"
      ],
      "type": "string"
    },
    "limit": {
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "type": "number"
    },
    "sortBy": {
      "default": "marketingAuthorisationDate:desc",
      "enum": [
        "marketingAuthorisationDate:desc",
        "marketingAuthorisationDate:asc"
      ],
      "type": "string"
    },
    "substance": {
      "description": "Name of the active substance (e.g., 'dasatinib', 'telmisartan', 'natalizumab').",
      "type": "string"
    }
  },
  "required": [
    "substance"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "emaProductNumbers": {
      "description": "EMA product numbers for composition with other tools",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "medicines": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activeSubstance": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "biosimilar": {
            "type": "boolean"
          },
          "category": {
            "type": "string"
          },
          "emaProductNumber": {
            "type": "string"
          },
          "generic": {
            "type": "boolean"
          },
          "marketingAuthorisationDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "marketingAuthorisationHolder": {
            "type": [
              "string",
              "null"
            ]
          },
          "medicineStatus": {
            "type": "string"
          },
          "medicineUrl": {
            "type": "string"
          },
          "nameOfMedicine": {
            "type": "string"
          },
          "pharmacotherapeuticGroupHuman": {
            "type": [
              "string",
              "null"
            ]
          },
          "therapeuticAreaMesh": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "nameOfMedicine",
          "emaProductNumber",
          "activeSubstance",
          "category",
          "medicineStatus",
          "biosimilar",
          "generic",
          "therapeuticAreaMesh",
          "medicineUrl"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "medicines",
    "emaProductNumbers"
  ],
  "type": "object"
}
```

-----

[All EMA Europa tools](https://kirha.com/providers/ema.md) · [< Back to tools list](https://kirha.com/tools.md)