ClinicalTrials.gov v2 & openFDA Pharma / Biotech Data API avatar

ClinicalTrials.gov v2 & openFDA Pharma / Biotech Data API

Pricing

from $2.50 / 1,000 pharma records

Go to Apify Store
ClinicalTrials.gov v2 & openFDA Pharma / Biotech Data API

ClinicalTrials.gov v2 & openFDA Pharma / Biotech Data API

Fast, browserless HTTP API combining ClinicalTrials.gov v2 studies (with central & site contacts), openFDA drug approvals, and openFDA drug recall enforcement feeds into a single unified schema.

Pricing

from $2.50 / 1,000 pharma records

Rating

0.0

(0)

Developer

Franco García Bailez

Franco García Bailez

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

9 hours ago

Last modified

Features

Limited permissions

Share

High-speed, zero-browser, Pay-Per-Event API that unifies official US biomedical and pharmaceutical intelligence into one clean 23-field JSON schema—built for biotech investors, pharma BD/sales teams, competitive intelligence analysts, and AI agents (MCP / n8n / LangGraph).

Why use this Actor?

  • 100% Official APIs, Zero Scraping Fragility: Direct HTTP/JSON integration with ClinicalTrials.gov API v2 and openFDA (Drugs@FDA & Drug Enforcement). No Playwright, no residential proxies, ~1-3 second runs.
  • Unified 23-Field Schema: Query clinical trials, FDA drug approvals, and FDA drug recalls in parallel and get consistent records merged round-robin so no feed starves the others.
  • Trial Site & Central Contacts Extracted: Automatically extracts and deduplicates Principal Investigator / central study contacts (contactNames, contactEmails, contactPhones) alongside enrollment counts, phases, and completion dates.
  • Biotech & Hedge-Fund Ready Filters: Filter directly for PHASE3 + industrySponsorsOnly: true to isolate commercial biotech catalysts vs. academic studies.
  • Strict maxTotalChargeUsd Enforcement: Honors Apify's Pay-Per-Event budget cap before and after fetching so automated AI agents never overspend.

Supported Datasets

Dataset KeyOfficial SourceBest Used For
CLINICAL_TRIALSClinicalTrials.gov v2 (/api/v2/studies)Recruiting studies, Phase 2/3 catalysts, trial site & sponsor contacts, enrollment & completion timelines
FDA_APPROVALSopenFDA Drugs@FDA (/drug/drugsfda.json)NDA/BLA/ANDA approvals, active ingredients, dosage forms, routes, sponsor names
FDA_RECALLSopenFDA Drug Enforcement (/drug/enforcement.json)Class I/II/III recalls, recalling firms, recall reasons, dates, and distribution geography

Example Input

1. Commercial Phase 3 Oncology Catalysts (Biotech / BD)

{
"datasets": ["CLINICAL_TRIALS"],
"conditionOrDisease": "oncology",
"trialStatuses": ["RECRUITING"],
"phases": ["PHASE3"],
"industrySponsorsOnly": true,
"maxResultsPerDataset": 25
}

2. Full 3-Feed Drug & Therapeutic Area Intelligence

{
"datasets": ["CLINICAL_TRIALS", "FDA_APPROVALS", "FDA_RECALLS"],
"conditionOrDisease": "oncology",
"trialStatuses": ["RECRUITING"],
"maxResultsPerDataset": 25
}

Example Output Record

{
"dataset": "CLINICAL_TRIALS",
"recordId": "NCT06123456",
"title": "Phase 3 Study of Example Drug in Advanced Solid Tumors",
"sponsor": "Example Pharma Inc.",
"sponsorClass": "INDUSTRY",
"status": "RECRUITING",
"studyType": "INTERVENTIONAL",
"phases": ["PHASE3"],
"conditions": ["Solid Tumor", "Non-Small Cell Lung Cancer"],
"interventions": ["Example Drug", "Placebo"],
"enrollmentCount": 420,
"startDate": "2025-01-15",
"primaryCompletionDate": "2027-06-30",
"completionDate": "2028-03-01",
"countries": ["United States", "Germany", "Spain"],
"locationsCount": 34,
"contactNames": ["Jane Doe, MD"],
"contactEmails": ["trials@examplepharma.com"],
"contactPhones": ["+1-800-555-0199"],
"classification": null,
"reasonOrSummary": "Multicenter randomized double-blind Phase 3 study evaluating efficacy and safety...",
"url": "https://clinicaltrials.gov/study/NCT06123456",
"scrapedAt": "2026-11-30T09:40:00+00:00"
}

How Much Does It Cost?

This Actor uses transparent Pay-Per-Event (PPE) pricing with zero proxy fees and ultra-fast 128–512 MB execution:

EventFreeBronzeSilverGold / Platinum / Diamond
Actor Start (apify-actor-start)$0.005$0.005$0.005$0.005
Pharma record (apify-default-dataset-item)$0.004$0.0035$0.003$0.0025
  • Example cost for 100 pharma records: $0.405 on the Free tier ($0.005 + 100 × $0.004) down to $0.255 on Gold+ ($0.005 + 100 × $0.0025).
  • Strict Budget Protection: Checks maxTotalChargeUsd both before and after fetching so AI agents never exceed budget limits.

Use with AI Agents (Apify MCP Server — Claude Desktop & Cursor)

Connect this Actor directly to Claude Desktop, Cursor, or Windsurf via the hosted Apify MCP Server:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?actors=francogb/clinical-trials-openfda-pharma-api"
}
}
}

Tip: Load all 5 official-API Actors together in one MCP server by passing a comma-separated list: https://mcp.apify.com/?actors=francogb/eu-public-tenders-aggregator,francogb/eu-company-vat-lei-verifier,francogb/us-stock-insider-darkpool-altdata,francogb/b2b-domain-techstack-dns-email-intel,francogb/clinical-trials-openfda-pharma-api

Example AI prompt:

"Use francogb/clinical-trials-openfda-pharma-api to find recruiting Phase 3 oncology trials sponsored by industry (industrySponsorsOnly: true) and list the sponsor, enrollment count, primary completion date, and study contact emails."


Python SDK (apify-client) & cURL

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("francogb/clinical-trials-openfda-pharma-api").call(
run_input={
"datasets": ["CLINICAL_TRIALS", "FDA_APPROVALS", "FDA_RECALLS"],
"conditionOrDisease": "oncology",
"trialStatuses": ["RECRUITING"],
"phases": ["PHASE3"],
"industrySponsorsOnly": True,
"maxResultsPerDataset": 25,
}
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Fetched {len(items)} pharma/biotech records")

cURL (Synchronous Run for n8n, Make & Zapier)

curl -X POST "https://api.apify.com/v2/acts/francogb~clinical-trials-openfda-pharma-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"datasets": ["CLINICAL_TRIALS"],
"conditionOrDisease": "oncology",
"trialStatuses": ["RECRUITING"],
"phases": ["PHASE3"],
"industrySponsorsOnly": true,
"maxResultsPerDataset": 25
}'

FAQ

  • Does this Actor use browsers or residential proxies? No. It queries official ClinicalTrials.gov API v2 and openFDA REST endpoints directly over HTTP/JSON—zero Playwright and zero proxy costs.
  • How fast is a run and how fresh are the records? Typical multi-dataset runs finish in ~2–3 seconds and return live regulatory data directly from ClinicalTrials.gov and FDA APIs.
  • Does it extract Principal Investigator and site contact emails? Yes. For CLINICAL_TRIALS, central contacts and site-level contacts are extracted and deduplicated into contactNames, contactEmails, and contactPhones.
  • Is it ready for Apify MCP Server and n8n workflows? Yes. Complete input_schema.json, output_schema.json, and dataset_schema.json definitions are included for seamless integration with Claude Desktop, Cursor, n8n, Make, and LangGraph.

More Fast, Official-API Actors by francogb