Clinical Trials from ClinicalTrials.gov: Search and Export
Pricing
from $1.00 / 1,000 trial exporteds
Clinical Trials from ClinicalTrials.gov: Search and Export
Search and export clinical trials from the official ClinicalTrials.gov API by condition, drug, sponsor, location, status, phase, study type and start date, or by NCT ID. Status, phases, sponsors, dates, enrollment, sites and countries. Pay per trial.
Pricing
from $1.00 / 1,000 trial exporteds
Rating
0.0
(0)
Developer
Markus Heiß
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Features
Share
Search and export clinical trials from ClinicalTrials.gov. Enter a condition, a drug or other intervention, a sponsor or a location, filter by recruitment status, phase, study type and start date, and get one row per trial with the status, phases, conditions, interventions, sponsor, collaborators, key dates, enrollment, a short summary, the trial sites and the countries. Or list NCT IDs and fetch these trials directly.
Built for pharma and biotech market research, competitive intelligence, site and country planning, AI agents and RAG pipelines. The Actor reads the official free ClinicalTrials.gov API v2. It does not export contact persons, investigators, emails or phone numbers.
Not affiliated with the U.S. National Library of Medicine or NIH. All trial data comes from ClinicalTrials.gov. The data is not medical advice.
What it does
- Searches ClinicalTrials.gov by condition, intervention, other terms, sponsor or collaborator and location. The search fields accept the ClinicalTrials.gov search syntax, so
AND,OR,NOT, quotes and brackets work. - Filters by overall status (recruiting, completed, terminated and more), phase (early phase 1 to phase 4), study type (interventional, observational, expanded access) and start date range.
- Fetches by NCT ID: list up to 10,000 IDs like
NCT04086082. Old IDs that were merged into another record are resolved to the current trial. - Sorts by relevance, last update, start date or enrollment.
- Exports the trial sites: the number of sites, all countries and up to 50 sites with facility, city and country.
- Summary in the key-value store: total matching trials, trials per status and the top countries.
- Polite with the API: one request at a time, at most one request every 2 seconds, backoff on HTTP 429 and 5xx, and a clean stop when the service stays down.
Use cases
- Competitive intelligence: list all recruiting phase 3 trials for a condition or a drug class and see who sponsors them.
- Pipeline tracking: schedule the Actor weekly with a sponsor and the sort "Last update" to catch new trials and status changes.
- Site and country planning: see in which countries and cities trials for an indication run, and how many sites they have.
- AI agents and RAG pipelines: give an agent structured trial records with stable NCT IDs and links to the official record.
- Literature and evidence work: export completed trials with results for a condition as a starting list.
Input
| Field | Description | Default |
|---|---|---|
| Condition or disease | Like lung cancer or (head OR neck) AND pain | |
| Intervention or treatment | Drug, device or procedure, like pembrolizumab | |
| Other terms | Free text across the whole record | |
| Sponsor or collaborator | Like Pfizer or National Cancer Institute | |
| Location | City, state, country or facility, like Germany | |
| Overall status | Any of the ClinicalTrials.gov statuses, like Recruiting or Completed | all |
| Phase | Early phase 1, Phase 1 to 4, Not applicable | all |
| Study type | Interventional, Observational, Expanded access | all |
| Start date from, Start date to | Start date range of the trial | all |
| NCT IDs | Fetch these trials directly. The search fields are then ignored. | |
| Max trials | 1 to 10,000 | 50 |
| Sort by | Relevance, last update, start date (newest or oldest first), enrollment | relevance |
At least one search field, filter or NCT ID is needed.
Example, recruiting phase 2 and phase 3 trials for type 2 diabetes with sites in Germany that started since 2024:
{"condition": "type 2 diabetes","location": "Germany","overallStatus": ["RECRUITING"],"phases": ["PHASE2", "PHASE3"],"startDateFrom": "2024-01-01","maxTrials": 200}
Example, three trials by NCT ID:
{"nctIds": ["NCT04086082", "NCT06411210", "NCT00000102"]}
Output
One dataset item per trial:
{"nctId": "NCT06411210","title": "Obesity Complicating Type 1 Diabetes: GLP-1 Analogue Anti-obesity Treatment","officialTitle": "Obesity Complicating Type 1 Diabetes in Young Adults: Physiology and Impact of GLP-1 Analogue Anti-obesity Treatment on Cardiometabolic Risk Factors","acronym": null,"overallStatus": "RECRUITING","phases": ["PHASE2"],"studyType": "INTERVENTIONAL","conditions": ["Diabetes type1", "Obesity"],"interventions": [{ "type": "DRUG", "name": "Semaglutide Pen Injector" },{ "type": "DRUG", "name": "Placebo" }],"leadSponsor": "Yale University","leadSponsorClass": "OTHER","collaborators": ["National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)", "Novo Nordisk A/S"],"startDate": "2024-07-16","primaryCompletionDate": "2028-04-30","completionDate": "2028-06-30","enrollment": 54,"enrollmentType": "ESTIMATED","hasResults": false,"briefSummary": "More than 40% of young adults with type 1 diabetes (T1D) also have overweight or obesity...","locationCount": 1,"countries": ["United States"],"locations": [{ "facility": "Yale Pediatric Diabetes Center", "city": "New Haven", "country": "United States" }],"lastUpdate": "2026-08-04","url": "https://clinicaltrials.gov/study/NCT06411210","query": "condition \"diabetes\", status RECRUITING","error": null}
nctIdis the ClinicalTrials.gov identifier.urlopens the official record.overallStatus,phases,studyTypeand the interventiontypeuse the API values, likeACTIVE_NOT_RECRUITING,PHASE2orDRUG.- Dates are as registered. Some are only a month, like
2028-12. Future dates are estimates. enrollmentis the planned (ESTIMATED) or final (ACTUAL) number of participants, seeenrollmentType.briefSummaryis trimmed to about 1,000 characters.leadSponsorClassisINDUSTRY,NIH,FED,OTHER_GOV,NETWORK,OTHER,INDIVorUNKNOWN. For individual sponsors (INDIV) the name is left out, because it is often a person. Collaborators of that class are left out too.locationCountandcountriescover all sites.locationsholds the first 50.queryis the search as the Actor ran it, or the NCT ID you entered.- A search without matches, an invalid or unknown NCT ID and errors return one free item with
errorset, for exampleNo study with this NCT ID on ClinicalTrials.gov.
Export the dataset as JSON, CSV or Excel, or read it through the Apify API.
Pricing
Pay per trial: 0.001 USD per exported trial, so 1 USD per 1,000 trials. Searches without matches, invalid IDs and errors are free. Set Max trials or the maximum charge in Apify to cap the cost of a run.
Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.
Limits
- The Actor sends at most one request every 2 seconds and reads up to 200 trials per request. 1,000 trials take about 15 seconds, 10,000 about 2 minutes.
- At most 10,000 trials and 10,000 NCT IDs per run. Split larger exports by date range or status.
- When NCT IDs are given, all search fields and filters are ignored. The same holds in the API when a search field holds only NCT IDs.
- A trial with several phases (phase 1/2) matches each of them.
- A search text with a syntax error, like an unbalanced bracket, returns a free error item with the message from ClinicalTrials.gov.
- No contact persons, investigators, officials, emails or phone numbers are exported. Site facility names are exported as registered.
- Not exported: eligibility criteria, outcome measures, arms and results data.
Data source, permitted use and legal
- Data source: ClinicalTrials.gov, read through the public ClinicalTrials.gov API v2. ClinicalTrials.gov is run by the U.S. National Library of Medicine. This Actor is not affiliated with or endorsed by the National Library of Medicine, NIH or HHS.
- No medical advice: The data describes registered studies as reported by their sponsors. It is not medical advice and not a recommendation to join a trial. Talk to a doctor before any health decision.
- Snapshot: Results show ClinicalTrials.gov at the time of the run. We do not guarantee that they are complete, current or correct. Sponsors update their records, and NLM does not verify all of them.
- For business use: This Actor is offered to businesses only, not to consumers.
- Permitted use: Use the data in line with the ClinicalTrials.gov terms and conditions and the disclaimer. Name ClinicalTrials.gov as the source, and do not suggest that NLM endorses your product.
- Your responsibility: You choose the searches and decide what happens with the results. If your input or the results contain personal data, you are the controller and need your own legal basis.
- No circumvention: The Actor uses public, unauthenticated endpoints only. It does not bypass rate limits, blocks or access restrictions.
- Request volume: One request at a time, at most one request every 2 seconds for the whole run (ClinicalTrials.gov allows about 50 per minute per IP), exponential backoff on HTTP 429 and 5xx, and it stops when the service stays down. Do not use it to put excessive load on ClinicalTrials.gov.
- Provider: forgeloop, Markus Heiss, Austria. Imprint, Privacy Notice, Terms of Use.
Questions and issues
Open an issue on the Actor page.