ClinicalTrials.gov Scraper avatar

ClinicalTrials.gov Scraper

Pricing

from $0.35 / 1,000 study returneds

Go to Apify Store
ClinicalTrials.gov Scraper

ClinicalTrials.gov Scraper

Scrape clinical-trial records from the official ClinicalTrials.gov v2 REST API. Query by condition, intervention, sponsor, status, phase or free text. One record per study — NCT id, title, status, phase, sponsor, conditions, interventions, enrollment, dates, locations + the raw study. Pay per study.

Pricing

from $0.35 / 1,000 study returneds

Rating

0.0

(0)

Developer

Datamule

Datamule

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Categories

Share

Scrape clinical-trial registry records from the official ClinicalTrials.gov v2 REST API (https://clinicaltrials.gov/api/v2/studies) — the U.S. NIH registry of clinical studies. No API key, no login. One clean dataset record per study, with a flat set of normalized columns plus the complete raw study object so nothing is lost.

Typical job: list every study matching a disease, drug, sponsor or status (for example, all recruiting type 2 diabetes trials testing semaglutide) and export them as a table: NCT id, title, status, phase, sponsor, enrollment, dates, countries and a link to each study.

Quick start (about 1 minute)

  1. Open the Input tab. It opens pre-filled with this narrow job (the same input is the ready-to-run example):
{
"condition": "type 2 diabetes",
"intervention": "semaglutide",
"status": ["RECRUITING"],
"maxResults": 5,
"pageSize": 5,
"sort": "LastUpdatePostDate:desc"
}
  1. Click Start. Leave any field empty to skip that filter; filters are combined with AND.
  2. Open the Output tab and export as CSV, Excel or JSON. Raise maxResults once the rows look right.

What the output looks like

Rows from a local test run of the input above on 2026-09-24 (ClinicalTrials.gov reported 50 matches; the run was capped at 5). Live results change as the registry updates.

nctIdbriefTitle (shortened)statusphaseleadSponsorenrollmentcountries
NCT05569772Semaglutide for glucose intolerance after gestational diabetesRECRUITINGPHASE3Universitaire Ziekenhuizen KU Leuven252Belgium
NCT07653477Phase III study of UBT251 injection in type 2 diabetes (UNIGUIDE-2)RECRUITINGPHASE3The United Bio-Technology (Hengqin) Co., Ltd.956China
NCT06897475LY3457263 vs placebo on a stable dose of semaglutide or tirzepatideRECRUITINGPHASE2Eli Lilly and Company200Canada, Germany, Poland, Puerto Rico, United Kingdom, United States

Each row also has officialTitle, conditions, interventions, startDate, completionDate, lastUpdatePostDate, locations, hasResults, studyUrl (for example https://clinicaltrials.gov/study/NCT05569772) and the full raw study object.

Cost of the quick start: 5 studies x $0.0005 = $0.0025 on the free tier (lower per-study price on paid plans), plus small platform usage. 1,000 studies cost about $0.50 at the free-tier rate.

Limits: data is whatever ClinicalTrials.gov publishes (registry records, not patient data or full result tables). A filter that matches nothing returns 0 rows and no per-study charge.

What it does

Query the registry by any combination of filters (the API ANDs them together):

InputAPI fieldExample
queryfree-text over the whole recordGLP-1, long COVID
conditioncondition / diseasetype 2 diabetes
interventionintervention / drug / devicesemaglutide
sponsorlead sponsor / collaboratorPfizer
titleswords in the study titlemigraine prevention
nctIda specific study idNCT03470961
statusrecruitment status (multi-select)RECRUITING, COMPLETED
phasetrial phasePHASE3
studyTypeinterventional / observationalINTERVENTIONAL
sortresult orderingLastUpdatePostDate:desc

maxResults caps how many studies you get; the actor paginates automatically (opaque nextPageToken, up to 1000 studies per request) until it reaches the cap or the result set is exhausted.

Output

One dataset record per study. Normalized convenience columns:

nctId, briefTitle, officialTitle, acronym, overallStatus, studyType, phases, phase, conditions, interventions, interventionTypes, leadSponsor, leadSponsorClass, collaborators, enrollment, startDate, primaryCompletionDate, completionDate, lastUpdatePostDate, locations (facility / city / state / country), locationCountries, hasResults, studyUrl

…plus raw — the complete, untouched study object from the API (protocolSection, derivedSection, …) so any field not surfaced above is still available.

Example input

{
"condition": "diabetes",
"intervention": "metformin",
"status": ["RECRUITING"],
"phase": "PHASE3",
"maxResults": 200,
"sort": "LastUpdatePostDate:desc"
}

A query that matches nothing returns 0 records and succeeds (never an error).

Pricing

Pay-per-event: charged per study returned.

Source

Data comes from the U.S. National Library of Medicine's ClinicalTrials.gov v2 API (https://clinicaltrials.gov/data-api/api). ClinicalTrials.gov data is in the public domain. This actor is an independent tool and is not affiliated with or endorsed by NIH / NLM.