clinicaltrials-database-search

Query the ClinicalTrials.gov API v2 for clinical study data and export results to CSV.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill clinicaltrials-database-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database-search
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/structural-biology-drug-discovery/clinicaltrials-database-search
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill clinicaltrials-database-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps researchers, clinicians, and drug developers quickly find and analyze clinical trial data from ClinicalTrials.gov, streamlining the process of identifying relevant studies and gathering critical information.

Core Features & Use Cases

  • Comprehensive Search: Query trials by condition, intervention, location, sponsor, and status.
  • Detailed Retrieval: Get in-depth study information using NCT IDs.
  • Data Export: Export search results directly to CSV format for further analysis.
  • Use Case: A researcher needs to find all ongoing Phase 3 trials for a new cancer immunotherapy in California. This Skill can perform that search, filter by phase and location, and provide a list of matching trials with key details.

Quick Start

Find all recruiting trials for breast cancer and print their NCT IDs and titles.

Frequently Asked Questions about clinicaltrials-database-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search ClinicalTrials.gov for studies by condition and recruitment status?

You can search ClinicalTrials.gov by condition, drug, location, sponsor, and phase, filtering by recruitment status. This Skill queries the ClinicalTrials.gov API v2 to retrieve matching clinical study data and print key details like NCT IDs and titles.

Can I export clinical trial search results to CSV for further analysis?

Yes, you can export clinical trial search results directly to CSV format. The Skill uses the pandas library to structure the retrieved study data, allowing you to save the search results for further biostatistics or drug discovery analysis.

What fields can I use to filter clinical trials data from the API?

You can filter clinical trials data using condition, intervention, location, sponsor, phase, and recruitment status. The Skill passes these parameters to the ClinicalTrials.gov API v2 to narrow down the returned study records.

How do I get detailed information for a specific clinical trial using its NCT ID?

You can retrieve in-depth study information by providing a specific NCT ID. The Skill queries the ClinicalTrials.gov API v2 endpoint to fetch detailed clinical trial records associated with that unique identifier.

Do I need Python libraries installed to query clinical trial data?

Yes, you need the requests and pandas Python libraries installed in your environment. The Skill uses requests to handle the ClinicalTrials.gov API v2 data retrieval and pandas to manipulate and export the resulting study data.

What is the best way to find Phase 3 clinical trials for a specific drug in a target location?

The best way to find specific Phase 3 clinical trials is to query the API by intervention, phase, and location. This Skill allows you to combine these search parameters to identify relevant studies in your target area for drug discovery research.