clinicaltrials-database

Search ClinicalTrials.gov API v2 by condition, intervention, location, sponsor, status, or phase and export trial data as JSON or CSV.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill clinicaltrials-database-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/clinicaltrials-database
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill clinicaltrials-database-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables researchers and data scientists to quickly locate relevant clinical trials, assess eligibility for cohorts, and export trial data for analysis, reducing manual screening time.

Core Features & Use Cases

  • Search by condition, intervention, location, sponsor, status, or phase using API v2.
  • Retrieve comprehensive trial details by NCT ID and export results as JSON or CSV for analytics.
  • Use cases include patient matching, literature reviews, sponsor monitoring, and geographic trend analysis across trials.

Quick Start

Query ClinicalTrials.gov for trials matching a condition and export the results in JSON or CSV.

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 API v2 by condition and export the results?

You can query the ClinicalTrials.gov API v2 by condition, intervention, location, sponsor, status, or phase using the included Python scripts. Results are returned as structured trial data by NCT ID and can be exported in JSON or CSV format for downstream analysis.

Can I use Python and the requests library to automate clinical trial patient matching?

Yes, this skill leverages Python and the requests library to programmatically search clinical trials for patient matching. It follows API v2 parameters, supports pagination, and handles errors gracefully to automate cohort eligibility assessments.

What clinical trial data fields can I filter on when querying the API?

Clinical trial searches support filtering by condition, intervention, location, sponsor, status, and phase. The skill queries ClinicalTrials.gov API v2 using these parameters and retrieves comprehensive trial details by NCT ID.

Does this skill support pagination for large clinical trial research analysis queries?

Yes, the skill supports pagination to handle large result sets from ClinicalTrials.gov API v2 searches. It handles errors gracefully during research analysis and sponsor portfolio monitoring, ensuring complete data retrieval.

What is the best way to monitor a sponsor's clinical trial portfolio?

Searching ClinicalTrials.gov API v2 by sponsor allows you to monitor trial portfolios efficiently. The Python scripts retrieve structured trial data by NCT ID and export it as JSON or CSV, reducing manual screening time for research analysis.