# ClinicalTrials.gov Sponsor Scraper + FDA Approval Cross-Ref (`themineworks/clinicaltrials-sponsor-intelligence`) Actor

Scrape ClinicalTrials.gov trials by sponsor or condition with phase, status & completion date, then auto-flag FDA drug approvals to build pharma pipeline intelligence. No API key. Use it as an MCP server in Claude, ChatGPT & AI agents.

- **URL**: https://apify.com/themineworks/clinicaltrials-sponsor-intelligence.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Developer tools, MCP servers, AI
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 trial scrapeds

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/platform/actors/running/actors-in-store#pay-per-event

## 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

## ClinicalTrials Sponsor Intelligence — Pipeline & FDA Cross-Reference

Track **clinical trials by sponsor or condition** with phase, status, completion date — and optionally cross-reference each completed trial against FDA drug approvals to flag whether the intervention later received regulatory clearance. No API key required.

**Keywords:** ClinicalTrials.gov sponsor search, pharma pipeline tracker, FDA drug approval cross-reference, clinical trial competitive intelligence, drug pipeline data API.

---

### Why this actor

Five existing ClinicalTrials scrapers on Apify all do the same thing: generic keyword search returning basic trial metadata. None of them cross-reference FDA approvals. This actor is different. It targets a specific pharma business development use case: given a sponsor (e.g. Pfizer, AstraZeneca) or condition (e.g. lung cancer), retrieve all completed and terminated trials, then flag which ones led to an FDA NDA/BLA approval. That cross-reference turns raw trial data into pipeline intelligence.

- **Sponsor and condition filtering** with phase and status control.
- **FDA approval cross-reference** — flags whether each trial's intervention was subsequently approved.
- **Completed and terminated trials** by default — the trials where outcomes are known.
- **No API key** — ClinicalTrials.gov API v2 + openFDA, both open.

---

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `sponsor` | string | `Pfizer` | Sponsor name to search. |
| `condition` | string | — | Disease or condition. |
| `phase` | string | — | Comma-separated phases: PHASE1/2/3/4. |
| `status` | string | `COMPLETED,TERMINATED` | Enrollment statuses to include. |
| `crossRefFDA` | boolean | `true` | Cross-reference FDA drug approvals. |
| `maxResults` | integer | 100 | Max trials to return. |

---

### Output

```json
{
  "nct_id": "NCT02617797",
  "title": "A Study of Lorlatinib in ALK-Positive Non-Small Cell Lung Cancer",
  "phase": "PHASE 3",
  "overall_status": "COMPLETED",
  "start_date": "2016-04",
  "completion_date": "2022-06",
  "results_first_posted": "2023-01-10",
  "lead_sponsor": "Pfizer",
  "interventions": "DRUG:Lorlatinib",
  "fda_approved": true,
  "url": "https://clinicaltrials.gov/study/NCT02617797",
  "scraped_at": "2026-06-15T00:00:00.000Z"
}
````

***

### Pricing

**First 25 trials free per account**, then **$0.008 per trial** ($8 per 1,000). The premium price reflects the FDA cross-reference enrichment. Zero charge on empty runs.

***

### FAQ

**Why is the price higher than the Bulk Exporter?** This actor enriches each trial record with an FDA approval lookup — two API calls per trial instead of one. The result is intelligence, not just data.

**How accurate is the FDA cross-reference?** The actor matches the trial's first intervention name against FDA's drug approvals database by brand name. It is a signal, not a definitive confirmation — a `true` result means the drug name appeared in FDA approvals; manually verify the specific indication and approval date.

**Can I use this without FDA cross-referencing?** Yes — set `crossRefFDA: false` to retrieve trials without the FDA lookup step. This is faster and lower cost when you only need pipeline metadata.

**Who uses this?** Pharma business development teams tracking competitor pipeline outcomes; biotech investors assessing clinical stage companies; licensing teams identifying drugs with positive Phase 3 data; regulatory affairs professionals.

**Can I search by collaborator instead of lead sponsor?** The `sponsor` field searches both lead sponsors and collaborators on ClinicalTrials.gov. Enter a university, NIH institute, or CRO name to find trials where they appear in any sponsor role.

**How do I find all terminated trials for a sponsor?** Set `status: TERMINATED` and `sponsor` to the company name. Terminated trials with interventions that were never approved can surface pipeline failures — useful for competitive intelligence and due diligence.

### Use in Claude, ChatGPT & any MCP agent

This actor is also a **Model Context Protocol (MCP) server tool** — call it directly from Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI agent. The agent only pays for results delivered (same pay-per-result model).

- Per-actor MCP endpoint: `https://mcp.apify.com/?tools=themineworks/clinicaltrials-sponsor-intelligence`
- Full Mine Works MCP server (all tools): `https://the-mine-works-mcp.hatchable.site/api/mcp`

```js
// Call this actor as a tool via apify-client (Node)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('themineworks/clinicaltrials-sponsor-intelligence').call({ /* input from the table above */ });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

# Actor input Schema

## `sponsor` (type: `string`):

Trial sponsor or collaborator name (e.g. Pfizer, Roche, Harvard).

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

Disease or condition (e.g. lung cancer, diabetes, COVID-19).

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

PHASE1, PHASE2, PHASE3, PHASE4. Leave blank for all.

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

Trial statuses to include. Default: COMPLETED,TERMINATED

## `crossRefFDA` (type: `boolean`):

Look up whether the trial intervention later received FDA drug approval.

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

Maximum trials to return.

## Actor input object example

```json
{
  "sponsor": "Pfizer",
  "status": "COMPLETED,TERMINATED",
  "crossRefFDA": true,
  "maxResults": 25
}
```

# 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 = {
    "sponsor": "Pfizer",
    "status": "COMPLETED,TERMINATED",
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/clinicaltrials-sponsor-intelligence").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 = {
    "sponsor": "Pfizer",
    "status": "COMPLETED,TERMINATED",
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/clinicaltrials-sponsor-intelligence").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 '{
  "sponsor": "Pfizer",
  "status": "COMPLETED,TERMINATED",
  "maxResults": 25
}' |
apify call themineworks/clinicaltrials-sponsor-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=themineworks/clinicaltrials-sponsor-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ClinicalTrials.gov Sponsor Scraper + FDA Approval Cross-Ref",
        "description": "Scrape ClinicalTrials.gov trials by sponsor or condition with phase, status & completion date, then auto-flag FDA drug approvals to build pharma pipeline intelligence. No API key. Use it as an MCP server in Claude, ChatGPT & AI agents.",
        "version": "0.1",
        "x-build-id": "FkhIh63kxzgXEJ3ac"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/themineworks~clinicaltrials-sponsor-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-themineworks-clinicaltrials-sponsor-intelligence",
                "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/themineworks~clinicaltrials-sponsor-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-themineworks-clinicaltrials-sponsor-intelligence",
                "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/themineworks~clinicaltrials-sponsor-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-themineworks-clinicaltrials-sponsor-intelligence",
                "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": {
                    "sponsor": {
                        "title": "Sponsor name",
                        "type": "string",
                        "description": "Trial sponsor or collaborator name (e.g. Pfizer, Roche, Harvard)."
                    },
                    "condition": {
                        "title": "Condition / disease",
                        "type": "string",
                        "description": "Disease or condition (e.g. lung cancer, diabetes, COVID-19)."
                    },
                    "phase": {
                        "title": "Phase filter (comma-separated)",
                        "type": "string",
                        "description": "PHASE1, PHASE2, PHASE3, PHASE4. Leave blank for all."
                    },
                    "status": {
                        "title": "Status filter (comma-separated)",
                        "type": "string",
                        "description": "Trial statuses to include. Default: COMPLETED,TERMINATED"
                    },
                    "crossRefFDA": {
                        "title": "Cross-reference FDA approvals",
                        "type": "boolean",
                        "description": "Look up whether the trial intervention later received FDA drug approval.",
                        "default": true
                    },
                    "maxResults": {
                        "title": "Max trials",
                        "minimum": 1,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Maximum trials to return.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
