# EMA Medicines Scraper (`parseforge/ema-medicines-scraper`) Actor

Scrapes the EMA medicines registry returning name, active substance, therapeutic area, status, marketing authorisation holder, and special designation flags for each medicine.

- **URL**: https://apify.com/parseforge/ema-medicines-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Education, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.75 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### EMA Medicines Scraper

**Scrape detailed medicine records from the European Medicines Agency (EMA), up to a million per run.** Each record contains the medicine name, active substance, therapeutic area, authorisation status, marketing authorisation holder, and special designations. No API key or registration needed. Export to CSV, JSON, Excel, or XML.

The EMA official website offers a public medicines registry, but browsing it manually page by page makes large-scale analysis tedious. This scraper reads that public registry directly and lets you filter by type, status, therapeutic area, ATC code, and special designations like orphan drug or biosimilar. You get a structured dataset for all matched human or veterinary medicines, ready for research, competitive intelligence, or compliance tracking.

| Who uses it | What they scrape European Medicines Agency (EMA) for |
|---|---|
| Pharma market intelligence analysts | Track which companies are getting marketing authorisations in a specific therapeutic area. |
| Regulatory affairs professionals | Monitor withdrawn, refused, or suspended medicines for compliance reports. |
| Clinical researchers | Identify all EMA-authorised treatments for a disease to map the competitive landscape. |
| Pharmacovigilance teams | Build a list of medicines under additional monitoring for safety surveillance. |

### What it does

This Actor collects EMA medicines data filtered by search query, medicine type, status, therapeutic area, ATC code, marketing authorisation holder, and special flags, and returns each medicine as a flat row.

- 🔍 **Search by name or INN:** Type a medicine brand name or active substance and retrieve only matching entries.
- 📁 **Category filters:** Narrow results by human or veterinary type, one or more therapeutic areas, or a single ATC top-level code.
- 🚩 **Special designation toggles:** Restrict output to orphan drugs, biosimilars, medicines with conditional approval, or those under additional monitoring.
- 📊 **Status sorting:** Collect only authorised, withdrawn, refused, or suspended products to build custom pipelines.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with European Medicines Agency (EMA) data

**💊 Monitor new oncology approvals.**

A competitive intelligence analyst runs the Actor weekly with medicineType set to 'human', therapeuticArea set to 'cancer', and status set to 'authorised', then exports the list to Excel for a pipeline report.

**📋 Build an orphan drug watchlist.**

A regulatory affairs manager pulls all medicines with orphan designation to stay ahead of rare disease treatments entering the EU market.

**⚠️ Audit withdrawn and refused products.**

A compliance officer filters by status 'withdrawn' or 'refused' to maintain an updated internal register of products no longer authorised.

**🐾 Catalogue veterinary medicines by ATC code.**

A veterinary researcher selects medicineType 'veterinary' and an ATC code like 'QJ' to collect all anti-infectives for animals and structure them by marketing authorisation holder.

### Why choose this scraper

| | What you get |
|---|---|
| **No API setup** | Scrapes the public EMA medicines registry directly with no account or token. |
| **Rich therapeutic filters** | Choose from 50+ predefined therapeutic areas, from ADHD to weight loss. |
| **Regulatory flags built in** | Toggle orphan designation, biosimilar status, conditional approval, and additional monitoring. |
| **Flexible volume** | Set maxItems from 1 to 1,000,000 to fit a quick lookup or a large extraction. |

### How it compares

This comparison is based on the features listed in the descriptions of other EMA-specific scrapers on Apify.

| Feature | ParseForge | EMA Medicines Scraper 💊 (shahidirfan) | EMA EPAR Lookup - One-Shot EU Medicines Snapshot |
|---|---|---|---|
| Full-text search by medicine name or active substance | Yes | Not listed | Yes |
| Filter by therapeutic area (50+ predefined categories) | Yes | Not listed | Not listed |
| Filter by marketing authorisation holder (company name) | Yes | Not listed | Not listed |
| Filter by medicine type (human or veterinary) | Yes | Not listed | Not listed |
| Filter by special designations (orphan, biosimilar, conditional approval, additional monitoring) | Yes | Not listed | Not listed |
| Filter by ATC code top-level classification | Yes | Not listed | Not listed |

### Configure the run

Drive the Actor with a medicine name keyword and narrow the run by type, authorisation status, therapeutic area, ATC code, marketing authorisation holder, and special designation flags. Filters are applied before writing results so your dataset contains only matching rows. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "maxItems": 10,
 "medicineType": "human"
}
```

A larger pull:

```json
{
 "maxItems": 200,
 "medicineType": "human"
}
```

### Pricing

Pay-per-result: **$0.005 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.50 |
| 1,000 results | $5.00 |
| 10,000 results | $50.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [EMA Medicines Scraper](https://apify.com/parseforge/ema-medicines-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to European Medicines Agency (EMA) through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/ema-medicines-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**I got an empty dataset even though I know the medicine exists.**

Check that your searchQuery matches the exact spelling used in the EMA registry. Also verify the status filter is not excluding the medicine; set status to 'Any status' and try again.

**The run times out before I get all the results.**

Reduce the maxItems value and run multiple smaller batches, or narrow the filters to a specific therapeutic area or status. This avoids hitting memory limits.

**My marketing authorisation holder filter returns no results.**

Company names on the EMA site can vary slightly. Try using a partial name or searching without the filter first to confirm how the name is stored.

**The dataset contains fewer records than I expected for a large therapeutic area.**

Make sure the status filter is not set to a narrow value like 'refused'. Set it to 'Any status' and check if the count matches your expectations.

### FAQ

| Question | Answer |
|---|---|
| What data fields does the Actor return for each medicine? | It returns name, active substance, INN, therapeutic area, medicine type, ATC code, marketing authorisation holder, authorisation status, and flags for additional monitoring, orphan designation, biosimilar, and conditional approval. |
| Can I search by the active substance name, not the brand name? | Yes. The searchQuery field performs a full-text search across medicine names, INN, and active substances, so entering 'trastuzumab' will return all relevant entries. |
| Does this support both human and veterinary medicines? | Yes. Set the medicineType filter to 'human' or 'veterinary' to restrict the output accordingly. |
| How do I get all authorised cancer drugs? | Set medicineType to 'human', therapeuticArea to 'cancer', status to 'authorised', and choose a maxItems value high enough to capture every result. |
| Is there a way to filter by the company that holds the marketing authorisation? | Yes, use the marketingAuthorisationHolder field. Type a company name and the scraper returns only medicines linked to that holder. |
| Does the Actor handle pagination for large result sets? | It reads all pages of the EMA medicines registry automatically up to maxItems. Set a high maxItems limit to retrieve thousands of records in one run. |
| What export formats are supported? | The dataset can be exported from your Apify run as CSV, JSON, Excel, or XML. |
| Do I need an EMA account or API key to use this? | No. The Actor reads the public EMA medicines search interface, so no login, registration, or API key is required. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by European Medicines Agency. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `maxItems` (type: `integer`):

How many medicines to collect per run.

## `searchQuery` (type: `string`):

Full-text search across medicine name, INN, or active substance.

## `medicineType` (type: `string`):

Human or veterinary medicines.

## `status` (type: `string`):

Filter by authorisation status.

## `therapeuticArea` (type: `string`):

Filter by therapeutic area.

## `atcCode` (type: `string`):

Filter by Anatomical Therapeutic Chemical (ATC) top-level classification.

## `marketingAuthorisationHolder` (type: `string`):

Filter by marketing authorisation holder (company name).

## `additionalMonitoring` (type: `boolean`):

Only medicines under additional monitoring (black inverted triangle).

## `orphan` (type: `boolean`):

Only medicines with orphan designation (rare diseases).

## `biosimilar` (type: `boolean`):

Only biosimilar medicines.

## `conditionalApproval` (type: `boolean`):

Only medicines with conditional marketing authorisation.

## Actor input object example

```json
{
  "maxItems": 10,
  "medicineType": "human",
  "additionalMonitoring": false,
  "orphan": false,
  "biosimilar": false,
  "conditionalApproval": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 10,
    "medicineType": "human"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/ema-medicines-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxItems": 10,
    "medicineType": "human",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/ema-medicines-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 10,
  "medicineType": "human"
}' |
apify call parseforge/ema-medicines-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/ema-medicines-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cRXGloa1UhPfeD7Nx/builds/vnlXgbKJxbxnkbv20/openapi.json
