clinicaltrials-database
Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.
Author
Category
Other ToolsInstall
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
ClinicalTrials.gov Database - Clinical Trial Search and Data Export API
Overview
The ClinicalTrials.gov Database skill provides access to the global clinical trials registry maintained by the U.S. National Library of Medicine via API v2. It supports multidimensional searches and export of clinical trial data by disease, drug, location, status, and more, and can be used without authentication.
Use Cases
1. Patient Matching and Referral
Find clinical trials that are recruiting for a specific disease or patient population, filter trial sites by geographic location to locate nearby centers, obtain inclusion and exclusion criteria, and help clinicians and patients' families find suitable treatment opportunities.
2. Clinical Research and Data Analysis
Researchers can analyze clinical trial trends, study design patterns, and result distributions, export data in bulk for statistical analysis, and track research progress and drug development dynamics in specific disease areas.
3. Pharmaceutical Industry Competitive Intelligence
Pharmaceutical companies and investors can monitor the clinical trial status of specific drugs or interventions, track competitors' pipelines, and analyze the geographic distribution of trials and sponsor organizations.
Core Features
1. Multidimensional Search and Filtering
Supports precise filtering and combined queries by disease name (query.cond), intervention/drug (query.intr), geographic location (query.locn), sponsor (query.spons), trial status (e.g., RECRUITING, COMPLETED), and trial phase (Phase 1–4), enabling quick identification of target trials.
2. Trial Details Retrieval
Retrieve full information for a single trial by NCT number (e.g., NCT04852770), including trial title, study design, inclusion/exclusion criteria, enrollment, contacts, and trial locations. Supports eligibility screening and contacting the study team.
3. Bulk Data Export
Supports JSON and CSV output formats. A single request returns up to 1,000 records, and pagination can be used to retrieve all matching results. Exported data can be used directly in Excel, Python/R, or other data tools for further processing.
Frequently Asked Questions
Does the ClinicalTrials.gov API require registration or authentication?
No. The ClinicalTrials.gov API v2 is a fully public API and can be called directly without applying for an API key or registering an account. Note that the rate limit is approximately 50 requests per minute per IP; when bulk fetching data, it is recommended to add appropriate delays.
How do I find clinical trials recruiting for a specific disease?
Use the query.cond parameter to specify the disease name and set filter.overallStatus to RECRUITING. For example, to find trials recruiting for breast cancer: set query.cond=breast cancer and filter.overallStatus=RECRUITING. The API will return a list of all matching recruiting trials.
Can clinical trial data be exported as CSV?
Yes. Specify the format=csv parameter in the API request; the response will be a CSV-formatted string rather than a JSON object. You can save this directly as a .csv file and open it in Excel or other spreadsheet software, which is suitable for reporting or use by non-technical users.