# ClinicalTrials.gov study search

Search registered clinical studies by condition, intervention, sponsor, location or free text, with status and advanced filters. Takes term, condition, intervention and more, all optional.

Search registered clinical studies by condition, intervention, sponsor, location or free text, with status and advanced filters. Returns the total count, compact study rows (NCT id, title, status, phase, sponsor, enrollment, dates) and a page token for the next page.

- Tool ID: `clinicaltrials/search-studies`
- Provider: [ClinicalTrials.gov](/providers/clinicaltrials.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "term": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Free-text query (Essie syntax), e.g. 'GLP-1 AND heart failure'"
    },
    "condition": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Condition or disease, e.g. 'obesity'"
    },
    "intervention": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Drug, device or procedure, e.g. 'semaglutide'"
    },
    "sponsor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Sponsor or collaborator name, e.g. 'Eli Lilly'"
    },
    "location": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Site location (city, state, country, facility), e.g. 'France'"
    },
    "status": {
      "type": "array",
      "maxItems": 8,
      "items": {
        "type": "string",
        "enum": [
          "RECRUITING",
          "NOT_YET_RECRUITING",
          "ACTIVE_NOT_RECRUITING",
          "ENROLLING_BY_INVITATION",
          "COMPLETED",
          "SUSPENDED",
          "TERMINATED",
          "WITHDRAWN",
          "UNKNOWN",
          "AVAILABLE",
          "NO_LONGER_AVAILABLE",
          "TEMPORARILY_NOT_AVAILABLE",
          "APPROVED_FOR_MARKETING",
          "WITHHELD"
        ]
      },
      "description": "Overall status filter, e.g. ['RECRUITING', 'NOT_YET_RECRUITING']"
    },
    "advanced_filter": {
      "type": "string",
      "maxLength": 300,
      "description": "Essie AREA filter, e.g. 'AREA[Phase]PHASE3 AND AREA[StartDate]RANGE[2024-01-01,MAX]'"
    },
    "sort": {
      "type": "string",
      "pattern": "^[A-Za-z]+(:(asc|desc))?$",
      "description": "Sort field, e.g. 'LastUpdatePostDate:desc' (default: relevance)"
    },
    "fields": {
      "type": "string",
      "maxLength": 600,
      "pattern": "^[A-Za-z.]+(,[A-Za-z.]+)*$",
      "default": "NCTId,BriefTitle,OverallStatus,Phase,StudyType,LeadSponsorName,Condition,InterventionName,EnrollmentCount,StartDate,PrimaryCompletionDate,CompletionDate,HasResults,LastUpdatePostDate",
      "description": "Comma-separated fields or modules to return, e.g. 'NCTId,BriefTitle,OverallStatus'"
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Studies per page, e.g. 10"
    },
    "page_token": {
      "type": "string",
      "maxLength": 200,
      "description": "nextPageToken from the previous page, e.g. 'ZVNj7o2Elu8o3lpy...'"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "clinicaltrials/search-studies",
  "input": {
    "condition": "obesity",
    "intervention": "semaglutide",
    "page_size": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: US Government public data (ClinicalTrials.gov terms and conditions).

Attribution: Data from ClinicalTrials.gov, U.S. National Library of Medicine.

[Provider documentation](https://clinicaltrials.gov/data-api/api)

[REST inspection](https://api.agentik.cc/v1/tools/clinicaltrials/search-studies) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/clinicaltrials/search-studies) · [Agent index](/llms.txt)
