# Clinical Trial Multi-Source Aggregator (`parseforge/clinical-trial-multi-source-scraper`) Actor

Search active and historical clinical trials across the EU CTIS, WHO, openFDA and ClinVar variants in one query. Pull trial IDs, sponsors, phases, conditions, locations, status and outcome data. Built for pharma research, patient navigators and biotech analysts.

- **URL**: https://apify.com/parseforge/clinical-trial-multi-source-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Other, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://github.com/ParseForge/apify-assets/blob/ad35ccc13ddd068b9d6cba33f323962e39aed5b2/banner.jpg?raw=true)

## 🧬 Clinical Trial Multi-Source Aggregator

> 🚀 **Query 4 medical and clinical data sources in one run.** EU CTIS trials, WHO Disease Outbreaks, openFDA Veterinary Events and NCBI ClinVar variants - aggregated, normalized, pull.

> 🕒 **Last updated:** 2026-05-27 · **📊 10+ fields** per record · **4 sources** · **global clinical, regulatory and genomic intelligence**

The Clinical Trial Multi-Source Aggregator queries four independent medical and clinical data sources in parallel and returns a unified stream of records. Each record is tagged with its source so you can filter, dedupe or split by platform downstream.

The combination spans regulatory clinical trials (EU CTIS), epidemic surveillance (WHO Disease Outbreak News), veterinary pharmacovigilance (openFDA) and genetic variant classifications (NCBI ClinVar).

| 🎯 Target Audience | 💡 Primary Use Cases |
|---|---|
| Pharma, biotech, CROs | Competitive trial intelligence |
| Public health analysts | Outbreak tracking and signal monitoring |
| Genomics researchers | Variant curation and classification |
| Veterinary regulators | Adverse event monitoring |

### 📋 What the Clinical Trial Multi-Source Aggregator does

- Queries up to 4 distinct medical APIs in parallel (`Promise.allSettled`)
- Applies a unified query string across every source that exposes search
- Normalizes every record to the same 10+ field shape
- Returns one tagged stream - `source: ctis | who | openfda | clinvar`
- Continues with the remaining sources if one fails

> 💡 **Why it matters:** one input, one dataset, four authoritative public health and regulatory sources.

### 🎬 Full Demo (_🚧 Coming soon_)

### ⚙️ Input

<table>
<tr><th>Field</th><th>Type</th><th>Required</th><th>Description</th></tr>
<tr><td>query</td><td>string</td><td>no</td><td>Keyword applied to every source that supports search</td></tr>
<tr><td>sources</td><td>array of enum</td><td>no</td><td>Subset of <code>ctis, who, openfda, clinvar</code></td></tr>
<tr><td>maxItems</td><td>integer</td><td>no</td><td>Free 10 / Paid up to 1,000,000</td></tr>
<tr><td>proxyConfiguration</td><td>object</td><td>no</td><td>Apify Proxy (recommended)</td></tr>
</table>

```tabular
{
    "query": "cancer",
    "maxItems": 20,
    "sources": ["ctis", "who", "openfda", "clinvar"]
}
````

```tabular
{
    "query": "BRCA1",
    "maxItems": 10,
    "sources": ["clinvar"]
}
```

> ⚠️ **Good to Know:** each source has its own query semantics. CTIS matches `containAll`. WHO matches `contains(Title)`. openFDA matches against the entire event document. ClinVar defaults to `BRCA1` if no query is supplied.

### 📊 Output

<table>
<tr><th>Field</th><th>Type</th><th>Description</th></tr>
<tr><td>📡 source</td><td>string</td><td>ctis / who / openfda / clinvar</td></tr>
<tr><td>📌 title</td><td>string</td><td>Record title (trial, outbreak, event or variant)</td></tr>
<tr><td>🔗 url</td><td>string</td><td>Canonical URL on the source site</td></tr>
<tr><td>🆔 id</td><td>string</td><td>Source-native ID (CT number, DON ID, report ID, ClinVar VID)</td></tr>
<tr><td>📊 status</td><td>string</td><td>Status / outcome / review status</td></tr>
<tr><td>🌍 country</td><td>string</td><td>Trial countries, reporter country, etc. (when present)</td></tr>
<tr><td>🕒 date</td><td>string</td><td>Decision / publication / receive / evaluation date</td></tr>
<tr><td>📝 summary</td><td>string</td><td>Source-specific summary text</td></tr>
<tr><td>+ source-specific fields</td><td>varies</td><td>e.g. sponsor, donId, reactions, drugs, gene, traits</td></tr>
<tr><td>🕒 scrapedAt</td><td>string</td><td>ISO timestamp of the run</td></tr>
<tr><td>❌ error</td><td>string</td><td>Per-source error record (rare)</td></tr>
</table>

### ✨ Why choose this Actor

| Differentiator | Detail |
|---|---|
| 🌐 Four sources, one run | Save time, save credits, save engineering |
| 🛡️ Resilient | One source failure does not stop the others |
| ⚡ Parallel fetch | Fetchers run concurrently |
| 🧩 Unified schema | Every record same shape |
| 📦 Pay-per-event | Pay only for the records you collect |

### 📈 How it compares to alternatives

| Alternative | This Aggregator |
|---|---|
| Build 4 separate scrapers | Single run, single dataset |
| Buy a clinical-trials API | No subscription, pay per item |
| Query each official site manually | Automated, normalized, scheduled |

### 🚀 How to use

1. [Create a free account w/ $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp)
2. Open the actor on Apify console
3. Pick `sources` (default = all 4)
4. Set your `query` and `maxItems`
5. Run

### 💼 Business use cases

**Pharma and biotech**

| Need | How |
|---|---|
| Trial competitive intelligence | Pull CTIS trials weekly, diff over time |
| Drug safety signal monitoring | Pull openFDA events for your active ingredient |

**Public health and regulatory**

| Need | How |
|---|---|
| Outbreak surveillance | Daily WHO digest into Slack |
| Cross-source signal building | Join WHO + ClinVar + CTIS on disease keyword |

**Genomics and research**

| Need | How |
|---|---|
| Variant curation | Query ClinVar by gene, ingest into LIMS |
| Cohort recruitment | Search CTIS for relevant trials |

**Veterinary medicine**

| Need | How |
|---|---|
| Adverse event tracking | openFDA species-specific monitoring |
| Drug recall correlation | Cross with regulator notices |

### 🔌 Automating Clinical Trial Multi-Source

Use Apify integrations to route results to:

- **Make / Zapier** - push every new record to Notion, Airtable, Slack
- **Slack** - daily digest in your research channel
- **Airbyte / Fivetran** - sync to Snowflake, BigQuery, Postgres
- **GitHub Actions** - trigger downstream NLP/LLM pipelines
- **Google Drive / Dropbox** - pull tabular/spreadsheet for offline review

### 🌟 Beyond business use cases

**Research**

- Cross-database epidemiology research
- Genotype-phenotype correlation studies

**Personal**

- Patients: track trials in your condition
- Caregivers: monitor outbreaks by region

**Non-profit**

- Disease-foundation surveillance dashboards
- Veterinary welfare programs

**Experimentation**

- LLM-powered clinical-trial summarizers
- Knowledge-graph construction across sources

### 🤖 Ask an AI assistant about this scraper

- [Ask ChatGPT](https://chat.openai.com)
- [Ask Claude](https://claude.ai)
- [Ask Perplexity](https://perplexity.ai)
- [Ask Microsoft Copilot](https://copilot.microsoft.com)

### ❓ Frequently Asked Questions

**❓ Which sources are queried?** EU CTIS (clinical trials), WHO DON (disease outbreak news), openFDA Animal & Veterinary, NCBI ClinVar.

**❓ Can I pick a subset?** Yes. Pass `sources: ["ctis","who"]` for just two.

**❓ What happens on failure?** Other sources keep running; the failing source emits an error record.

**❓ Is the query applied everywhere?** Yes - adapted to each source's native query syntax.

**❓ How do I dedupe?** Use the `id` + `source` composite as the unique key downstream.

**❓ Do I need API keys?** No. All four sources expose public, unauthenticated endpoints.

**❓ Pricing?** Pay-per-event: billed per record actually pushed.

**❓ What's the maximum?** 1,000,000 items per run for paid users.

**❓ Can I schedule it?** Yes - use Apify Schedules for daily/weekly runs.

**❓ How fresh is the data?** Real-time - each source is queried live on every run.

### 🔌 Integrate with any app

- Make, Zapier, n8n, Pipedream
- Airbyte, Fivetran, Stitch
- Slack, Discord, Microsoft Teams
- Google Sheets, spreadsheet Online, Airtable, Notion
- Salesforce, HubSpot, Pipedrive
- GitHub Actions, GitLab CI
- Webhooks, REST API, S3, GCS

### 🔗 Recommended Actors

| Actor | Why |
|---|---|
| [EU Clinical Trials Register Scraper](https://apify.com/parseforge/eu-clinical-trials-register-scraper) | Standalone CTIS |
| [WHO Disease Outbreak Scraper](https://apify.com/parseforge/who-disease-outbreak-scraper) | Standalone WHO DON |
| [openFDA Veterinary Events Scraper](https://apify.com/parseforge/openfda-vet-events-scraper) | Standalone vet pharmacovigilance |
| [NCBI ClinVar Variants Scraper](https://apify.com/parseforge/ncbi-clinvar-variants-scraper) | Standalone variant lookup |

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge).

**🆘 Need Help?** [Open our contact form](https://tally.so/r/BzdKgA)

> **⚠️ Disclaimer:** independent tool, not affiliated with the EU EMA, WHO, US FDA or NCBI. Only publicly available data is collected.

# Actor input Schema

## `query` (type: `string`):

Keyword applied to all sources that support search (e.g. cancer, BRCA1, ebola).

## `sources` (type: `array`):

Which medical data sources to query in parallel.

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## `proxyConfiguration` (type: `object`):

Use Apify Proxy (recommended).

## Actor input object example

```json
{
  "query": "cancer",
  "sources": [
    "ctis",
    "who",
    "openfda",
    "clinvar"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Aggregated clinical and medical data from 4 sources.

# 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,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/clinical-trial-multi-source-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,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call parseforge/clinical-trial-multi-source-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/clinical-trial-multi-source-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Clinical Trial Multi-Source Aggregator",
        "description": "Search active and historical clinical trials across the EU CTIS, WHO, openFDA and ClinVar variants in one query. Pull trial IDs, sponsors, phases, conditions, locations, status and outcome data. Built for pharma research, patient navigators and biotech analysts.",
        "version": "0.1",
        "x-build-id": "0J5WqlmTkXy0ANle0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~clinical-trial-multi-source-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-clinical-trial-multi-source-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/parseforge~clinical-trial-multi-source-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-clinical-trial-multi-source-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/parseforge~clinical-trial-multi-source-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-clinical-trial-multi-source-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keyword applied to all sources that support search (e.g. cancer, BRCA1, ebola).",
                        "default": "cancer"
                    },
                    "sources": {
                        "title": "Sources",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Which medical data sources to query in parallel.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "ctis",
                                "who",
                                "openfda",
                                "clinvar"
                            ]
                        },
                        "default": [
                            "ctis",
                            "who",
                            "openfda",
                            "clinvar"
                        ]
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Use Apify Proxy (recommended)."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
