clinicaltrials-database

Query ClinicalTrials.gov API v2 and export trial data as JSON or CSV.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill clinicaltrials-database-ovachiever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/clinicaltrials-database
Command: npx skills add https://github.com/ovachiever/droid-tings --skill clinicaltrials-database-ovachiever

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Enables programmatic access to ClinicalTrials.gov API v2 for searching conditions, interventions, locations, sponsors, and trial details, plus data export for analysis and patient-matching workflows.

Core Features & Use Cases

  • Search by condition, intervention, location, sponsor, status
  • Retrieve full trial details by NCT ID
  • Pagination, filtering, and CSV export support
  • Data export for epidemiology, drug development, and clinical research

Quick Start

Use the script to search for recruiting cancer trials and fetch detailed information for a selected NCT ID.

Frequently Asked Questions about clinicaltrials-database

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

FAQPage Schema
How do I search ClinicalTrials.gov for trials by condition or intervention?

Query ClinicalTrials.gov API v2 to search trials by condition, intervention, location, sponsor, or status. The Skill handles parameterized requests, pagination, and returns structured JSON data ready for analysis or patient matching workflows.

Can I export clinical trial data to CSV for analysis?

Yes, the Skill supports CSV export of trial results alongside JSON output. Retrieved data can be exported directly for epidemiology, drug development, and clinical research analysis without additional processing.

What information can I retrieve using an NCT ID?

Retrieve full trial details by NCT ID including nested modules covering conditions, interventions, locations, sponsors, status, and phase. The Skill parses complex response structures and returns complete, analyzable trial records.

Does ClinicalTrials.gov API v2 require authentication?

ClinicalTrials.gov API v2 offers public, unauthenticated access with rate limits. The Skill handles requests without credentials, making it accessible for immediate use in research and monitoring workflows.

How do I handle pagination when retrieving large trial result sets?

The Skill manages pagination automatically to retrieve large result sets from ClinicalTrials.gov. Parameterized queries and built-in pagination logic ensure complete data collection without manual offset tracking.

What are the limitations when querying ClinicalTrials.gov API?

Rate limits apply to unauthenticated API access. The Skill requires robust parsing to handle nested response modules. Plan queries and export frequency to stay within public API constraints for sustained research workflows.