# Clinical Trials Sponsors & Contacts (ClinicalTrials v2) (`nexus-b2b-data/clinical-trials-pharma-leads`) Actor

Extract recruiting clinical trials, pharma and biotech sponsors, study phases, medical conditions, interventions, trial sites, and published study contact emails/phones directly from the official ClinicalTrials.gov REST API v2. Built for CROs, pharma B2B sales, Clay, n8n, and AI MCP agents.

- **URL**: https://apify.com/nexus-b2b-data/clinical-trials-pharma-leads.md
- **Developed by:** [Kendall Gomez](https://apify.com/nexus-b2b-data) (community)
- **Categories:** Lead generation, Business, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 extracted records

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 Sponsors & Contacts (ClinicalTrials v2)

Extract active and recruiting clinical trials, commercial **pharma and biotech sponsor companies, trial phases (Phase 1/2/3/4), enrollment targets, study countries, principal investigators, and published central study contact emails/phones** directly from the official **ClinicalTrials.gov REST API v2**.

Built for **Contract Research Organizations (CROs), clinical software vendors, medical device suppliers, pharma recruiting agencies, biotech investors, Clay/n8n/Make pipelines, and healthcare AI MCP agents**.

### Why Biotech & Healthcare B2B Teams Use This Actor

1. **Commercial Pharma Filter (`industrySponsorsOnly`):** Instantly isolates funded private biotech and pharma sponsors (`INDUSTRY`), filtering out academic and non-commercial studies.
2. **Direct Published Contacts (`centralContacts` & `overallOfficials`):** Extracts officially published study contact names, emails, phone numbers, and study directors.
3. **Freshly Updated Trials:** Sorted by `LastUpdatePostDate:desc` so you capture new Phase 2/3 launches and newly recruiting sites first.
4. **Zero Scraping Fragility:** Direct official NIH/NLM v2 JSON API with low memory footprint (`128-256 MB` RAM).

### Input Example

```json
{
  "condition": "oncology",
  "status": "RECRUITING",
  "industrySponsorsOnly": true,
  "countryFilter": "United States",
  "maxItems": 25
}
```

### Output Example

```json
{
  "nctId": "NCT07041606",
  "briefTitle": "Phase 3 Study of Targeted Therapy in Advanced Oncology",
  "acronym": "TARGET-3",
  "overallStatus": "RECRUITING",
  "startDate": "2026-06-01",
  "lastUpdateDate": "2026-11-20",
  "leadSponsorName": "AstraZeneca",
  "sponsorClass": "INDUSTRY",
  "collaborators": [],
  "phases": ["PHASE3"],
  "studyType": "INTERVENTIONAL",
  "enrollmentCount": 420,
  "conditions": ["Endometrial Cancer"],
  "countries": ["United States", "Germany", "France"],
  "siteCount": 38,
  "centralContacts": [
    { "name": "Clinical Study Info Center", "role": "CONTACT", "phone": "1-877-240-9479", "email": "info@example-pharma.com" }
  ],
  "overallOfficials": [
    { "name": "Dr. Alex Morgan", "role": "STUDY_DIRECTOR", "affiliation": "AstraZeneca" }
  ],
  "studyUrl": "https://clinicaltrials.gov/study/NCT07041606",
  "extractedAt": "2026-11-24T23:59:00.000Z"
}
```

### AI Agent & MCP Ready

Connect via `mcp.apify.com` so biotech and healthcare AI agents can query active commercial trials and sponsor pipelines with Pay-Per-Event (`result-item`) billing.

# Actor input Schema

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

Condition or disease area to search (e.g., 'oncology', 'diabetes', 'alzheimer', 'cardiology'). Leave empty for broad search.

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

Trial status filter (e.g., 'RECRUITING', 'NOT_YET_RECRUITING', 'ACTIVE_NOT_RECRUITING').

## `industrySponsorsOnly` (type: `boolean`):

When true, returns only private commercial pharma/biotech trials (sponsorClass = INDUSTRY) and skips university/government studies.

## `countryFilter` (type: `string`):

Optional country name substring for trial locations (e.g., 'United States', 'Germany', 'United Kingdom').

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

Cap on total clinical trial records emitted (controls Pay-Per-Event spend).

## Actor input object example

```json
{
  "condition": "oncology",
  "status": "RECRUITING",
  "industrySponsorsOnly": true,
  "countryFilter": "",
  "maxItems": 15
}
```

# Actor output Schema

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

Structured JSON/CSV/Excel dataset containing all extracted B2B records.

## `runSummary` (type: `string`):

Summary JSON record stored in the default Key-Value Store.

# 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 = {
    "condition": "oncology",
    "status": "RECRUITING",
    "industrySponsorsOnly": true,
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexus-b2b-data/clinical-trials-pharma-leads").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 = {
    "condition": "oncology",
    "status": "RECRUITING",
    "industrySponsorsOnly": True,
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("nexus-b2b-data/clinical-trials-pharma-leads").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 '{
  "condition": "oncology",
  "status": "RECRUITING",
  "industrySponsorsOnly": true,
  "maxItems": 15
}' |
apify call nexus-b2b-data/clinical-trials-pharma-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexus-b2b-data/clinical-trials-pharma-leads"
        }
    }
}
```

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/h4KKngguGGLc7ixGQ/builds/EDFeFNoN6BgQ0bX9X/openapi.json
