ClinicalTrials.gov API — Official Study Search, No Key
Pricing
Pay per usage
ClinicalTrials.gov API — Official Study Search, No Key
Search ClinicalTrials.gov with the official v2 API and return clean study records: NCT ID, title, status, phase, conditions, sponsor, dates and summary. No API key and no login. Hosted wrapper of a public US government API, not an HTML scraper.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Renvo Life
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 hours ago
Last modified
Categories
Features
Share
Search ClinicalTrials.gov and export flattened study records. This Actor calls the official ClinicalTrials.gov v2 API (documentation). There is no API key, no login, and no HTML scraping. If you have been looking for a ClinicalTrials.gov scraper, start here: the official API is the supported way to get the same study fields.
Independent tool, not affiliated with the U.S. National Library of Medicine or NIH. Trial data is provided by ClinicalTrials.gov; do not treat this as medical advice.
Use cases
- Pull a list of studies for a condition, drug, sponsor or NCT ID into a spreadsheet or pipeline.
- Filter to recruiting (or another official status) without writing pagination code.
- Move off the retired classic ClinicalTrials.gov API (
/api/query/...) and the oldmin_rnk/max_rnkparameters. This Actor usesquery.term, optionalfilter.overallStatus, andpageToken.
What you get
| Field | Description |
|---|---|
nctId | NCT identifier |
briefTitle / officialTitle | Study titles |
overallStatus | e.g. RECRUITING, COMPLETED |
studyType | Interventional, observational, etc. |
phases | Phase list when present |
conditions | Condition names |
interventions | Intervention names |
sponsor | Lead sponsor |
startDate / completionDate | Dates as returned by the API |
enrollmentCount | Planned or actual enrollment |
briefSummary | Short description |
url | Canonical study page |
Example input
{"query": "type 2 diabetes","status": "RECRUITING","maxResults": 50}
status is optional. Leave it empty for every status.
Example output
{"nctId": "NCT06694935","briefTitle": "A Phase 1b Study of QX1206 in T2DM Patients With NAFLD","overallStatus": "RECRUITING","conditions": ["Type 2 Diabetes Mellitus (T2DM)", "Non-Alcoholic Fatty Liver Disease (NAFLD)"],"url": "https://clinicaltrials.gov/study/NCT06694935","source": "https://clinicaltrials.gov"}
Pricing
The Actor itself is free to use for now. You only pay the usual Apify platform usage for the run (compute, storage, and other platform costs on your Apify account).
FAQ
Do I need an API key? No. The official v2 API does not require a key or a login.
Is this an HTML scraper?
No. It is a hosted convenience wrapper of the public US government API. Anyone can call that API directly for free. The value is a ready-made Apify input, flattened fields, and pagination with nextPageToken.
The classic API or my old expr / min_rnk query returns 0 results.
The v2 endpoint uses different parameter names (query.term, pageSize, pageToken, filter.overallStatus). This Actor already sends the v2 names.
Can I page through all matching studies?
The Actor follows official page tokens until it reaches your maxResults cap (up to 1,000 studies per run).
Notes
- The Actor pages politely and stays under typical unauthenticated rate guidance.
How to run locally
cd clinicaltrials-gov-apinpm installmkdir -p storage/key_value_stores/defaultecho '{"query":"type 2 diabetes","maxResults":30}' > storage/key_value_stores/default/INPUT.jsonAPIFY_LOCAL_STORAGE_DIR=./storage npm start