ClinicalTrials.gov Trial Monitor (Trial Data JSON)
Pricing
from $1.60 / 1,000 study delivereds
ClinicalTrials.gov Trial Monitor (Trial Data JSON)
ClinicalTrials.gov trial records as JSON: NCT ID, title, status, conditions, interventions and phases when provided, enrollment, dates, sponsor, locations. Filter: condition, intervention, status, phase or date window. Registry metadata only - no participant data. For trial-landscape research.
Pricing
from $1.60 / 1,000 study delivereds
Rating
0.0
(0)
Developer
Steadfetch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
This Actor returns clinical study records from the official, keyless ClinicalTrials.gov API v2: one structured JSON item per study with the NCT id, brief and official titles, overall status, study type, phases, conditions, interventions, enrollment, start and completion dates, lead sponsor, collaborators, facility locations and the last-update date. It is meant for trial-landscape, pipeline and evidence research that needs registry metadata as data, not a web page. It is an official-API extractor, so no browser, login, proxy or CAPTCHA is involved.
Tested daily.
What it does
The Actor queries the ClinicalTrials.gov API v2 studies endpoint and writes one dataset item per clinical study.
- Date window:
sinceanduntilfilter on LastUpdatePostDate; whensinceis omitted the run covers the last 30 days. Because the run returns studies within the requested window, a dataset can lag the live registry and may not reflect the most current data; use a recentsince, or nountil, when you need the freshest records. - Filters:
condition,intervention,statusandphasenarrow the results and are combined with AND. - Paging: pages are requested in LastUpdatePostDate descending order with an opaque
pageToken; up to 1,000 studies are requested per page and up tomaxResultsper run. - Deduplication: studies are deduplicated by NCT id within the run, so a record repeated across pages is delivered and charged once.
- Mode:
extractor(default) delivers every matching study;monitorremembers the NCT ids delivered by previous runs that share the samestateKeyand delivers only new studies. - Validation: every item is checked against
.actor/dataset_schema.jsonbefore it reaches the dataset; withstrictSchematrue (the default) an invalid item fails the run. - Attribution and privacy: results carry the attribution "Courtesy of the U.S. National Library of Medicine" and NLM does not endorse this Actor. Only study-level and sponsor-organisation metadata is returned; participant records, contact persons, investigator names, emails and phone numbers are never requested or mapped.
How to use
- Set a last-update window (
since, and optionallyuntil) and any of the filters (condition,intervention,status,phase). - Run with the default example input to pull a small, recent slice of studies.
- To watch for newly registered or updated studies, set
modetomonitorwith a stablestateKeyand schedule the run; previously emitted NCT ids are skipped. - Read results from the dataset, the
overviewview, or through the API.
Run the shipped example input from the CLI:
$apify call steadfetch/clinicaltrials-gov-extractor --input='{"since":"2026-10-01","maxResults":10}'
Input
Input fields
| Field | Type | Required | Default/Prefill | Description | Example |
|---|---|---|---|---|---|
since | string | No | none (last 30 days) | ISO date (YYYY-MM-DD) applied to LastUpdatePostDate. | 2026-10-01 |
until | string | No | none | Optional ISO date (YYYY-MM-DD) upper bound for LastUpdatePostDate. | 2026-10-20 |
condition | string | No | none | Filter by condition or disease, for example diabetes or breast cancer. | breast cancer |
intervention | string | No | none | Filter by intervention or treatment, for example metformin. | metformin |
status | string | No | none | Filter by overall status; one value or a comma-separated list. | RECRUITING |
phase | string | No | none | Filter by phase: EARLY_PHASE1, PHASE1-PHASE4 or NA; short forms accepted. | PHASE2 |
maxResults | integer | No | 100 | Maximum number of studies to save (minimum 1, maximum 5000). | 10 |
mode | string | No | extractor | extractor delivers every matching study; monitor delivers only studies not emitted before for the same stateKey. | monitor |
stateKey | string | No | clinicaltrials-monitor-state | Key-value store key that remembers emitted NCT ids in monitor mode. | breast-cancer-phase2 |
strictSchema | boolean | No | true | Fail the run when an item does not match the output schema. | true |
Example input
{"since": "2026-10-01","maxResults": 10}
A wider, filtered monitor run using other documented fields:
{"since": "2026-09-20","condition": "breast cancer","status": "RECRUITING","phase": "PHASE2","maxResults": 40,"mode": "monitor","stateKey": "breast-cancer-phase2"}
Output
Example output
{"url": "https://clinicaltrials.gov/study/NCT02684435","title": "Contrast-enhanced Ultrasound of the Kidney","scrapedAt": "2026-10-20T08:30:00.000Z","nct_id": "NCT02684435","brief_title": "Contrast-enhanced Ultrasound of the Kidney","official_title": "Contrast-enhanced Ultrasound for Complex Kidney Lesion Diagnosis in Patients With CKD (CEUS CKD)","overall_status": "COMPLETED","study_type": "INTERVENTIONAL","phases": ["PHASE2"],"conditions": ["Chronic Kidney Disease", "Cystic Kidney Disease"],"interventions": ["DRUG: Perflutren lipid microsphere"],"enrollment_count": 63,"start_date": "2016-02","primary_completion_date": "2018-07-09","completion_date": "2018-07-09","lead_sponsor": "University of North Carolina, Chapel Hill","collaborators": ["Vanderbilt University"],"locations": [{ "country": "United States", "state": "North Carolina", "city": "Chapel Hill" }],"last_update_post_date": "2019-09-26","source_url": "https://clinicaltrials.gov/study/NCT02684435","source_attribution": "Courtesy of the U.S. National Library of Medicine"}
Partial registry dates are preserved exactly as published, so start_date can be 2016-02 as well as a full date.
Output fields
| Field | Type | Description |
|---|---|---|
url | string | Public ClinicalTrials.gov study page. |
title | string or null | Brief title, mirrored for the common Steadfetch envelope. |
scrapedAt | string | ISO 8601 UTC timestamp of the extraction. |
nct_id | string | ClinicalTrials.gov registry identifier. |
brief_title | string | Study brief title. |
official_title | string | Study official title. |
overall_status | string | Registry status, for example RECRUITING, COMPLETED or ACTIVE_NOT_RECRUITING. |
study_type | string | For example INTERVENTIONAL or OBSERVATIONAL. |
phases | array | Trial phases as published (EARLY_PHASE1, PHASE1-4 or NA). |
conditions | array | Conditions or diseases. |
interventions | array | Interventions formatted as "TYPE: Name" when a type is published. |
enrollment_count | integer | Target or actual enrollment published by the registry. |
start_date | string | Registry start date; partial dates (YYYY or YYYY-MM) preserved. |
primary_completion_date | string | Primary completion date as published. |
completion_date | string | Completion date as published. |
lead_sponsor | string | Organisation name only; no contact person is published. |
collaborators | array | Collaborating organisations. |
locations | array | Facility country, state and city; facility names, contacts and investigators are not extracted. |
last_update_post_date | string | LastUpdatePostDate used to select the study and deduplicate monitor runs. |
source_url | string | Public ClinicalTrials.gov study page. |
source_attribution | string | NLM attribution required by the source terms and conditions. |
Pricing
This Actor uses Apify pay-per-event pricing with the two synthetic platform events from .actor/pay_per_event.json:
apify-actor-start: 0.00005 USD per run. This is the Apify-recommended default and it includes the first 5 seconds of compute per run.apify-default-dataset-item: 0.003 USD per study, that is 3.00 USD per 1,000 results.
There is no custom per-item event, so a saved study is never double-billed. Items that fail schema validation, failed requests, retries, empty pages and studies already emitted by a monitor run are not billed as dataset items.
Works on the Apify free plan - about 1,666 studies for the $5 monthly credit ((5.00 USD - 0.0002 USD run-start at the default 4 GB memory) / 0.003 USD per study).
Other Steadfetch Actors
- OpenFDA Drug Labels Extractor - structured drug labels for the interventions these trials enroll.
- FDA Recall Monitor - recall notices that follow drugs and devices seen in trial data.
- Companies House Monitor - sponsor and collaborator entity records when you need to profile organisations.
- SEC EDGAR Monitor - filings from public biotech sponsors referenced by trials.
FAQ
Do I need an API key, account or login? No. The ClinicalTrials.gov API v2 studies endpoint is public and keyless; the Actor needs no credentials and uses no browser or proxy.
Does it scrape the ClinicalTrials.gov website? No. It uses the official API v2 endpoint and never parses the public search pages.
Does it return personal data? No. Only study-level metadata and sponsor-organisation names are mapped. Participant records, contact persons, investigators, emails and phone numbers are never requested.
How does monitor mode avoid charging twice?
It remembers the NCT ids it delivered under stateKey and skips those ids on later runs, so only new studies reach the dataset and trigger the per-result event.
What happens when no study matches? The run finishes successfully with an empty dataset. Only the start event applies; there is no per-result charge.
Are partial dates supported? Yes. ClinicalTrials.gov publishes some dates as YYYY-MM or YYYY, and they are preserved as published instead of being invented or rounded.
Support
Report bugs through the Issues tab on this Actor's Apify Store page or through the steadfetch actors repository issues. Please include the run ID and the input you used so the run can be reproduced.
Maintenance
Target: tested daily. The Actor is registered for the Steadfetch daily catalog QA (enablement pending as of 2026-10-22); tests run in CI on every push. When the scheduled runs are enabled they check that the ClinicalTrials.gov API v2 is reachable and that the output still matches the published schema. Failures are reported as issues in the Steadfetch Actors repository.
Maintenance status: the label Tested daily. Last verified: {YYYY-MM-DD}. will be published only after the first successful scheduled run is logged. Until then no verified date is claimed.
Keywords
clinical trials, ClinicalTrials.gov, clinical study data, trial status, clinical trial API, JSON dataset