ClinicalTrials.gov Scraper
Pricing
from $0.35 / 1,000 study returneds
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
Maintained by CommunityActor 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)
- 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"}
- Click Start. Leave any field empty to skip that filter; filters are combined with AND.
- Open the Output tab and export as CSV, Excel or JSON. Raise
maxResultsonce 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.
| nctId | briefTitle (shortened) | status | phase | leadSponsor | enrollment | countries |
|---|---|---|---|---|---|---|
| NCT05569772 | Semaglutide for glucose intolerance after gestational diabetes | RECRUITING | PHASE3 | Universitaire Ziekenhuizen KU Leuven | 252 | Belgium |
| NCT07653477 | Phase III study of UBT251 injection in type 2 diabetes (UNIGUIDE-2) | RECRUITING | PHASE3 | The United Bio-Technology (Hengqin) Co., Ltd. | 956 | China |
| NCT06897475 | LY3457263 vs placebo on a stable dose of semaglutide or tirzepatide | RECRUITING | PHASE2 | Eli Lilly and Company | 200 | Canada, 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):
| Input | API field | Example |
|---|---|---|
query | free-text over the whole record | GLP-1, long COVID |
condition | condition / disease | type 2 diabetes |
intervention | intervention / drug / device | semaglutide |
sponsor | lead sponsor / collaborator | Pfizer |
titles | words in the study title | migraine prevention |
nctId | a specific study id | NCT03470961 |
status | recruitment status (multi-select) | RECRUITING, COMPLETED |
phase | trial phase | PHASE3 |
studyType | interventional / observational | INTERVENTIONAL |
sort | result ordering | LastUpdatePostDate: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.