# ClinicalTrials.gov Scraper (Studies, Sponsors, Sites) (`oddsdesk/clinical-trials-search`) Actor

Search ClinicalTrials.gov through its official API: NCT ID, title, status, phase, conditions, interventions, sponsor and collaborators, enrollment, key dates, countries and trial sites. Filter by condition, drug, sponsor, status, phase, country and recent updates. For pharma BD and CROs.

- **URL**: https://apify.com/oddsdesk/clinical-trials-search.md
- **Developed by:** [Jakob](https://apify.com/oddsdesk) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result rows

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

## ClinicalTrials.gov Clinical Trials Scraper

**ClinicalTrials.gov Scraper** searches the official **ClinicalTrials.gov** API and returns one clean row per study: NCT ID, titles, status, phase, study type, conditions, interventions, lead sponsor and collaborators, enrollment, start and completion dates, last update, whether results are posted, countries and trial site names.

### What you can do with it

- **Pharma and biotech business development:** track competitor pipelines by condition, drug or sponsor.
- **CROs and site networks:** find new recruiting studies and the sponsors behind them.
- **Investors and analysts:** follow phase 2 and 3 activity and completion dates.

### How to use it

1. Add **Conditions**, **Interventions**, **Sponsors** or other terms.
2. Optional: status, phase, country, study type, updated within N days.
3. Click **Start**. Results are sorted by last update, newest first.

**Example input**

```json
{
  "conditions": [
    "type 2 diabetes"
  ],
  "statuses": [
    "RECRUITING"
  ],
  "phases": [
    "PHASE3"
  ],
  "maxItems": 20
}
```

### What you get

| Field | Meaning |
|---|---|
| `nctId` | ClinicalTrials.gov ID |
| `title` | Title |
| `officialTitle` | Official title |
| `acronym` | Acronym |
| `status` | Status |
| `phases` | Phases |
| `studyType` | Interventional or observational |
| `conditions` | Conditions studied |
| `keywords` | Keywords |
| `interventions` | Drugs, devices or procedures tested |
| `leadSponsor` | Lead sponsor |
| `sponsorClass` | INDUSTRY, NIH, OTHER... |
| `collaborators` | Collaborators |
| `enrollment` | Planned or actual participants |
| `startDate` | Period of performance start |
| `primaryCompletionDate` | Primary completion date |
| `completionDate` | Study completion date |
| `firstPosted` | First posted |
| `lastUpdated` | Last update |
| `hasResults` | Results posted |
| `siteCount` | Number of trial sites |
| `countries` | Countries with sites |
| `sites` | Site names and cities |
| `summary` | Brief summary |
| `url` | Link to the record on the official site |
| `fetchedAt` | When this Actor fetched the row |

**Example row (real output)**

```json
{
  "nctId": "NCT07392190",
  "title": "A Study of Eloralintide (LY3841136) in Participants With Persistent Obesity Who Are Treated With a Weekly Incretin",
  "officialTitle": "A Phase 3 Randomized, Double-Blind, Placebo-Controlled Study to Investigate the Efficacy and Safety of Once Weekly Eloralintide in Adult Participants With Persistent Obesity or Overweight Treated With a Weekly Incretin, With and Without Type 2 Diabetes",
  "acronym": "ENLIGHTEN-6",
  "status": "RECRUITING",
  "phases": [
    "PHASE3"
  ],
  "studyType": "INTERVENTIONAL",
  "conditions": [
    "Overweight",
    "Obesity"
  ],
  "keywords": [
    "Amylin receptor agonist"
  ],
  "interventions": [
    "Drug: Eloralintide",
    "Drug: Placebo"
  ],
  "leadSponsor": "Eli Lilly and Company",
  "sponsorClass": "INDUSTRY",
  "collaborators": null,
  "enrollment": 900,
  "startDate": "2026-02-10",
  "primaryCompletionDate": "2028-06",
  "completionDate": "2028-07",
  "firstPosted": "2026-02-06",
  "lastUpdated": "2026-11-24",
  "hasResults": false,
  "siteCount": 184,
  "countries": [
    "Australia",
    "Belgium",
    "Brazil",
    "China",
    "Czechia",
    "India",
    "Israel",
    "Japan",
    "Mexico",
    "Puerto Rico",
    "Romania",
    "Spain",
    "Taiwan",
    "United States"
  ],
  "sites": [
    "Birmingham Clinical Research, Birmingham, Alabama, United States",
    "RIO Clinical Trials - Phoenix, Phoenix, Arizona, United States",
    "Headlands Research - Scottsdale, Scottsdale, Arizona, United States",
    "Novak Clinical Research - Tucson - North La Cholla Boulevard, Tucson, Arizona, United States",
    "Irvine Clinical Research, Irvine, California, United States",
    "Scripps Whittier Diabetes Institute, La Jolla, California, United States",
    "EndoTrials Center for Clinical Research, La Mesa, California, United States",
    "Peninsula Research Associates, Rolling Hills Estates, California, United States",
    "Care Access - Sacramento, Sacramento, California, United States",
    "Artemis Institute for Clinical Research, San Diego, California, United States",
    "Southern California Clinical Research, Santa Ana, California, United States",
    "University Clinical Investigators, Inc., Tustin, California, United States",
    "New England Research Associates, LLC, Bridgeport, Connecticut, United States",
    "Yale University School of Medicine, New Haven, Connecticut, United States",
    "Chase Medical Research, LLC, Waterbury, Connecticut, United States",
    "JEM Research Institute, Atlantis, Florida, United States",
    "AMR Clinical, Doral, Florida, United States",
    "Northeast Research Institute (NERI), Fleming Island, Florida, United States",
    "Jacksonville Center for Clinical Research, Jacksonville, Florida, United States",
    "New Horizon Research Center, Miami, Florida, United States",
    "St Johns Center for Clinical Research, Saint Augustine, Florida, United States",
    "Metabolic Research Institute, Inc., West Palm Beach, Florida, United States",
    "Teak Research Consults - Dunwoody, Dunwoody, Georgia, United States",
    "Center for Advanced Research & Education, Gainesville, Georgia, United States",
    "Family First Medical Center, Idaho Falls, Idaho, United States"
  ],
  "summary": "The main purpose of this study is to evaluate the efficacy and safety of eloralintide compared with placebo in participants with persistent obesity or overweight, with or without type 2 diabetes, and on stable incretin background therapy.\n\nParticipation in the study will last about 80 weeks.",
  "url": "https://clinicaltrials.gov/study/NCT07392190",
  "fetchedAt": "2026-11-24T23:57:00Z"
}
```

### Pricing

You pay per result: **$2.00 per 1,000 rows** ($0.002 per row), plus a small Apify start fee per run. Set **Max results** to cap the cost of any run. There's no monthly rental.

### Run it on a schedule

Most people use this Actor as a feed. In Apify Console, open **Schedules**, pick this Actor and a time (daily is typical), and connect an integration to send new rows to **Google Sheets, Slack, email, Zapier, Make, n8n or a webhook**. You can also call it from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Apify Python and JavaScript clients, or let an AI agent call it through the Apify MCP server.

### Is this allowed?

This Actor only reads **public study records from the official ClinicalTrials.gov API. Names, e-mails and phone numbers of study contacts and investigators are left out on purpose**. It does not log in anywhere or bypass any access control, and it is built to return business data, not personal data about individuals. You are responsible for using the data in line with the source's terms and the laws that apply to you (for example GDPR and anti-spam rules if you use company contact data for outreach).

*Not affiliated with or endorsed by the U.S. National Library of Medicine or NIH. Data is provided as-is from the official source.*

### Questions, bugs, ideas

Open an issue on the **Issues** tab and I'll look into it. If a source changes and something breaks, I fix it; Apify also tests this Actor automatically every day. Feature requests (a new field, a new filter, another source) are welcome.

More data tools from the same developer: [apify.com/oddsdesk](https://apify.com/oddsdesk).

# Actor input Schema

## `conditions` (type: `array`):

Diseases or conditions, e.g. type 2 diabetes, breast cancer.

## `interventions` (type: `array`):

Drug, device or procedure names, e.g. semaglutide.

## `sponsors` (type: `array`):

Lead sponsor or collaborator names, e.g. Pfizer.

## `terms` (type: `array`):

Any other search words.

## `statuses` (type: `array`):

Overall study status.

## `phases` (type: `array`):

Only keep these phases.

## `countries` (type: `array`):

Countries with a trial site, e.g. United States, Germany.

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

Interventional (testing a treatment) or observational studies.

## `updatedWithinDays` (type: `integer`):

Only keep studies updated in the last N days.

## `maxSites` (type: `integer`):

How many site names to list per study.

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

Maximum number of rows to return. You pay per row, so this also caps your cost.

## Actor input object example

```json
{
  "conditions": [
    "breast cancer"
  ],
  "statuses": [
    "RECRUITING"
  ],
  "studyType": "",
  "maxSites": 25,
  "maxItems": 200
}
```

# Actor output Schema

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

One row per result, as described in the README.

# 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 = {
    "conditions": [
        "breast cancer"
    ],
    "statuses": [
        "RECRUITING"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oddsdesk/clinical-trials-search").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 = {
    "conditions": ["breast cancer"],
    "statuses": ["RECRUITING"],
}

# Run the Actor and wait for it to finish
run = client.actor("oddsdesk/clinical-trials-search").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 '{
  "conditions": [
    "breast cancer"
  ],
  "statuses": [
    "RECRUITING"
  ]
}' |
apify call oddsdesk/clinical-trials-search --silent --output-dataset

```

## MCP server setup

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

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/Chr0R2Y37UKqOegOV/builds/PW61cFS5jJ2V4O510/openapi.json
