ClinicalTrials.gov Scraper avatar

ClinicalTrials.gov Scraper

Pricing

Pay per event

Go to Apify Store
ClinicalTrials.gov Scraper

ClinicalTrials.gov Scraper

Search ClinicalTrials.gov and export structured trial records — NCT ID, title, phase, status, sponsor, conditions, interventions, enrollment, locations, and start/completion dates — as clean JSON, CSV or Excel.

Pricing

Pay per event

Rating

0.0

(0)

Developer

DevilScrapes

DevilScrapes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 hours ago

Last modified

Share


🎯 What this scrapes

ClinicalTrials.gov holds the registry every pharma, CRO and biotech competitive-intel team works from, and its API v2 returns deeply nested JSON that is painful to flatten by hand. This Actor wraps it with a plain input form and hands back one flat row per trial, so you can pull a therapeutic-area landscape into a spreadsheet without writing a parser.

🔥 What we handle for you

pages the registry's cursor-based API and stops exactly on your result cap flattens deeply nested protocol sections into one predictable row per trial retries transient registry 5xx responses instead of failing the whole run

💡 Use cases

  • Map the competitive landscape for a therapeutic area before a portfolio review.
  • Track which sponsors are recruiting for a condition, and where.
  • Build a site-selection shortlist from countries already running comparable trials.
  • Monitor status changes on a watchlist of trials without checking the registry by hand.

⚙️ How to use it

  1. Click Try for free at the top of the page.
  2. Fill in the input form — most fields have sensible defaults.
  3. Click Start. Output streams into the run's dataset.
  4. Export from Storage → Dataset as JSON, CSV, or Excel — or fetch via the API.

📥 Input

FieldTypeRequiredDefaultNotes
conditionstringno'type 2 diabetes'Condition, disease or therapeutic area to search for. Maps to the registry's query.cond field. Example:…
searchTermstringno'—'Free-text terms matched across the whole record (query.term) — sponsor names, drug names, keywords. Leave…
phasesarrayno[]Restrict to these phases. Valid values: EARLY_PHASE1, PHASE1, PHASE2,…
overallStatusarrayno[]Restrict to these statuses, e.g. RECRUITING, COMPLETED, TERMINATED. Leave empty…
maxResultsintegerno100Stop after this many trials. Each trial is one billed result row.
proxyConfigurationobjectno{'useApifyProxy': False}ClinicalTrials.gov is a public government API and does not need a proxy. Leave this off unless your account requires…

Example input

{
"condition": "type 2 diabetes",
"maxResults": 3,
"proxyConfiguration": {
"useApifyProxy": false
}
}

📤 Output

Every row is one dataset item.

FieldTypeNotes
nct_idstringRegistry identifier, e.g. NCT01234567.
urlstringPublic study page URL.
brief_titlestringShort study title.
official_titlestringFull official title, when present.
overall_statusstringRecruitment status, e.g. RECRUITING.
phasesarrayTrial phases as reported by the registry.
study_typestringINTERVENTIONAL, OBSERVATIONAL, or EXPANDED_ACCESS.
lead_sponsorstringLead sponsor organisation name.
conditionsarrayConditions studied.
interventionsarrayIntervention names.
enrollment_countintegerEnrollment, actual or estimated.
start_datestringStudy start date as published (YYYY-MM or YYYY-MM-DD).
primary_completion_datestringPrimary completion date as published.
location_countriesarrayDistinct countries with a listed site.
brief_summarystringPlain-language study summary.

Example output

{}

💰 Pricing

Pay-Per-Event — you pay only when these events fire:

EventUSDWhat it is
actor-start$0.05One-off warm-up charge per run
result$0.002Per dataset item

Example: 1 000 results at the rates above ≈ $2.05. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

🚧 Limitations

  • Returns registry data only — it does not scrape linked publications or results tables.
  • Date fields are passed through exactly as the registry publishes them, which may be a month (2026-03) rather than a full date.

❓ FAQ

Do I need an API key?

No. ClinicalTrials.gov API v2 is public and keyless, so a run needs no credentials from you.

How fresh is the data?

It comes straight from the live registry at run time — whatever the registry shows, the run returns.

Can I get every trial for a condition?

Yes. Raise Maximum trials; the Actor pages through results until the registry runs out or your limit is reached.

💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an issue on the Actor's Issues tab on Apify Console — we ship fixes weekly and we read every report.