Search clinical trials (ClinicalTrials.gov)
search_studiesSearch the ClinicalTrials.gov v2 study registry. Provide any combination of query terms (condition, intervention, title, location, sponsor, general term) — multiple query.* terms are ANDed together — plus optional filters (status, geo, advanced Essie expression, explicit NCT ids). Returns { totalCount?, studies: [...], nextPageToken? }. Use fields to trim the response to specific fields/modules, sort to order (e.g. '@relevance', 'LastUpdatePostDate:desc', 'EnrollmentCount:desc'), and pageSize/pageToken to page. GET /studies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Restrict to these NCT ids (maps to filter.ids), e.g. ['NCT00841061']. | |
| sort | No | Sort order, e.g. '@relevance', 'LastUpdatePostDate:desc', 'EnrollmentCount:desc', 'StudyFirstPostDate:desc'. | |
| term | No | General full-text 'other terms' query (maps to query.term). | |
| title | No | Words in the study title (maps to query.titles). | |
| fields | No | Fields or modules to return, e.g. ['NCTId','BriefTitle','OverallStatus'] or ['protocolSection.identificationModule']. Omit to return full study records. | |
| status | No | Filter by overall recruitment status (maps to filter.overallStatus). One or more of: ACTIVE_NOT_RECRUITING, COMPLETED, ENROLLING_BY_INVITATION, NOT_YET_RECRUITING, RECRUITING, SUSPENDED, TERMINATED, WITHDRAWN, AVAILABLE, NO_LONGER_AVAILABLE, TEMPORARILY_NOT_AVAILABLE, APPROVED_FOR_MARKETING, WITHHELD, UNKNOWN. | |
| sponsor | No | Sponsor / collaborator name (maps to query.spons). | |
| advanced | No | Advanced Essie expression applied as an additional filter (maps to filter.advanced). | |
| location | No | Study location text, e.g. a city/state/country (maps to query.locn). | |
| pageSize | No | Number of studies per page (1–1000; API default 10). | |
| condition | No | Disease / condition to match (maps to query.cond), e.g. 'diabetes'. | |
| geoFilter | No | Geo filter as a raw geo-function string (maps to filter.geo), e.g. 'distance(39.0027,-77.1,50mi)'. | |
| pageToken | No | Opaque token from a previous response's nextPageToken, to fetch the next page. | |
| countTotal | No | Include the total number of matching studies (totalCount) on the first page. | |
| intervention | No | Treatment / drug / intervention to match (maps to query.intr). |