Clinical Trials API - ClinicalTrials.gov Search & Data Export avatar

Clinical Trials API - ClinicalTrials.gov Search & Data Export

Pricing

from $2.10 / 1,000 results

Go to Apify Store
Clinical Trials API - ClinicalTrials.gov Search & Data Export

Clinical Trials API - ClinicalTrials.gov Search & Data Export

Search ClinicalTrials.gov by condition, intervention, sponsor or status and pull clinical trial data into flat rows: NCT ID, status, phase, enrollment, sponsor, dates and locations. Ready for CSV, JSON or AI agent workflows, with no API key.

Pricing

from $2.10 / 1,000 results

Rating

0.0

(0)

Developer

Joseph McRell

Joseph McRell

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 hours ago

Last modified

Categories

Share

ClinicalTrials.gov Study Search

Search the official ClinicalTrials.gov API by condition, intervention, sponsor or keyword. Export NCT IDs, status, phase, enrollment, dates and study locations. This Actor turns the official ClinicalTrials.gov API v2 into bounded, structured datasets for analysis, enrichment, monitoring, and AI-agent workflows.

What data can I extract?

87 flat columns per study, covering everything the registry publishes about a trial:

  • Identity - NCT ID, brief and official titles, acronym, sponsor protocol number, secondary registry and grant IDs, registering organization, study URL
  • Status and dates - overall status, last known status, reason stopped, start, primary completion, completion, first posted, results posted and last update dates, each with its ACTUAL vs ESTIMATED flag
  • Sponsorship - lead sponsor and class, collaborators, responsible party and their title and affiliation, data monitoring committee, FDA-regulated drug and device flags
  • Subject matter - conditions, sponsor keywords, interventions and their brand names and types, plus normalized MeSH condition and intervention terms for reliable grouping
  • Design - phase, study type, enrollment with ACTUAL vs ESTIMATED flag, allocation, intervention model, primary purpose, masking and who is masked, observational model, time perspective, arm count and arm labels
  • Outcomes - primary and secondary outcome measures and the primary outcome time frame
  • Eligibility - minimum and maximum age, standard age brackets, sex, healthy volunteers, sampling method, study population and the full inclusion/exclusion criteria text
  • Sites and contacts - site count, recruiting-site count, countries, states, cities, facility list, first-site coordinates, central contact name, email and phone, and the overall official with their role and affiliation
  • Evidence - brief and detailed descriptions, linked PubMed IDs, IPD sharing policy, posted protocol/SAP/ICF document types, and adverse event term counts where results are posted

Every run writes flat records to the default dataset. Nested modules are flattened and lists are joined with commas, so a CSV or Excel export opens as one row per study with no post-processing. Download results as JSON, CSV, Excel, XML, or access them through the Apify API.

All 87 columns

Identitycentral_contact_name, intervention_other_names, nct_id, official_title, org_study_id, overall_official_name, pmids, responsible_party_title, secondary_ids, title

Statuscompletion_date_type, document_types, enrollment_type, has_expanded_access, has_results, intervention_types, is_fda_regulated_device, is_fda_regulated_drug, last_known_status, oversight_has_dmc, phase, primary_completion_date_type, responsible_party_type, start_date_type, status, status_verified_date, study_type

Datescompletion_date, last_update, primary_completion_date, results_first_post_date, start_date, study_first_post_date, version_date

Locationallocation, first_location_lat, first_location_lon, location_count, locations, recruiting_location_count, states

Peopleresponsible_party_investigator, sponsor, sponsor_class

Contactcentral_contact_email, central_contact_phone, url

Counts and measuresarm_count, countries, enrollment, other_adverse_event_count, serious_adverse_event_count

Other detailacronym, arm_groups, brief_summary, cities, collaborators, conditions, detailed_description, eligibility_criteria, healthy_volunteers, intervention_model, interventions, ipd_sharing, keywords, masking, max_age, mesh_conditions, mesh_interventions, min_age, observational_model, organization, organization_class, overall_official_affiliation, overall_official_role, primary_outcome_timeframe, primary_outcomes, primary_purpose, responsible_party_affiliation, sampling_method, secondary_outcomes, sex, std_ages, study_population, time_perspective, who_masked, why_stopped

Input example

{
"query": "Alzheimer disease",
"status": "RECRUITING",
"max_items": 100
}

max_items is a hard output and billing ceiling. The default input is intentionally limited to 10 records so Store tests and first runs stay inexpensive.

Output example

A real record from the input above, abridged to 30 of the 87 columns:

{
"nct_id": "NCT06582706",
"title": "Nicotinic Acid for the Treatment of Alzheimer's Disease",
"status": "RECRUITING",
"phase": "PHASE1, PHASE2",
"study_type": "INTERVENTIONAL",
"conditions": "Alzheimer Disease",
"mesh_conditions": "Alzheimer Disease",
"interventions": "Placebo Comparator, Extended Release Niacin",
"intervention_types": "DRUG",
"sponsor": "Indiana University",
"sponsor_class": "OTHER",
"collaborators": "Alzheimer's Association",
"enrollment": 30,
"enrollment_type": "ESTIMATED",
"allocation": "RANDOMIZED",
"intervention_model": "PARALLEL",
"primary_purpose": "TREATMENT",
"masking": "TRIPLE",
"primary_outcomes": "Change in nicotinic acid levels in blood and CSF",
"min_age": "60 Years",
"max_age": "85 Years",
"start_date": "2024-12-19",
"start_date_type": "ACTUAL",
"primary_completion_date": "2026-12",
"location_count": 1,
"recruiting_location_count": 1,
"countries": "United States",
"central_contact_email": "jbrosch@iu.edu",
"is_fda_regulated_drug": true,
"url": "https://clinicaltrials.gov/study/NCT06582706"
}

The dataset schema documents every field with a title, type, description, and example so humans and AI tools can inspect the contract before running it. Every example in that schema is a value observed in a live API response.

Use with AI agents and MCP

Apify's hosted MCP server can discover and call this Actor. A suitable agent request is:

Find 100 recruiting Alzheimer disease studies with NCT IDs, sponsors, phases, enrollment and locations.

Use this exact Actor input:

{
"query": "Alzheimer disease",
"status": "RECRUITING",
"max_items": 100
}

The Actor succeeds with a nonempty default dataset and exposes its default dataset through the top-level Output schema.

Pricing and cost control

Output is billed per result at $0.003 per result (about $3.00 per 1,000 results), plus a $0.0005 Actor-start charge billed once per gigabyte of memory at run start. Use max_items to cap both output volume and charges. The price shown on the Apify Store listing is authoritative.

Use max_items to cap returned and billable records. Invalid input is rejected before unnecessary work wherever possible.

Common use cases

  • Source-specific research and market intelligence
  • Structured exports for spreadsheets, warehouses and BI systems
  • Entity enrichment and monitoring pipelines
  • Retrieval and data collection by AI agents

Reliability

The Actor uses bounded pagination, retries transient upstream failures, deduplicates records where the source exposes stable identifiers, and fails explicitly when the source cannot provide usable output. Production default-input canaries verify a nonempty structured dataset in under five minutes.

Limitations and responsible use

  • Coverage, field availability and update timing are controlled by the upstream public source.
  • Optional fields can be null or absent when the source does not publish them.
  • This Actor does not bypass authentication, access controls, CAPTCHAs, or source rate limits.
  • Customers remain responsible for lawful use, applicable source terms, and restrictions on downstream decisions.

FAQ

What is the best way to run this ClinicalTrials.gov search Actor?

Start with the 10-record default, inspect the dataset, then increase max_items and narrow the available filters for your use case.

Do I need my own API key?

No external API key is required unless the Input tab explicitly says otherwise. Apify credentials are used normally when invoking the Actor through Apify APIs or MCP.

Can an AI agent call it?

Yes. The strict input schema acts as the tool signature, and the dataset plus Output schemas describe the returned records.

Can I export the results?

Yes. Apify datasets support JSON, CSV, Excel, XML and API retrieval.

Support and changes

Open an issue on the Actor page with a redacted input and run ID. See ./CHANGELOG.md for contract and maintenance updates.