ClinicalTrials.gov API
clinicaltrials.gov
ClinicalTrials.gov - registry search, filter vocabularies, and full study protocol metadata.
- Actions
- 6
- Category
- Research
- Login
- Not required
- Output
- JSON
Call the ClinicalTrials.gov API
Submit a task, then poll the job until it settles. This example runs act_clinicaltrials_gov_condition_suggest.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_clinicaltrials_gov_condition_suggest",
"params": {
"search_condition": "cancer"
}
}'6 actions on clinicaltrials.gov
Read
Condition Suggest
act_clinicaltrials_gov_condition_suggestread1 credit / callReturns medical condition autocomplete suggestions matching a typed keyword.
- search_condition
- string · required
Intervention Suggest
act_clinicaltrials_gov_intervention_suggestread1 credit / callReturns drug and treatment name autocomplete suggestions matching a typed keyword.
- search_intervention
- string · required
Location Facility Suggest
act_clinicaltrials_gov_location_facility_suggestread1 credit / callReturns facility location autocomplete suggestions narrowed by an optional keyword.
- facility_search
- string
Sponsor Suggest
act_clinicaltrials_gov_sponsor_suggestread1 credit / callReturns lead sponsor name autocomplete suggestions narrowed by an optional keyword.
- sponsor_search
- string
Trial Search Results
act_clinicaltrials_gov_trial_search_resultsread2 credits / callReturns trials matching condition, intervention, and location with NCT ids, titles, status, and hits.
- search_condition
- string · required
- search_intervention
- string · required
- location
- string · required
- country_code
- string · required
- offset
- string · required
Trial Study Details
act_clinicaltrials_gov_trial_study_detailread2 credits / callReturns full protocol details for a trial including status, phases, sponsor, interventions, and outcomes.
- nct_id
- string · required
- search_condition
- string · required
- search_intervention
- string · required
ClinicalTrials.gov API questions
- Is there an API for ClinicalTrials.gov?
- ClinicalTrials.gov does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for clinicaltrials.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape ClinicalTrials.gov data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when clinicaltrials.gov changes its markup, Anakin updates the action.
- Do I need a ClinicalTrials.gov account?
- No. Every ClinicalTrials.gov action listed here runs anonymously — no account and no credentials required.
- What does the ClinicalTrials.gov API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Research APIs
ACS Publications
ACS Publications - chemistry articles, journals, abstracts, issues, and citations.
Archive Is
Archive.is - archived web content, snapshot listings, and archive item details.
Artificial Analysis
Artificial Analysis - AI model benchmarks and intelligence rankings across language models.
arXiv
arXiv - paper search by keyword, author, or category; metadata and new submissions.
BMJ
BMJ - medical article search, specialties, abstracts, and citation metadata.
Cairn
Cairn - French humanities and social sciences; disciplines, journals, articles, and metadata.