ClinicalTrials.gov Scraper – Trials, Phases & Sponsors avatar

ClinicalTrials.gov Scraper – Trials, Phases & Sponsors

Pricing

from $2.00 / 1,000 result rows

Go to Apify Store
ClinicalTrials.gov Scraper – Trials, Phases & Sponsors

ClinicalTrials.gov Scraper – Trials, Phases & Sponsors

Scrape ClinicalTrials.gov trials by keyword. Export NCT ID, title, status, phase, conditions, sponsor, enrollment and dates. Official ClinicalTrials.gov API v2 - no key, no browser. For pharma researchers, CROs and medical writers.

Pricing

from $2.00 / 1,000 result rows

Rating

0.0

(0)

Developer

QIQI

QIQI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

ClinicalTrials.gov Scraper – Trial Records, Phases & Sponsors

Every registered clinical trial matching your keyword, straight from the official ClinicalTrials.gov API v2 — no browser, no proxy, no API key.

ClinicalTrials.gov is the world's largest trial registry: 500,000+ studies registered by sponsors in 200+ countries, including phase, conditions, interventions, enrollment and sponsor for each one.

This Actor queries the registry's own documented JSON API and returns one flat row per trial, so you can load it into a spreadsheet, a CRM or a database without touching the deeply nested protocolSection tree the raw API returns.

Why this Actor

Typical scrapersThis Actor
Data sourceHTML pages and JavaScript render treesOfficial clinicaltrials.gov/api/v2 JSON API
Breaks on redesignOftenNo — versioned, documented endpoint
Proxies / CAPTCHAUsually neededNever
API keyVariesNone — anonymous public access
Output shapeNested modules, 10+ levels deepOne flat row per trial, fixed schema

What you get

One dataset item per clinical trial, with the fields below.

FieldTypeDescription
nct_idstringRegistry identifier, e.g. NCT03761914. Stable key, safe to de-duplicate on.
titlestringBrief title of the study as registered.
statusstringOverall recruitment status code, e.g. RECRUITING, COMPLETED.
phasestringTrial phase, e.g. Phase 2, Early Phase 1, Not Applicable. Multiple phases are joined with a pipe.
conditionsstringStudied conditions/diseases, pipe separated.
interventionsstringDrugs, devices, biologics and procedures with their type, pipe separated.
start_datestringStudy start date, YYYY-MM-DD. May be YYYY-MM when only the month was registered.
completion_datestringPrimary completion date, falling back to the overall completion date.
enrollmentnumberTarget or actual enrollment count, as registered.
sponsorstringLead sponsor name (company, university, hospital or agency).
urlstringPublic study page on clinicaltrials.gov.
  • completion_date -- Uses the primary completion date when present (when the last participant was measured for the primary outcome), and falls back to the overall completion date.
  • phase -- Multiple phases such as Phase 1 and Phase 2 are joined into Phase 1 | Phase 2; observational studies report Not Applicable.
  • enrollment -- The registry mixes target and actual counts and the API labels which — this Actor preserves the number and does not guess.

Input

ParameterTypeDefaultDescription
keywordstringpembrolizumabRequired. Disease, drug, intervention, sponsor or free-text phrase sent to the registry as query.term. Single words or short phrases work best (pembrolizumab, diabetic retinopathy, CAR-T).
maxResultsinteger25Maximum number of trial records to save. The API returns 100 studies per page, so the Actor walks through pages until this number is reached.
statusstring(empty)Comma-separated overall status codes to keep, e.g. RECRUITING or RECRUITING,ACTIVE_NOT_RECRUITING. Leave empty for all statuses. Valid codes: RECRUITING, ACTIVE_NOT_RECRUITING, ENROLLING_BY_INVITATION, NOT_YET_RECRUITING, COMPLETED, SUSPENDED, TERMINATED, WITHDRAWN, UNKNOWN.

Usage examples

1. Recent immunotherapy trials that are still recruiting

{
"keyword": "pembrolizumab",
"status": "RECRUITING",
"maxResults": 50
}

2. Everything registered for a disease, newest updates first

{
"keyword": "diabetic retinopathy",
"maxResults": 200
}

Schedule it daily with Apify Schedules and connect a webhook, Google Sheets or Airtable to track newly registered trials for a therapeutic area. Because every row carries a stable nct_id, de-duplicating across runs is a one-line operation.

Data notes

  • The registry is updated by sponsors, not by the Actor: a trial's status can change between runs.
  • Free-text search matches titles, conditions, interventions and summaries, so a broad keyword returns a broad set.
  • Records with no registered phase, enrollment or completion date are returned with empty values instead of being dropped.

Pricing

This Actor uses pay-per-event pricing. You only pay for what you actually get.

EventPriceWhen it is charged
Actor start$0.002Once per run
Result row$0.002 per rowFor every row saved to the dataset

That works out to $2 per 1,000 rows. A typical run returning 50 rows costs about $0.10 in total.

No subscription is required. You can cap your spend with the max cost per run setting in Apify Console, and an empty or invalid input charges only the start event.

FAQ

Do I need an API key or a ClinicalTrials.gov account?

No. API v2 is public and anonymous. There is nothing to register and no key to paste.

Is this legal?

Yes. ClinicalTrials.gov is a US government registry operated by the National Library of Medicine, and its API is published for exactly this kind of reuse. The Actor makes one request per 100 records and identifies itself with a normal user agent.

Why are some phase or enrollment values empty?

Because the sponsor did not register them. The registry allows several fields to be omitted, and the Actor returns empty values rather than inventing data.

Does it include trial results?

No. This Actor exports registry metadata (identification, status, design, conditions, interventions, sponsor). Posted results tables and adverse events are a separate API area and are not included.

More data tools from the same publisher:

Disclaimer

All data is retrieved in real time from ClinicalTrials.gov, a service of the U.S. National Library of Medicine, via its public API v2. This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the NIH, NLM or any government agency.

Registry records are self-reported by trial sponsors and can be incomplete, delayed or corrected after publication. Verify any record against its url before making clinical, regulatory or commercial decisions. This dataset is a research aid, not medical advice.