ClinicalTrials.gov API — Official Study Search, No Key avatar

ClinicalTrials.gov API — Official Study Search, No Key

Pricing

Pay per usage

Go to Apify Store
ClinicalTrials.gov API — Official Study Search, No Key

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

Renvo Life

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 hours ago

Last modified

Features

Limited permissions

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 old min_rnk / max_rnk parameters. This Actor uses query.term, optional filter.overallStatus, and pageToken.

What you get

FieldDescription
nctIdNCT identifier
briefTitle / officialTitleStudy titles
overallStatuse.g. RECRUITING, COMPLETED
studyTypeInterventional, observational, etc.
phasesPhase list when present
conditionsCondition names
interventionsIntervention names
sponsorLead sponsor
startDate / completionDateDates as returned by the API
enrollmentCountPlanned or actual enrollment
briefSummaryShort description
urlCanonical 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-api
npm install
mkdir -p storage/key_value_stores/default
echo '{"query":"type 2 diabetes","maxResults":30}' > storage/key_value_stores/default/INPUT.json
APIFY_LOCAL_STORAGE_DIR=./storage npm start