NIH Clinical Trials API
Clinical trial data worldwide
Live Technical Metrics
Pre-calculated · updated every 20 min| Uptime Status | ⬜ Unknown — not yet probed |
|---|---|
| Server Latency | N/A |
| Hosting Server | Not disclosed |
| Content-Type | Not disclosed |
| Cache-Control | Not set |
| CORS Support | ✅ Enabled — safe for browser fetch() |
| Authentication | ✅ None required — call the API directly without a key |
| Category | Health |
- Endpoint:
- https://clinicaltrials.gov/api/gui
Quick Integration Code
✅ No API key neededfetch("https://clinicaltrials.gov/api/gui")
.then(response => {
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("Request failed:", error));
import requests
url = "https://clinicaltrials.gov/api/gui"
headers = {
"Accept": "application/json",
# "Authorization": "Bearer YOUR_TOKEN_HERE",
}
response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://clinicaltrials.gov/api/gui" \
-H "Accept: application/json" \
-H "User-Agent: MyApp/1.0" \
--max-time 10 \
--silent | python3 -m json.tool
Sample JSON Response — Health
Health{
"result": [
{
"term": "hypertension",
"definition": "A condition in which the force of the blood against the artery walls is too high.",
"also_known_as": [
"high blood pressure"
],
"icd_10_code": "I10",
"body_system": "Cardiovascular",
"severity": "chronic"
}
]
}