ClinicalTrials.gov Scraper - Clinical Trial Data & NCT Lookup
Pricing
from $1.00 / 1,000 run start fees
ClinicalTrials.gov Scraper - Clinical Trial Data & NCT Lookup
Export clinical trial data from ClinicalTrials.gov: search the clinical trial registry by condition, drug, sponsor, location or status, or look up NCT numbers. Get phases, enrolment, eligibility, outcomes, sponsors, countries and dates for pharma, biotech and research teams.
Pricing
from $1.00 / 1,000 run start fees
Rating
0.0
(0)
Developer
SR
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
Share
ClinicalTrials.gov Scraper
ClinicalTrials.gov Scraper exports clinical trial data from the official ClinicalTrials.gov registry. Search registered studies by condition, drug or other intervention, sponsor, location or recruitment status, or look up specific studies by NCT number. Each study becomes one structured row with status, phases, enrolment, eligibility, outcomes, sponsors, countries and dates, ready to export as JSON, CSV or Excel for pharma, biotech, investment and research teams.
What does ClinicalTrials.gov Scraper do?
The registry's website is built for reading one study record at a time; this Actor turns a search or a list of NCT numbers into a clean clinical trial dataset you can filter, join and analyse. It reads the registry's official public API v2, so the data is the same information the registry publishes, with no registry account or API key required on your side.
- Search the clinical trial registry with up to six combined filters.
- Look up a list of NCT numbers and keep your input order.
- Get one consistent row per study, with lists kept as lists and missing
values kept as
null. - Read a run summary with the total number of matching studies, the status breakdown and how many enrolment figures are estimates.
ClinicalTrials.gov Scraper input
All input fields are optional, but a run needs at least one search field or a non-empty list of NCT IDs. Search fields combine, so a condition, sponsor and recruitment status together narrow the results before they are returned. You do not need a registry account or a registry API key.
| Field | Meaning | Default |
|---|---|---|
condition | A disease or condition | No filter |
intervention | A drug, device or other intervention | No filter |
sponsor | Sponsoring organisation | No filter |
location | Country, state or city | No filter |
search | Other free-text search terms | No filter |
status | Overall recruitment status | Any status |
nct_ids | A list of NCT identifiers | Search mode |
limit | Maximum number of studies, from 1 to 5000 | 100 |
retries | Request attempts, from 1 to 6 | 3 |
The input form prefills condition with diabetes for an initial search.
This is a form suggestion: an API run with an empty input has no condition
filter and reports that a search term or NCT IDs are required.
Supported status filters include RECRUITING, NOT_YET_RECRUITING,
ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, WITHDRAWN, SUSPENDED
and ENROLLING_BY_INVITATION. Leave status empty for any recruitment status.
Clinical trial search
This input was used for a registry search of completed semaglutide studies sponsored by Novo Nordisk:
{"sponsor": "Novo Nordisk","intervention": "semaglutide","status": "COMPLETED","limit": 50}
NCT number lookup
For direct lookup, put identifiers in nct_ids. The list takes precedence over
search filters. Identifiers are trimmed and accepted in lowercase or uppercase;
results retain input order. Repeated identifiers produce one study row, rather
than duplicate records. The input limit also bounds the identifier prefix that
is examined, so remove unwanted identifiers before requesting a small limit.
This lookup mixes three existing studies with two unknown numbers and one malformed value:
{"nct_ids": ["NCT04666987", "NCT04368728", "nct00000102", "NCT99999999", "NCT00000000", "not-an-id"]}
It returns three study rows, NCT04666987, NCT04368728 and NCT00000102,
and reports the other three identifiers in the errors record.
ClinicalTrials.gov Scraper output
Each found study becomes one dataset row. Use Apify's dataset exports for JSON,
CSV or other supported formats. Missing source values remain null; absent
lists do not become empty text. The identifier nct_id is the stable join key
for comparing studies across your runs, and url opens the registry record.
This is the first row of the NCT lookup above, exactly as it was returned:
{"source": "clinicaltrials-scraper","fetched_at": "2026-10-06T03:26:49.762083+00:00","registry": "clinicaltrials_gov","trial_id": "NCT04666987","sponsor": "Novo Nordisk A/S","nct_id": "NCT04666987","title": "A Research Study Looking at Long-term Blood Sugar Control in People With Type 2 Diabetes Being Treated With Xultophy® in a Real-world Setting in Italy","official_title": "A Prospective, Non-interventional, Single Arm Study Investigating Long-term Glycaemic Control in Patients With Type 2 Diabetes Initiating Xultophy® (IDegLira) in a Realworld Setting in Italy","status": "COMPLETED","why_stopped": null,"study_type": "OBSERVATIONAL","phases": null,"allocation": null,"masking": null,"primary_purpose": null,"enrollment": 359,"enrollment_type": "ACTUAL","conditions": ["Diabetes Mellitus, Type 2"],"keywords": null,"lead_sponsor": "Novo Nordisk A/S","lead_sponsor_class": "INDUSTRY","collaborators": null,"interventions": ["Insulin degludec and liraglutide (IDegLira)"],"intervention_types": ["DRUG"],"primary_outcomes": ["Change in Glycated Haemoglobin (HbA1c)"],"minimum_age": "18 Years","maximum_age": null,"sex": "ALL","healthy_volunteers": null,"std_ages": ["ADULT","OLDER_ADULT"],"start_date": "2020-10-21","primary_completion_date": "2022-12-30","completion_date": "2023-02-10","first_posted": "2020-12-14","last_update_posted": "2024-04-03","location_count": 28,"countries": ["Italy"],"brief_summary": "The purpose of the study is to collect information on how Xultophy® works in patients like them with type 2 diabetes. Participants will get Xultophy® as prescribed to them by the study doctor. The study will last for about 18 months. Participants will be asked questions about their health and diabetes treatment as part of the normal study doctor's appointment.","has_results": false,"url": "https://clinicaltrials.gov/study/NCT04666987","position": 1}
The output keeps the following groups of fields:
- Identity:
nct_id,title,official_title,urlandposition. - Status and results:
status,why_stoppedandhas_results. - Study design:
study_type,phases,allocation,maskingandprimary_purpose. - Participants:
enrollment,enrollment_type,minimum_age,maximum_age,sex,healthy_volunteersandstd_ages. - Subject and interventions:
conditions,keywords,interventions,intervention_typesandprimary_outcomes. - Sponsorship:
lead_sponsor,lead_sponsor_classandcollaborators. - Geography:
location_countandcountries. - Dates:
start_date,primary_completion_date,completion_date,first_postedandlast_update_posted. - Description:
brief_summary, with up to 3000 characters.
Additional fields source, fetched_at, registry, trial_id and sponsor
make it easier to combine these studies with other structured datasets.
They accompany the original fields. Lists of collaborators and interventions
hold up to twenty distinct names, primary outcomes up to ten, and countries up
to thirty. These are summaries of the corresponding registry modules.
Dates retain the precision published by the registry. A date may contain a year, month and day, or only a year and month. Do not assume that a month-only value means the first day of that month when you compare study timelines.
Enrolment and summary records
Read enrollment_type before adding participant counts. ACTUAL is a reported
count; ESTIMATED is a recruitment target. Combining the two as if both were
achieved participation can overstate enrolment. healthy_volunteers and the age
fields describe the registry's eligibility information, rather than a complete
assessment of whether a person can participate.
The key-value store's summary record reports the number of returned studies,
the registry's total matching count, fetched pages, the status breakdown and
how many studies have estimated enrolment or posted results. If there are more
matches than the input limit, samplingNote explains that the result is a
subset. Narrow your search or raise the limit to collect more matching studies.
The errors record appears when a study or search could not be retrieved.
A malformed identifier produces bad_input; an unknown identifier produces
not_found. Other valid identifiers can still return their studies. An empty
run is a completed run with no dataset rows and an explanatory error record,
not a fabricated study filled with null values.
Use cases for clinical trial data
- Competitive intelligence. Track every study a competitor sponsors, by phase and status, and see which conditions and countries they invest in.
- Pipeline and investment research. Follow drug candidates from phase 1 to
completion, watch
why_stoppedfor terminated studies and compare start and completion dates across sponsors. - Site and market planning. Count recruiting studies per condition and
country with
location_countandcountriesto see where trials run. - Literature and evidence reviews. Build a clinical trial database extract
for a systematic review, with
has_resultsshowing which studies posted results. - Monitoring known studies. Re-run a fixed list of NCT numbers on a
schedule and compare
statusandlast_update_postedbetween runs.
ClinicalTrials.gov Scraper vs the ClinicalTrials.gov API
The registry's own API is free and complete, but you have to write the client: page through results, flatten deeply nested study modules, and handle malformed or unknown identifiers. The website's download is a manual export of one search at a time.
| This Actor | ClinicalTrials.gov API | Website download | |
|---|---|---|---|
| Code required | No | Yes | No |
| Flat row per study | Yes | No, nested modules | Partly |
| NCT list lookup in one run | Yes, in input order, with per-ID errors | Yes, via an ID filter you build | No |
| Run summary and error report | Yes | No | No |
| Scheduling and integrations | Apify schedules, webhooks, API | Your own | Manual |
| Cost | Per run and per study | Free | Free |
Choose the API if you want the full raw record and can maintain your own code. Choose this Actor when you want ready-to-use clinical trial data in a spreadsheet, a database or an automated workflow.
Pricing
The existing price is $0.001 per run start plus $0.0015 per delivered study. The start fee applies even when input is invalid or no studies match. An empty dataset incurs no study events. Duplicate identifiers and unknown studies do not create additional delivered study charges. A run that delivers 100 studies therefore costs $0.151.
Free-plan users receive at most 10 study rows per run. The Actor reports when this cap is reached. The study event count follows the delivered rows; the search summary can describe the larger collection requested before that delivery cap. Platform account spending limits can also constrain charges. Check Apify's run information when analysing billing for a particular run.
FAQ
Can I search by drug and sponsor together?
Yes. Combine intervention and sponsor, and add a condition or recruitment
status if you need a narrower set. The registry applies these search filters.
Why is enrolment marked ESTIMATED?
That value describes the source's expected recruitment, rather than a final participant count. Keep the enrolment type alongside the number in your exports.
What happens when an NCT ID does not exist?
The Actor reports a not_found error for that identifier and does not invent
a study row. Found studies in the same input list can still be exported.
Does an empty search cost a study event?
No. Only delivered studies create study events. The existing run start fee still applies, including when the registry reports no matching studies.
How many studies can one run return?
Up to 5000, set with limit. The summary record tells you how many studies
matched in total, so you can split a large search by status, condition or
location.
Do I need a ClinicalTrials.gov API key?
No. The registry's public API needs no key, and the Actor handles paging and retries for you.
Can these records identify a suitable trial for a patient?
Use the records to find and compare registered studies and inspect their source pages. Study status and eligibility summaries are registry information; review the complete record and study contact details for participation questions.