# Clinical Trials Tracker — Phase, Status, Sponsor Filter (`gochujang/clinical-trials-tracker`) Actor

Track and monitor clinical trials from ClinicalTrials.gov. Filter by condition, sponsor, phase, status. Returns structured data with enrollment, dates, and status changes. Alternative to IQVIA/Citeline ($20k+/year). No API key required.

- **URL**: https://apify.com/gochujang/clinical-trials-tracker.md
- **Developed by:** [Hojun Lee](https://apify.com/gochujang) (community)
- **Categories:** Education
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 trial fetcheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Clinical Trials Tracker — ClinicalTrials.gov, Phase, Status, Sponsor Filter

> Search and monitor clinical trials from ClinicalTrials.gov. Filter by condition, sponsor, phase, and recruitment status. Returns structured trial data including enrollment, dates, outcomes, and locations. A cost-effective alternative to IQVIA/Citeline ($20k+/year). No API key required.

***

### Why use this Actor?

Commercial clinical trial databases (IQVIA, Citeline, Evaluate) charge **$20,000–$100,000+/year** for data that is freely available on ClinicalTrials.gov. This Actor gives you structured, filterable access to the same data for a fraction of the cost.

#### Use Cases

| Audience | Use Case |
|---|---|
| **Pharma / Biotech R\&D** | Competitive intelligence — monitor competitors' trial pipeline by sponsor or indication |
| **Biotech Investors** | Track Phase 2/3 trial status changes for portfolio companies or targets |
| **CROs / Site Networks** | Find recruiting trials in your therapeutic area for site partnerships |
| **Drug Repurposing** | Discover trials testing existing drugs in new indications |
| **Market Access / Payers** | Monitor late-phase trials that may seek future reimbursement |
| **Academic Researchers** | Systematic literature support and trial landscape analysis |
| **Trial Recruitment Agencies** | Identify recruiting trials with enrollment gaps for patient referral |

***

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `condition` | string | — | Disease or condition (e.g. `"lung cancer"`, `"diabetes"`, `"COVID-19"`) |
| `sponsor` | string | — | Sponsor organization (e.g. `"Pfizer"`, `"NIH"`, `"Genentech"`) |
| `status` | array | `[]` (all) | Recruitment status filter: `RECRUITING`, `COMPLETED`, `ACTIVE_NOT_RECRUITING`, `NOT_YET_RECRUITING`, `TERMINATED`, `WITHDRAWN`, `SUSPENDED` |
| `phase` | array | `[]` (all) | Trial phase filter: `PHASE1`, `PHASE2`, `PHASE3`, `PHASE4`, `NA` |
| `studyType` | string | `all` | `INTERVENTIONAL`, `OBSERVATIONAL`, or `all` |
| `dateFrom` | string | — | Return only trials updated on/after this date (format: `YYYY-MM-DD`) |
| `maxResults` | integer | `100` | Maximum trials to return (1–1000) |
| `sortBy` | string | `LastUpdatePostDate` | Sort field: `LastUpdatePostDate`, `StartDate`, `EnrollmentCount` |

***

### Output JSON Example

Each item in the dataset represents one clinical trial:

```json
{
  "nct_id": "NCT04368494",
  "url": "https://clinicaltrials.gov/study/NCT04368494",
  "title": "A Study of Atezolizumab in Combination With Bevacizumab in Participants With Hepatocellular Carcinoma",
  "status": "COMPLETED",
  "phase": "PHASE3",
  "study_type": "INTERVENTIONAL",
  "conditions": ["Hepatocellular Carcinoma"],
  "condition": "Hepatocellular Carcinoma",
  "sponsor": "Hoffmann-La Roche",
  "start_date": "2018-03-15",
  "completion_date": "2023-06-30",
  "last_update_date": "2024-01-12",
  "enrollment": 501,
  "enrollment_type": "ACTUAL",
  "has_results": true,
  "primary_outcomes": [
    {
      "measure": "Overall Survival (OS)",
      "time_frame": "Up to approximately 32 months"
    },
    {
      "measure": "Progression-Free Survival (PFS)",
      "time_frame": "Up to approximately 32 months"
    }
  ],
  "locations_count": 187,
  "scraped_at": "2024-07-01T12:00:00Z"
}
```

#### Summary (Key-Value Store: `SUMMARY`)

A run summary is saved to the key-value store:

```json
{
  "total_trials": 247,
  "query": {
    "condition": "lung cancer",
    "sponsor": "",
    "status": ["RECRUITING"],
    "phase": ["PHASE3"],
    "study_type": "INTERVENTIONAL",
    "date_from": "2024-01-01",
    "sort_by": "LastUpdatePostDate"
  },
  "top_conditions": [
    {"condition": "Non-Small Cell Lung Cancer", "count": 89},
    {"condition": "Small Cell Lung Cancer", "count": 41}
  ],
  "generated_at": "2024-07-01T12:00:05Z"
}
```

***

### Pricing

| Event | Cost |
|---|---|
| Actor start | $0.001 (flat fee per run) |
| Per trial returned | $0.001 per trial |

**First 25 trials are effectively free** (covered by the Apify free tier compute credit).

A run returning 100 trials costs approximately **$0.10**. Compare to $20,000+/year for commercial databases.

***

### Comparison to Commercial Alternatives

| Solution | Annual Cost | Requires Contract | Customizable Filters | Automation-Friendly |
|---|---|---|---|---|
| **This Actor** | ~$0.10–$1/run | No | Yes | Yes (API) |
| IQVIA TrialTrax | $20,000–$60,000+ | Yes | Limited | No |
| Citeline Trialtrove | $30,000–$100,000+ | Yes | Limited | No |
| Evaluate Pharma | $20,000–$80,000+ | Yes | Limited | No |
| ClinicalTrials.gov (manual) | Free | No | Limited | No |

***

### Data Source

All data is sourced directly from the **ClinicalTrials.gov API v2** (`https://clinicaltrials.gov/api/v2/studies`), the official U.S. National Library of Medicine registry. No third-party data intermediaries are used.

- Registry contains **500,000+ trials** from 230+ countries
- Updated daily by study sponsors and investigators
- Mandated reporting under the FDA Modernization Act

***

### Technical Notes

- No API key required — ClinicalTrials.gov is a public resource
- Automatic pagination handles large result sets
- 3-attempt retry with exponential backoff for reliability
- Rate-limited gracefully to respect the public API

**Keywords:** clinical trials, ClinicalTrials.gov, clinical trial tracker, drug development, pharma research, biotech, trial phase, enrollment, sponsor, FDA, medical research, IQVIA alternative, Citeline, drug pipeline, trial monitoring

# Actor input Schema

## `condition` (type: `string`):

Medical condition or disease to search trials for (e.g. 'diabetes', 'lung cancer')

## `intervention` (type: `string`):

Drug name or intervention type to filter by (optional)

## `status` (type: `array`):

Filter by trial status: RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING

## `phase` (type: `array`):

Filter by phase: PHASE1, PHASE2, PHASE3, PHASE4

## `maxResults` (type: `integer`):

Maximum number of trials to return

## Actor input object example

```json
{
  "condition": "type 2 diabetes",
  "intervention": "",
  "status": [
    "RECRUITING",
    "ACTIVE_NOT_RECRUITING"
  ],
  "phase": [
    "PHASE2",
    "PHASE3"
  ],
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("gochujang/clinical-trials-tracker").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("gochujang/clinical-trials-tracker").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 '{}' |
apify call gochujang/clinical-trials-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gochujang/clinical-trials-tracker"
        }
    }
}
```

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/oQEUWBj7zWFRWmDqF/builds/uTfXABa7diX0UICN1/openapi.json
