ClinicalTrials.gov API

Provides programmatic access to the NIH ClinicalTrials.gov database of over 450,000 clinical studies worldwide, enabling search, retrieval, and analysis of trial metadata, eligibility criteria, results, and status.

Evaluated Mar 06, 2026 (0d ago) vv2
Homepage ↗ Repo ↗ Other clinical-trials nih medical-research rest-api open-data life-sciences
⚙ Agent Friendliness
49
/ 100
Can an agent use this?
🔒 Security
65
/ 100
Is it safe for agents?
⚡ Reliability
64
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
0
Documentation
75
Error Messages
55
Auth Simplicity
95
Rate Limits
40

🔒 Security

TLS Enforcement
100
Auth Strength
50
Scope Granularity
20
Dep. Hygiene
70
Secret Handling
90

HTTPS enforced. No auth means no scope granularity possible. Public read-only data so low auth strength is appropriate. pytrials library is lightly maintained with infrequent updates.

⚡ Reliability

Uptime/SLA
55
Version Stability
75
Breaking Changes
65
Error Recovery
60
AF Security Reliability

Best When

An agent needs to search or monitor clinical trial data for research, patient matching, or regulatory analysis.

Avoid When

You need real-time enrollment data, patient-level outcomes, or trials from regions that don't register with ClinicalTrials.gov.

Use Cases

  • Finding open clinical trials for patients with specific conditions
  • Regulatory research and competitive intelligence for pharma/biotech
  • Evidence synthesis and systematic review automation
  • Tracking trial status changes and result postings
  • Eligibility screening by matching patient criteria to trial requirements

Not For

  • Real-time patient enrollment or trial participation management
  • Accessing individual patient-level data (only aggregate results available)
  • Non-US-registered trials that don't report to ClinicalTrials.gov

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

Fully open public API with no authentication required. No API key, no registration. Rate limiting is enforced by IP but not formally documented.

Pricing

Model: free
Free tier: Yes
Requires CC: No

Completely free public API operated by the US National Library of Medicine. No rate limit tiers or paid plans.

Agent Metadata

Pagination
cursor
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • v1 API was deprecated in favor of v2 (2023); some third-party docs still reference the old endpoint structure
  • Query syntax uses a custom filter format (e.g., AREA[...]) that is non-obvious and poorly documented for agents
  • Large result sets can be slow; pageSize max is 1000 but deep pagination degrades performance
  • Trial status vocabulary is extensive and inconsistent — 'Recruiting', 'Not yet recruiting', etc. must be matched exactly
  • Date fields use inconsistent formats across record types

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for ClinicalTrials.gov API.

$99

Scores are editorial opinions as of 2026-03-06.

5178
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered