# Clinical Trial Location Search

**Use case:** 

Find up to 25 ClinicalTrials.gov studies with sites in the United States and view their study and site details.

## Input

```json
{
  "target": "search",
  "query": "diabetes",
  "locations": [
    "United States"
  ],
  "sort": "RELEVANCE",
  "maxResults": 25,
  "nctId": "NCT04280705"
}
```

## Output

```json
{
  "nctId": {
    "label": "NCT ID",
    "format": "string"
  },
  "briefTitle": {
    "label": "Brief title",
    "format": "string"
  },
  "overallStatus": {
    "label": "Recruitment status",
    "format": "string"
  },
  "studyType": {
    "label": "Study type",
    "format": "string"
  },
  "phases": {
    "label": "Phases",
    "format": "array"
  },
  "conditions": {
    "label": "Conditions",
    "format": "array"
  },
  "leadSponsor.name": {
    "label": "Name",
    "format": "string"
  },
  "enrollment.count": {
    "label": "Count",
    "format": "integer"
  },
  "dates.startDate": {
    "label": "Start date",
    "format": "string"
  },
  "dates.completionDate": {
    "label": "Completion date",
    "format": "string"
  },
  "dates.lastUpdatePostDate": {
    "label": "Last updated",
    "format": "string"
  },
  "hasResults": {
    "label": "Results posted",
    "format": "boolean"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [ClinicalTrials.gov](https://apify.com/maximedupre/clinicaltrials-gov) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/clinicaltrials-gov) to learn more, explore other use cases, and run it yourself.