clinicaltrials-database

Query ClinicalTrials.gov API v2 for trials by condition, intervention, location, sponsor, status, or phase.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/lucasmiachon-blip/organizacao --skill clinicaltrials-database-lucasmiachon-blip
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/lucasmiachon-blip/organizacao/tree/main/.claude/skills/clinicaltrials-database
Command: npx skills add https://github.com/lucasmiachon-blip/organizacao --skill clinicaltrials-database-lucasmiachon-blip

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

ClinicalTrials.gov API v2 enables programmatic discovery and retrieval of trial data, eliminating manual searching and data collection for researchers and clinicians.

Core Features & Use Cases

  • Search trials by condition, intervention, location, sponsor, status, or phase.
  • Retrieve detailed information for individual trials by NCT ID.
  • Export results in JSON or CSV for analysis, reporting, and patient-matching workflows.
  • Use cases include academic research, portfolio tracking for sponsors, and clinical decision support.

Quick Start

Run a sample search for a condition and fetch the first page of results in JSON.

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 by condition and export results to CSV?

You can search clinical trials by condition, intervention, location, sponsor, status, or phase using the ClinicalTrials.gov API v2, then export the retrieved trial data to CSV format for analysis and reporting workflows.

What is the best way to retrieve detailed trial information using an NCT ID?

To retrieve detailed clinical trial information, query the ClinicalTrials.gov API v2 with a specific NCT ID. This fetches comprehensive trial data suitable for research analysis, patient matching, and sponsor monitoring.

Can I use the requests library to filter clinical trials by phase and status?

Yes, using the requests library with the ClinicalTrials.gov API v2 allows you to filter clinical trials by status, phase, sponsor, location, and intervention, returning JSON data for clinical decision support.

Does the ClinicalTrials.gov API v2 support pagination for large data exports?

The ClinicalTrials.gov API v2 supports pagination using pageSize and pageToken controls, enabling you to retrieve large volumes of clinical trial data across multiple pages for JSON or CSV data exports.

How do I automate clinical trials data collection for portfolio tracking?

You can automate clinical trials data collection for portfolio tracking by querying the API v2 programmatically, filtering by sponsor or status, and exporting the results to JSON or CSV for continuous monitoring.