ClinicalTrials.gov Scraper
Pricing
from $1.49 / 1,000 studies
Go to Apify Store
ClinicalTrials.gov Scraper
Search ClinicalTrials.gov and export clinical studies: status, phase, conditions, interventions, sponsor, enrollment, dates, site locations and eligibility. One row per study, no API key.
Search ClinicalTrials.gov and export one row per clinical study: status, phase, conditions, interventions, sponsor, enrollment, dates, trial locations and eligibility.
No API key and no login. It reads the public ClinicalTrials.gov API v2, the endpoint the registry publishes for programmatic access.
What can this clinical trials scraper do?
- Search by free text, condition, intervention, sponsor, or any combination.
- Filter by overall status on the server side.
- Filter by phase.
- Follow pagination until
maxItemsis reached. - Flatten nested study data into columns you can sort and filter.
- Keep every site location with its city, country and coordinates.
- Export JSON, CSV or Excel, and schedule a repeat through Apify.
What data can you extract?
| Field | Meaning |
|---|---|
| nctId | Registry identifier, for example NCT04829084 |
| briefTitle / officialTitle / acronym | Study titles |
| overallStatus | RECRUITING, COMPLETED, TERMINATED and so on |
| studyType | INTERVENTIONAL, OBSERVATIONAL, EXPANDED_ACCESS |
| phases | Phase list, for example PHASE2, or NA |
| conditions / keywords | Conditions studied |
| interventions | Intervention type and name pairs |
| leadSponsor / leadSponsorClass / collaborators | Who runs the study |
| enrollmentCount / enrollmentType | Target or actual enrollment |
| allocation / primaryPurpose | Design fields |
| startDate / primaryCompletionDate / completionDate | Study timeline |
| firstPostedDate / lastUpdatePostedDate | Registry dates |
| whyStopped | Reason given when a study stopped early |
| hasResults | Whether results are posted |
| primaryOutcome | First primary outcome measure |
| briefSummary | Short summary, trimmed to 1500 characters |
| eligibilitySex / minimumAge / maximumAge / healthyVolunteers | Eligibility basics |
| locations | Facility, city, state, country and coordinates per site |
| countries | Distinct countries, handy for filtering |
| studyUrl | Registry page for the study |
| scrapedAt | When this row was collected |
How to use it
- Put search terms in Search terms. The default is
diabetes. - Optionally add Condition, Intervention or Sponsor, and pick Overall status or Phase.
- Set Maximum studies. The default is 100, which keeps a first run small.
- Run it and download the dataset. Totals by status, phase and country land in the key-value store record
SUMMARY.
Notes
- The phase filter is applied to each returned study, so a run may read more studies than it keeps.
- The registry keeps updating studies, so two runs on different days can return different values for
overallStatusand enrollment.