clinicaltrials-database

Query ClinicalTrials.gov API v2 for trial data and export JSON/CSV results.

7|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill clinicaltrials-database-wsxwj123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/wsxwj123/opencode-skills-backup/tree/main/clinicaltrials-database
Command: npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill clinicaltrials-database-wsxwj123

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

ClinicalTrials.gov API v2-based search and data retrieval to streamline discovery of clinical trials for researchers and clinicians.

Core Features & Use Cases

  • Search by condition, intervention, location, sponsor, or status to identify relevant trials.
  • Retrieve complete trial details by NCT ID and export results for downstream analysis.
  • Geographic, sponsor, and phase filtering to support patient matching, study design reviews, and portfolio tracking.

Quick Start

Run a sample search against the API to fetch trials by condition and export the results.

Frequently Asked Questions about clinicaltrials-database

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

FAQPage Schema
How do I search clinical trials on ClinicalTrials.gov by condition and location?

Search clinical trials by passing condition, intervention, location, sponsor, or status parameters directly to the ClinicalTrials.gov API v2 query interface. The Skill handles parameter formatting and returns matching trial records instantly without requiring authentication.

Can I export clinical trial data to CSV for downstream analysis?

Yes, you can export clinical trial search results to CSV format. The Skill retrieves trial details and provides both JSON and CSV response outputs, allowing you to save and export the queried data directly for downstream analysis or portfolio tracking.

How do I retrieve full clinical trial details using an NCT ID?

Retrieve complete clinical trial details by providing the specific NCT ID to the ClinicalTrials.gov API v2 query interface. The Skill fetches the comprehensive trial record associated with that unique identifier and returns it for your review.

What are the API rate limits when querying ClinicalTrials.gov API v2?

ClinicalTrials.gov API v2 enforces standard rate limits on data queries. This Skill manages requests safely without requiring authentication, utilizing built-in robust error handling and pagination to navigate large result sets without exceeding access boundaries.

Does this clinical trials search tool require an API key or authentication?

No, searching clinical trial data via ClinicalTrials.gov API v2 requires no authentication or API keys. The Skill facilitates safe, unauthenticated data access using the Python requests library, handling parameter formatting and robust error checking internally.