ClinicalTrials.gov Scraper - Clinical Study Data API avatar

ClinicalTrials.gov Scraper - Clinical Study Data API

Pricing

from $2.50 / 1,000 results

Go to Apify Store
ClinicalTrials.gov Scraper - Clinical Study Data API

ClinicalTrials.gov Scraper - Clinical Study Data API

Scrape and export ClinicalTrials.gov study data as a clean JSON API: sponsors, phases, enrollment, conditions, interventions, locations, outcomes, and status.

Pricing

from $2.50 / 1,000 results

Rating

0.0

(0)

Developer

Evp Labs

Evp Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Categories

Features

Limited permissions

Share

Search ClinicalTrials.gov, the world's largest registry of clinical studies, and get back clean flat JSON records. Filter by keyword, condition, lead sponsor, recruitment status, or country, and pull sponsor, phase, enrollment, site locations, interventions, and primary outcomes for every matching study. Powered by the official public ClinicalTrials.gov API v2: no headless browser, no CAPTCHAs, no API key.

Why use it

  • Pharma & biotech competitive-intelligence teams: track every trial a competitor sponsors, monitor recruiting pipelines by indication, and watch status changes over time.
  • CROs and clinical-ops teams: find studies by condition, phase, or geography for feasibility and site-competition analysis.
  • Investors & analysts: follow the trial portfolios of companies in your coverage universe, including enrollment targets and completion dates.
  • Patient-recruitment agencies: enumerate actively recruiting studies in a condition and region to map the competitive landscape.
  • Researchers & data teams: pull a stable, structured snapshot of the registry without parsing the website yourself.

How it works

InputMaps to API parameterEffect
queryquery.termFree-text search over titles, interventions, descriptions; supports expert expressions like AREA[Phase]PHASE3
conditionquery.condCondition/disease filter
sponsorquery.term = AREA[LeadSponsorName]<name>Lead-sponsor filter, e.g. "Pfizer"
statusfilter.overallStatusRecruitment status filter
countryquery.locnStudies with at least one site in that location

Filters combine with AND, so condition: "lung cancer", sponsor: "AstraZeneca", status: "RECRUITING" returns only recruiting AstraZeneca lung-cancer studies. Results are paginated automatically until maxItems is reached.

Quick start input

Target source: clinicaltrials.gov. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

{
"condition": "lung cancer",
"status": "RECRUITING",
"country": "United States",
"maxItems": 10
}

The default input is intentionally small. Raise maxItems only after validating the first clinical study records.

Input

FieldTypeDefaultDescription
querystring"oncology"Free-text / expert search expression.
conditionstring""Condition or disease, e.g. "type 2 diabetes".
sponsorstring""Lead sponsor name, e.g. "Novartis".
statusenum"RECRUITING"any, RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, ENROLLING_BY_INVITATION, SUSPENDED, TERMINATED, WITHDRAWN.
countrystring""Location filter, e.g. "United States", "Germany", or a city.
maxItemsinteger10Maximum studies to output (1-1000), strictly enforced.
proxyConfigurationobject{ "useApifyProxy": false }Optional. The API is public and needs no proxy.

Output

One flat JSON item is produced per clinical study. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

Field reference

FieldTypeDescription
nctIdstringNCT number, the unique ClinicalTrials.gov identifier
briefTitlestringShort title of the study
officialTitlestringFull official title of the study
orgStudyIdstringSponsor's internal study identifier
urlstringClinicalTrials.gov study page URL
overallStatusstringRecruitment status (RECRUITING, COMPLETED, TERMINATED, ...)
leadSponsorstringName of the lead sponsor organization
leadSponsorClassstringSponsor class (INDUSTRY, NIH, OTHER_GOV, OTHER, ...)
collaboratorsstring[]Collaborating organizations listed on the study
conditionsstring[]Conditions or diseases studied
keywordsstring[]Keywords assigned to the study
phasesstring[]Trial phases (PHASE1, PHASE2, PHASE3, PHASE4, NA)
studyTypestringStudy type (INTERVENTIONAL, OBSERVATIONAL, EXPANDED_ACCESS)
enrollmentCountintegerPlanned or actual enrollment size
enrollmentTypestringWhether enrollmentCount is ESTIMATED or ACTUAL
startDatestringStudy start date (ISO)
completionDatestringStudy completion date (ISO, estimated or actual)
lastUpdateDatestringDate the record was last updated on ClinicalTrials.gov
locationsCountintegerNumber of recruitment sites listed
countriesstring[]Unique countries where the study has sites
interventionNamesstring[]Unique intervention/drug names tested
primaryOutcomesstring[]Primary outcome measures

Real sample output (latest live dataset)

{
"nctId": "NCT03750981",
"briefTitle": "C.A.P.A.B.L.E. (CrossFit® and Physical Activity: A Better Life Experience)",
"officialTitle": "Does High-Intensity Functional Training Improve Patient Movement and Quality of Life? A Study of CrossFit® in Cancer Survivors",
"orgStudyId": "2018-091",
"url": "https://clinicaltrials.gov/study/NCT03750981",
"overallStatus": "RECRUITING",
"leadSponsor": "Barbara Ann Karmanos Cancer Institute",
"leadSponsorClass": "OTHER",
"conditions": [
"Cancer Survivors"
],
"phases": [
"NA"
],
"studyType": "INTERVENTIONAL",
"enrollmentCount": 500,
"enrollmentType": "ESTIMATED",
"startDate": "2018-11-12",
"completionDate": "2028-11-30",
"lastUpdateDate": "2026-11-23",
"locationsCount": 1,
"countries": [
"United States"
],
"interventionNames": [
"12 week pilot intervention study."
],
"primaryOutcomes": [
"Enrollment rates",
"Change in functional performance and variability in functional performance among adult cancer survivors enrolled in a high-intensity functional training program",
"Change in self-reported health-related quality of life (HRQOL) and variability using the FACT questionnaire",
"Change in Body Composition"
]
}

Use with AI agents (MCP), n8n, Make, and Python

  • AI agents / MCP: add https://mcp.apify.com/?tools=evpp/clinicaltrials-gov to your MCP client, then ask the agent to scrape ClinicalTrials.gov data or export the latest dataset.
  • n8n / Make / Zapier: run Actor evpp/clinicaltrials-gov with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
  • Python: install the client with pip install apify-client and run:
import json
from apify_client import ApifyClient
client = ApifyClient()
run_input = json.loads('''{"condition":"lung cancer","status":"RECRUITING","country":"United States","maxItems":10}''')
run = client.actor("evpp/clinicaltrials-gov").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

Cost

Each run makes a small number of lightweight JSON requests to the official API (one request per page of up to 100 studies). A 10-item run finishes in seconds on minimal memory (256 MB). At the pay-per-event price of $2.50 per 1,000 results, pulling the complete trial portfolio of a sponsor or every recruiting study in a niche indication costs cents.

FAQ

Is this an official API? Yes. The Actor calls clinicaltrials.gov/api/v2/studies, the public JSON API maintained by the National Library of Medicine. No authentication is required and no HTML is scraped.

How do I find all trials sponsored by one company? Set sponsor to the company name, e.g. "Merck Sharp & Dohme" or just "Merck". The name is matched against the lead sponsor field; combine with status or condition to narrow further.

Can I filter to a specific phase? Yes: put AREA[Phase]PHASE3 (or PHASE1/PHASE2/PHASE4) in query. Example: query: "AREA[Phase]PHASE3 oncology".

Why do some studies have no phases or enrollmentCount? Observational studies and some records simply don't report those fields. Empty fields are omitted from output rather than returned as nulls.

Does it need proxies? No. Defaults run direct. The proxyConfiguration input exists for users who want their own proxy pool.

How fresh is the data? Every run queries the live API, so you always get the current registry state including the last update date of each record.