ClinicalTrials.gov website screenshot

ClinicalTrials.gov

ClinicalTrials.gov is the U.S. National Institutes of Health (NIH) registry and results database of publicly and privately supported clinical studies of human participants conducted around the world. Operated by the National Library of Medicine (NLM), it provides a modern REST API (data-api v2) that returns study records, study metadata, search areas, and field definitions in JSON. The predecessor classic API remains available for legacy consumers but is being phased out in favor of the v2 API. Data is in the public domain and freely accessible without authentication.

ClinicalTrials.gov publishes 3 APIs on the APIs.io network: Stats API, Studies API, and Version API. Tagged areas include Clinical Trials, Government, Health, NIH, and Open Data.

The ClinicalTrials.gov catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

ClinicalTrials.gov’s developer surface includes documentation, developer portal, product news, GitHub presence, and 11 more developer resources.

30.2/100 thin ▬ flat Agent 19/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
6 APIs
Clinical TrialsGovernmentHealthNIHOpen DataPublic HealthResearch

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 30.2/100 · thin
Contract Quality 11.2 / 25
Developer Ergonomics 3.5 / 20
Commercial Clarity 4.2 / 20
Operational Transparency 0.7 / 13
Governance 3.3 / 12
Discoverability 6.5 / 10
Agent readiness — 19/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/clinical-trials-gov: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 6

Individual APIs this provider publishes, each with its own machine-readable definition.

ClinicalTrials.gov Classic API

The Classic API is the legacy ClinicalTrials.gov interface that preceded the Data API v2 and exposes full-study, brief-study, and field-values endpoints with XML, JSON, and CSV ...

ClinicalTrials.gov Bulk Downloads

ClinicalTrials.gov provides bulk CSV and JSON downloads of the full study registry through the data-api download endpoints. These artifacts support large-scale analytics, archiv...

AACT Database

AACT (Aggregate Analysis of ClinicalTrials.gov) is a publicly available relational database of all ClinicalTrials.gov study content maintained by the Clinical Trials Transformat...

ClinicalTrials.gov Stats API

The Stats API from ClinicalTrials.gov — 3 operation(s) for stats.

ClinicalTrials.gov Studies API

The Studies API from ClinicalTrials.gov — 5 operation(s) for studies.

ClinicalTrials.gov Version API

The Version API from ClinicalTrials.gov — 1 operation(s) for version.

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Clinical Trials Gov Context

0 classes · 7 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

ClinicalTrials.gov API Rules

9 rules · 3 errors 5 warnings 1 info

SPECTRAL

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Clinical Trials Gov Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Clinical Trials Gov Agentic Access

9 operations

9 operations · 0 acting

AGENTIC

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 2

Pagination, idempotency, versioning, errors, and events

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: clinical-trials-gov
name: ClinicalTrials.gov
description: ClinicalTrials.gov is the U.S. National Institutes of Health (NIH) registry and results database of publicly
  and privately supported clinical studies of human participants conducted around the world. Operated by the National Library
  of Medicine (NLM), it provides a modern REST API (data-api v2) that returns study records, study metadata, search areas,
  and field definitions in JSON. The predecessor classic API remains available for legacy consumers but is being phased out
  in favor of the v2 API. Data is in the public domain and freely accessible without authentication.
type: Index
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/clinical-trials-gov.png
url: https://raw.githubusercontent.com/api-evangelist/clinical-trials-gov/refs/heads/main/apis.yml
created: '2024-01-01'
modified: '2026-04-23'
specificationVersion: '0.19'
kind: government
tags:
- Clinical Trials
- Government
- Health
- NIH
- Open Data
- Public Health
- Research
apis:
- aid: clinical-trials-gov:classic-api
  name: ClinicalTrials.gov Classic API
  tags:
  - Clinical Trials
  - Legacy
  - REST
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  baseURL: https://clinicaltrials.gov/api
  humanURL: https://clinicaltrials.gov/data-api/api
  properties:
  - url: https://clinicaltrials.gov/data-api/api
    type: Documentation
  description: The Classic API is the legacy ClinicalTrials.gov interface that preceded the Data API v2 and exposes full-study,
    brief-study, and field-values endpoints with XML, JSON, and CSV responses. It is being deprecated in favor of the v2 REST
    API and remains online for backward compatibility while consumers migrate.
- aid: clinical-trials-gov:bulk-downloads
  name: ClinicalTrials.gov Bulk Downloads
  tags:
  - Bulk
  - Datasets
  - Open Data
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://clinicaltrials.gov/data-api/about-api/csv-download
  properties:
  - url: https://clinicaltrials.gov/data-api/about-api/csv-download
    type: Documentation
  description: ClinicalTrials.gov provides bulk CSV and JSON downloads of the full study registry through the data-api download
    endpoints. These artifacts support large-scale analytics, archival, and offline mirrors of the registry without making
    per-record API calls.
- aid: clinical-trials-gov:aact
  name: AACT Database
  tags:
  - Analytics
  - Database
  - Postgres
  - Research
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://aact.ctti-clinicaltrials.org/
  properties:
  - url: https://aact.ctti-clinicaltrials.org/
    type: Documentation
  - url: https://aact.ctti-clinicaltrials.org/data_dictionary
    type: Data Dictionary
  description: AACT (Aggregate Analysis of ClinicalTrials.gov) is a publicly available relational database of all ClinicalTrials.gov
    study content maintained by the Clinical Trials Transformation Initiative (CTTI) at Duke University. It is updated daily
    and is widely used by researchers as a SQL-friendly mirror of the registry.
- aid: clinical-trials-gov:clinical-trials-gov-stats-api
  name: ClinicalTrials.gov Stats API
  description: The Stats API from ClinicalTrials.gov — 3 operation(s) for stats.
  humanURL: https://clinicaltrials.gov/data-api/api
  baseURL: https://clinicaltrials.gov/api/v2
  tags:
  - Stats
  properties:
  - type: OpenAPI
    url: openapi/clinical-trials-gov-stats-api-openapi.yml
  - type: Documentation
    url: https://clinicaltrials.gov/data-api/api
  - type: About
    url: https://clinicaltrials.gov/data-api/about-api
- aid: clinical-trials-gov:clinical-trials-gov-studies-api
  name: ClinicalTrials.gov Studies API
  description: The Studies API from ClinicalTrials.gov — 5 operation(s) for studies.
  humanURL: https://clinicaltrials.gov/data-api/api
  baseURL: https://clinicaltrials.gov/api/v2
  tags:
  - Studies
  properties:
  - type: OpenAPI
    url: openapi/clinical-trials-gov-studies-api-openapi.yml
  - type: Documentation
    url: https://clinicaltrials.gov/data-api/api
  - type: About
    url: https://clinicaltrials.gov/data-api/about-api
- aid: clinical-trials-gov:clinical-trials-gov-version-api
  name: ClinicalTrials.gov Version API
  description: The Version API from ClinicalTrials.gov — 1 operation(s) for version.
  humanURL: https://clinicaltrials.gov/data-api/api
  baseURL: https://clinicaltrials.gov/api/v2
  tags:
  - Version
  properties:
  - type: OpenAPI
    url: openapi/clinical-trials-gov-version-api-openapi.yml
  - type: Documentation
    url: https://clinicaltrials.gov/data-api/api
  - type: About
    url: https://clinicaltrials.gov/data-api/about-api
common:
- type: AgenticAccess
  url: agentic-access/clinical-trials-gov-agentic-access.yml
- type: DomainSecurity
  url: security/clinical-trials-gov-domain-security.yml
- type: Website
  url: https://clinicaltrials.gov/
- type: About
  url: https://clinicaltrials.gov/about-site
- type: Documentation
  url: https://clinicaltrials.gov/data-api/api
- type: Portal
  url: https://clinicaltrials.gov/data-api
- type: Glossary
  url: https://clinicaltrials.gov/study-basics/glossary
- type: News
  url: https://clinicaltrials.gov/about-site/announcements
- type: Help
  url: https://clinicaltrials.gov/help
- type: PrivacyPolicy
  url: https://www.nlm.nih.gov/privacy.html
- type: TermsOfService
  url: https://clinicaltrials.gov/about-site/terms-conditions
- type: GitHub
  url: https://github.com/clinicaltrialsgov
- type: JSONLD
  url: json-ld/clinical-trials-gov-context.jsonld
- type: Spectral
  url: rules/clinical-trials-gov-rules.yml
- type: LlmsText
  url: https://clinicaltrials.gov/llms.txt
maintainers:
- FN: Kin Lane
  email: kinlane@gmail.com