Search ClinicalTrials.gov studies by condition, intervention, sponsor or keywords with status, phase, type and update filters: status, phases, sponsor, dates and enrollment, most recently updated first.
curl -X POST "https://api.primaryapi.com/v1/run/clinicaltrials.search" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sponsor":"Pfizer","condition":"lung cancer","status":["RECRUITING"],"limit":5}'{
"output": {
"found": true,
"data": {
"totalCount": "<integer | null>",
"nextCursor": "<string | null>",
"studies": [
{
"title": "<string | null>",
"enrollment": "<integer | null>",
"locationCount": "<integer>",
"hasResults": "<boolean | null>", …
}
]
}
},
"credits": 1
}Input and output
11 fields
lung cancer.Pfizer.["RECRUITING"].5.25 fields
Good to know
Searches the ClinicalTrials.gov registry.
Query fields accept ClinicalTrials.gov search syntax (AND, OR, NOT, quotes).
Within a page, ties on the sort date are ordered by NCT id.
To watch for new trials of a sponsor, monitor with sort first_posted. To watch status changes of one trial, monitor clinicaltrials.study.
Empty results are free.
One page per call. Send nextCursor back as cursor to read the next page.
More from ClinicalTrials.gov. Same key, same credits.
The same key and credits work for every API.