Clinical trials search: ClinicalTrials.gov studies
Search ClinicalTrials.gov studies by condition, intervention or any words, optionally only recruiting ones: NCT id, title, status, phase, conditions, interventions, sponsor, enrollment, start and completion dates, number of locations and countries, and a link. From the ClinicalTrials.gov API (US National Library of Medicine). Information only, not medical advice. Use to find trials for a condition or drug.
Inputs
| Name | Type | Description |
|---|---|---|
condition | string | Condition or disease, e.g. type 1 diabetes |
intervention | string | Drug or intervention, e.g. semaglutide (optional) |
q | string | Any other words (optional) |
status | string | recruiting, active, completed or all (default recruiting) |
limit | string | Studies to return, 1-20 (default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/gov/clinical-trials?condition=type%201%20diabetes"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/gov/clinical-trials?condition=type%201%20diabetes&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"total": 412,
"count": 1,
"studies": [
{
"nctId": "NCT07154251",
"title": "Utilizing Community Health Workers as Diabetes Technology Coaches…",
"status": "RECRUITING",
"phase": [
"NA"
],
"conditions": [
"Type 1 Diabetes"
],
"interventions": [
"Behavioral: CHW coaching"
],
"sponsor": "University of …",
"enrollment": 60,
"start": "2026-01",
"completion": "2027-12",
"locations": 1,
"countries": [
"United States"
],
"url": "https://clinicaltrials.gov/study/NCT07154251"
}
],
"source": "ClinicalTrials.gov API (U.S. National Library of Medicine)",
"note": "Information only, not medical advice."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is gov_clinical_trials, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp