ClinicalTrials.gov Scraper – Studies API avatar

ClinicalTrials.gov Scraper – Studies API

Pricing

from $3.00 / 1,000 studies

Go to Apify Store
ClinicalTrials.gov Scraper – Studies API

ClinicalTrials.gov Scraper – Studies API

Search ClinicalTrials.gov studies by keyword, condition, intervention, sponsor, location, status and phase, or look up NCT ids. Get title, status, phases, conditions, interventions, sponsor, enrollment, key dates, sites and summary per study. Export JSON, CSV or Excel. Unofficial.

Pricing

from $3.00 / 1,000 studies

Rating

0.0

(0)

Developer

Unnoted

Unnoted

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Features

Limited permissions

Share

What does ClinicalTrials.gov Scraper – Studies API do?

ClinicalTrials.gov Scraper searches the US registry of clinical studies and returns each study as one flat row: title, recruitment status, phases, conditions, interventions, sponsor, enrollment, start and completion dates, sites and summary, ready to export or call by API.

Unofficial, not affiliated with ClinicalTrials.gov.

Main features: up to 100,000 studies per run, no login needed, export to JSON, CSV or Excel, and full API and scheduling support on Apify.

What data can you get from ClinicalTrials.gov?

Each study is one row with these fields:

FieldDescription
nctIdClinicalTrials.gov study id (e.g. NCT04882293) (always filled)
urlStudy page on clinicaltrials.gov (always filled)
briefTitleShort study title (always filled)
overallStatusRecruitment status (e.g. RECRUITING, COMPLETED, TERMINATED)
phasesTrial phases (e.g. PHASE2, PHASE3); NA for studies where phases don't apply; empty for observational studies
studyTypeINTERVENTIONAL, OBSERVATIONAL or EXPANDED_ACCESS
conditionsConditions or diseases studied
interventionsTreatments studied: [{ type, name }], e.g. { type: DRUG, name: Metformin }
leadSponsorLead sponsor organisation (empty when the sponsor is an individual)
leadSponsorClassLead sponsor type: INDUSTRY, NIH, FED, OTHER_GOV, NETWORK, OTHER, INDIV, …
collaboratorsCollaborating organisations
enrollmentNumber of participants
enrollmentTypeWhether enrollment is ACTUAL or ESTIMATED
startDateStudy start (YYYY-MM-DD or YYYY-MM, as registered)
primaryCompletionDatePrimary completion (YYYY-MM-DD or YYYY-MM)
completionDateStudy completion (YYYY-MM-DD or YYYY-MM)
locationsStudy sites: [{ facility, city, state, country }]
briefSummaryBrief summary of the study
officialTitleFull protocol title
acronymStudy acronym (e.g. SUSTAIN-6)
keywordsKeywords the sponsor registered
hasResultsWhether results are posted on ClinicalTrials.gov
firstPostedAtWhen the study was first posted (YYYY-MM-DD)
lastUpdatedAtWhen the record was last updated (YYYY-MM-DD)
scrapedAtWhen the study was collected (ISO 8601)

How to scrape ClinicalTrials.gov with ClinicalTrials.gov Scraper – Studies API

  1. Open ClinicalTrials.gov Scraper – Studies API on Apify and go to the Input tab.
  2. In Search terms, enter diabetes.
  3. In Max studies, enter 20.
  4. Click Start and wait for the run to finish. A small run like this one takes under a minute.
  5. Open the Output tab to see the results, or download them as JSON, CSV, Excel or HTML.

Input

See the Input tab for every option. The fields:

FieldNameWhat it doesDefault
querySearch termsWords to find anywhere in a study, as on ClinicalTrials.gov's "Other terms" box, e.g. diabetes, GLP-1, NCT04882293 or pembrolizumab AND melanoma.
conditionCondition or diseaseOnly studies of this condition or disease, e.g. type 2 diabetes, breast cancer, long covid. Synonyms are matched too.
interventionIntervention or treatmentOnly studies of this drug, device, procedure or other treatment, e.g. metformin, semaglutide, CAR-T.
sponsorSponsor or collaboratorOnly studies whose lead sponsor or a collaborator matches, e.g. Novo Nordisk, Pfizer, National Cancer Institute.
locationLocationOnly studies with a site matching this place: a country, state, city or facility name, e.g. Germany, Texas, Boston or Mayo Clinic.
statusRecruitment statusAny of: recruiting, not yet recruiting, enrolling by invitation, active not recruiting, completed, suspended, terminated, withdrawn, unknown.
phasesPhasesAny of: early phase 1, phase 1, phase 2, phase 3, phase 4, not applicable.
sortBySort byOrder of the results. With a sort by date, a run with Max studies set to 100 gets the 100 newest. Options: relevance (Relevance), lastUpdated (Last updated (newest first)), firstPosted (First posted (newest first)), startDate (Start date (latest first))."relevance"
nctIdsNCT idsNCT ids or study links, e.g. NCT04882293.
maxItemsMax studiesMaximum number of studies in total, across the search and the id list. You pay only for studies saved.100

Example input:

{
"query": "diabetes",
"maxItems": 20
}

Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. One real result:

{
"nctId": "NCT07703371",
"url": "https://clinicaltrials.gov/study/NCT07703371",
"briefTitle": "Kodo Millet Porridge and Its Effects on Gut Health and Metabolic Syndrome",
"overallStatus": "RECRUITING",
"phases": [
"NA"
],
"studyType": "INTERVENTIONAL",
"conditions": [
"Obesity & Overweight",
"Metabolic Syndrome",
"Gut Dysbiosis",
"Insulin Resistance",
"Dyslipidemia"
],
"interventions": [
{
"type": "DIETARY_SUPPLEMENT",
"name": "Kodo Millet Porridge Beverage"
}
],
"leadSponsor": "JSS MEDICAL COLLEGE, JSS ACADEMY OF HIGHER EDUCATION AND RESEARCH",
"leadSponsorClass": "OTHER",
"collaborators": [],
"enrollment": 50,
"enrollmentType": "ESTIMATED",
"startDate": "2026-06-01",
"primaryCompletionDate": "2026-10-16",
"completionDate": "2026-11-16",
"locations": [
{
"facility": "JSS Medical College, JSS Academy of Higher Education & Research(JSSAHER).",
"city": "Mysore",
"state": "Karnataka",
"country": "India"
}
],
"briefSummary": "Dietary fiber are components in foods that are not digested by human gastrointestinal enzymes (alpha amylase and alpha glucosidase) but are instead broken down and fermented by gut microbes. The byproducts generated during fermentation in the large intestine, primarily short-chain fatty acids (SCFA), bile acids, indoles, and their derivatives, circulate through the circulatory system to the liver, lungs, brain, adipose tissue, and muscles, where they modulate metabolism (suppress lipogenesis and alleviate insulin resistance) and immune function. Individuals who are overweight or obese frequently exhibit gut dysbiosis, characterized by lower SCFA producing commensals. This condition predisposes them to metabolic disorders such as insulin resistance, dyslipidemia, and hypertension, and contributes to conditions including type 2 diabetes, cardiovascular disease, and metabolic dysfunction-associated steatotic liver disease. Preclinical and clinical research have demonstrated that the consumption of fiber-rich foods maintains or restores gut microbiota health and diminishes the risk of metabolic disorders. Kodo millet (Paspalum scrobiculatum), a small millet, is rich in dietary fiber and we have developed a palatable kodo millet porridge beverage enriched with polyphenols and dietary fiber. The purpose of this study is to examine the effects of consuming Kodo millet porridge beverage as a nutritional supplement for 3 months, on gut microbiome richness (composition and diversity) and metabolic health in overweight or obese people.",
"officialTitle": "Impact of Dietary Fiber-Rich Kodo Millet Porridge Supplementation on Gut Microbiome and Metabolic Syndrome",
"acronym": "KMGMS",
"keywords": [
"Kodo Millet",
"Dietary Fiber",
"Gut Microbiome",
"Short-Chain Fatty Acids",
"16S rRNA Sequencing",
"Metabolic Syndrome",
"Obesity",
"Gut Dysbiosis",
"Dyslipidemia",
"Glycemia",
"Prebiotic",
"Small Millet",
"Porridge",
"Antioxidant",
"Inflammation"
],
"hasResults": false,
"firstPostedAt": "2026-07-14",
"lastUpdatedAt": "2026-07-14",
"scrapedAt": "2026-10-08T22:16:41.194Z"
}

How much does it cost to scrape ClinicalTrials.gov?

ClinicalTrials.gov Scraper – Studies API uses pay-per-event pricing: $3.00 per 1,000 studies (Study). You pay only for studies saved to the dataset; platform usage is included in the price. Each run also has Apify's standard start fee of a fraction of a cent.

StudiesPrice
100$0.30
1,000$3.00
10,000$30.00

Set Max items (and the run's maximum cost in the run options) to cap what a run can spend. The run stops when either limit is reached.

Use cases

  • Pharma and biotech intelligence: track a competitor's or a drug class's trials by sponsor or intervention, and see phases, status and dates change over time.
  • Site and patient recruitment: list recruiting studies for a condition in a country or city, with their sites.
  • Investment research: follow pipelines by phase and completion date ahead of readouts.
  • Medical and academic research: build datasets of studies for a disease, e.g. every completed phase 3 diabetes trial.
  • Monitoring: schedule a daily run sorted by last updated and send changes to Google Sheets, Slack or email.

Tips

  • Combine fields to narrow a search: condition breast cancer, intervention pembrolizumab, status recruiting, location Germany.
  • Search terms take ClinicalTrials.gov's own syntax too: AND, OR, NOT, quotes for phrases.
  • Sort by last updated to get the newest changes first; with a daily schedule, a small Max studies is enough.
  • Dates are as the sponsor registered them: some studies give only a month (YYYY-MM).
  • NCT ids are looked up directly, in any order; ids that don't exist are skipped.

FAQ

ClinicalTrials.gov Scraper – Studies API collects only data that ClinicalTrials.gov shows publicly to every visitor, and it leaves out personal data such as private profiles and contact details. Our Actors are ethical and do not extract private user data. Results could still contain personal data in titles or descriptions written by uploaders. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You are responsible for how you use the data.

Can I use it through an API?

Yes. Every Apify Actor has an API: start runs, pass input and read results over HTTP, or use the JavaScript and Python clients. See the API tab on the Actor page for ready-made examples.

Can I schedule runs and connect other apps?

Yes. Use Apify Schedules to run ClinicalTrials.gov Scraper – Studies API every hour, day or week, and integrations (Make, Zapier, Google Sheets, webhooks and more) to send the results where you need them.

Why did I get fewer results than expected?

The run stops at Max items or at the run's maximum cost, whichever comes first. ClinicalTrials.gov may also return fewer results for rare search terms. Duplicates across search terms are saved once. Check the run's RUN_SUMMARY record in the key-value store for the inputs that returned nothing.

What if it stops working?

Sites change. We run a daily check of our own and fix breakages quickly. If something looks wrong, open an issue in the Issues tab with the run link and we'll look at it.

Does it include results or eligibility criteria?

No. Each study row has whether results are posted (hasResults) and a link to the study page, where the full record, eligibility criteria and posted results are.

Why are some sponsors empty?

When the lead sponsor or a collaborator is registered as an individual, the name is left out, so every row names organisations only.

How many studies can one run get?

All of a search: a search for diabetes returns about 35,000 studies. Set Max studies to the number you need; you pay only for studies saved.

Is the data free to reuse?

ClinicalTrials.gov is a US National Library of Medicine service, and its records are public. Check its terms for how to cite it.

Not included

No personal data: no contact names, emails or phone numbers, no investigators, and no sponsor or collaborator registered as an individual. Sites are listed by facility and place only. Eligibility criteria, outcome measures and posted results are not included; each study links to its full record.

More Actors from us