# Clinical Trials Monitor (`primesieve/clinical-trials-monitor`) Actor

- **URL**: https://apify.com/primesieve/clinical-trials-monitor.md
- **Developed by:** [Prime Sieve](https://apify.com/primesieve) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 clinical trial studies

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## ClinicalTrials.gov Clinical Trial Monitor

Monitor clinical trials on [ClinicalTrials.gov](https://clinicaltrials.gov) by condition, phase, recruitment status, sponsor type, or geography. Pulls full study metadata straight from the official keyless API — no API key, no proxy, no captchas.

Built by **Prime Sieve** — solo dev intelligence for people who build, ship, and track what matters. Data-driven deep dives land in the [Remote Signal newsletter](https://remotesignal.substack.com).

### Why this actor

Pharma, CROs, biotech investors, and clinical researchers all need a live pulse on trial activity. This actor gives you structured, filterable trial data in JSON/CSV in one run:

- **Track competitors** — see every Phase 3 INDUSTRY-sponsor trial a rival is running
- **Site/CRO staffing signal** — new recruiting trials = new capacity demand
- **Therapeutic-area monitoring** — every new trial for a condition, updated after a date
- **Investor diligence** — enrollment counts, completion dates, sponsor classes per vertical

### What you get

Each dataset item is one trial with flattened, analyst-ready fields:

| Field | What it is |
|---|---|
| `nctId` | ClinicalTrials.gov identifier (NCT...) |
| `briefTitle` / `officialTitle` | Study titles |
| `overallStatus` | RECRUITING, ACTIVE\_NOT\_RECRUITING, COMPLETED... |
| `startDate` / `primaryCompletionDate` / `completionDate` | Timeline dates |
| `lastUpdatePostDate` | When the record last changed (for monitors) |
| `leadSponsor` / `leadSponsorClass` | Sponsor + class (INDUSTRY, NIH, OTHER...) |
| `collaborators` | Partner orgs |
| `studyType` / `phases` / `enrollmentCount` | Design + size |
| `conditions` / `interventions` | Condition and treatment arms |
| `eligibilityCriteria` / `healthyVolunteers` / `sex` / `minimumAge` / `maximumAge` | Participant criteria |
| `primaryOutcomes` / `secondaryOutcomes` | Endpoint measures + timeframes |
| `locations` / `locationsCount` / `countries` | All trial sites, flattened |
| `url` | Link back to the study page |

### Input

| Field | Default | Meaning |
|---|---|---|
| `term` | `diabetes` | Keyword / condition / drug, e.g. `CAR-T`, `Alzheimer`, `NCT05233592` |
| `maxResults` | `50` | Max studies to return (1–1000, paginated) |
| `recruitmentStatus` | `[]` | RECRUITING, COMPLETED, TERMINATED... (multi-select) |
| `phase` | — | EARLY\_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA |
| `sponsorType` | — | INDUSTRY, NIH, OTHER\_GOV... |
| `studyType` | — | INTERVENTIONAL, OBSERVATIONAL, EXPANDED\_ACCESS |
| `country` | — | e.g. `United States`, `Germany`, `Japan` |
| `updatedAfter` | — | ISO date `YYYY-MM-DD`; only trials updated since then |

### Example use cases

- `term: "Alzheimer"` + `phase: PHASE3` + `sponsorType: INDUSTRY` → competitive pipeline map
- `term: "CAR-T"` + `recruitmentStatus: RECRUITING` + `country: "United States"` → site staffing leads
- `term: "diabetes"` + `updatedAfter: "2026-01-01"` → what changed this year

### Pricing

Pay-per-event. You are charged a small fixed fee per run plus a tiny per-study fee. Because the source is the official free API, results cost a fraction of scraped alternatives.

### Notes

- Uses the official [ClinicalTrials.gov API v2](https://clinicaltrials.gov/data-api/about-api) — no anti-bot risk, no proxy cost.
- Data is public domain (US government); no auth needed.
- Dedupe by `nctId` if you run scheduled monitors and diff against previous runs.

***

**About Prime Sieve** — independent solo-dev intelligence. Tools like this one power the [Remote Signal newsletter](https://remotesignal.substack.com): what's actually changing in tech, hiring, and regulated markets, stripped of noise. Subscribe free.

# Actor input Schema

## `term` (type: `string`):

Keyword, condition, drug or disease to search. e.g. 'diabetes', 'CAR-T', 'Alzheimer'

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

Maximum number of studies to return (1–1000, paginated 50/page). Default 50.

## `recruitmentStatus` (type: `array`):

Filter by recruitment status (can repeat). One or more of: RECRUITING, ACTIVE\_NOT\_RECRUITING, COMPLETED, TERMINATED, WITHDRAWN, NOT\_YET\_RECRUITING, ENROLLING\_BY\_INVITATION, SUSPENDED

## `phase` (type: `string`):

Filter by trial phase. Options: EARLY\_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA

## `sponsorType` (type: `string`):

Filter by lead sponsor type: INDUSTRY, NIH, U.S. FED, NETWORK, OTHER, INDIV, OTHER\_GOV, UNKNOWN

## `studyType` (type: `string`):

Filter by study type: INTERVENTIONAL, OBSERVATIONAL, EXPANDED\_ACCESS

## `country` (type: `string`):

Filter by country where trial is located. e.g. 'United States', 'Germany', 'Japan'

## `updatedAfter` (type: `string`):

Only return studies updated after this ISO date (YYYY-MM-DD). Useful for monitoring new/modified trials.

## Actor input object example

```json
{
  "term": "diabetes",
  "maxResults": 50,
  "recruitmentStatus": [
    "RECRUITING"
  ]
}
```

# Actor output Schema

## `nctId` (type: `string`):

National Clinical Trial number, e.g. NCT05233592

## `briefTitle` (type: `string`):

Short study title shown on the listing

## `officialTitle` (type: `string`):

Full official study title

## `orgStudyId` (type: `string`):

Sponsor's internal study identifier

## `overallStatus` (type: `string`):

Current recruitment/study status

## `startDate` (type: `string`):

Study start date (YYYY-MM-DD)

## `primaryCompletionDate` (type: `string`):

Primary completion date (YYYY-MM-DD)

## `completionDate` (type: `string`):

Study completion date (YYYY-MM-DD)

## `lastUpdatePostDate` (type: `string`):

Date the record was last updated on ClinicalTrials.gov

## `leadSponsor` (type: `string`):

Organization leading the study

## `leadSponsorClass` (type: `string`):

Sponsor type: INDUSTRY, NIH, OTHER, etc.

## `collaborators` (type: `string`):

Partner organizations (comma-separated)

## `studyType` (type: `string`):

INTERVENTIONAL, OBSERVATIONAL, or EXPANDED\_ACCESS

## `phases` (type: `string`):

Trial phases (comma-separated)

## `enrollmentCount` (type: `string`):

Number of enrolled participants

## `conditions` (type: `string`):

Medical conditions studied (comma-separated)

## `interventions` (type: `string`):

Interventions tested (type: name; comma-separated)

## `eligibilityCriteria` (type: `string`):

Full inclusion/exclusion criteria text

## `healthyVolunteers` (type: `string`):

Whether healthy volunteers are accepted

## `sex` (type: `string`):

Participant sex eligibility

## `minimumAge` (type: `string`):

Minimum participant age

## `maximumAge` (type: `string`):

Maximum participant age

## `primaryOutcomes` (type: `string`):

Primary outcome measures

## `secondaryOutcomes` (type: `string`):

Secondary outcome measures

## `locationsCount` (type: `string`):

Number of trial sites

## `countries` (type: `string`):

Countries where the trial runs (comma-separated)

## `locations` (type: `string`):

Trial site locations as JSON string

## `url` (type: `string`):

Link to the study on ClinicalTrials.gov

# 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 = {
    "term": "diabetes",
    "maxResults": 50,
    "recruitmentStatus": [
        "RECRUITING"
    ],
    "country": "",
    "updatedAfter": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("primesieve/clinical-trials-monitor").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 = {
    "term": "diabetes",
    "maxResults": 50,
    "recruitmentStatus": ["RECRUITING"],
    "country": "",
    "updatedAfter": "",
}

# Run the Actor and wait for it to finish
run = client.actor("primesieve/clinical-trials-monitor").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 '{
  "term": "diabetes",
  "maxResults": 50,
  "recruitmentStatus": [
    "RECRUITING"
  ],
  "country": "",
  "updatedAfter": ""
}' |
apify call primesieve/clinical-trials-monitor --silent --output-dataset

```

## MCP server setup

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

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/TYlmwfzeaHEMnbid7/builds/g1TET36W6q1xgwhQx/openapi.json
