# NCT ID Trial Facility Exporter

**Use case:** 

Convert NCT IDs into ClinicalTrials.gov facility rows with site locations, contacts, eligibility, dates, and sponsors.

## Input

```json
{
  "condition": "diabetes",
  "intervention": "",
  "sponsor": "",
  "otherTerms": "",
  "statuses": [
    "RECRUITING",
    "NOT_YET_RECRUITING"
  ],
  "phases": [],
  "country": "United States",
  "state": "",
  "city": "",
  "startDateFrom": "",
  "startDateTo": "",
  "lastUpdateFrom": "",
  "lastUpdateTo": "",
  "nctIds": [
    "NCT03723486",
    "NCT04280705"
  ],
  "maxItems": 50,
  "includeStudiesWithoutLocations": true
}
```

## Output

```json
{
  "nctId": {
    "label": "NCT ID"
  },
  "briefTitle": {
    "label": "Trial title"
  },
  "overallStatus": {
    "label": "Status"
  },
  "phases": {
    "label": "Phases"
  },
  "leadSponsor": {
    "label": "Lead sponsor"
  },
  "facilityName": {
    "label": "Facility"
  },
  "facilityStatus": {
    "label": "Site status"
  },
  "city": {
    "label": "City"
  },
  "state": {
    "label": "State"
  },
  "country": {
    "label": "Country"
  },
  "contacts": {
    "label": "Contacts"
  },
  "conditions": {
    "label": "Conditions"
  },
  "interventions": {
    "label": "Interventions"
  },
  "startDate": {
    "label": "Start date"
  },
  "completionDate": {
    "label": "Completion date"
  },
  "enrollmentCount": {
    "label": "Enrollment"
  },
  "sourceUrl": {
    "label": "ClinicalTrials.gov URL"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

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