Updated

clinical-trials-us

Data and processing scripts for clinical trials information in http://ClinicalTrials.gov, a registry and results database of publicly and privately supported clinical studies of human participants con...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/clinical-trials-us/
https://datahub.io/core/clinical-trials-us/_r/-/README.md
https://datahub.io/core/clinical-trials-us/_r/-/data/NCT00000102.xml
https://datahub.io/core/clinical-trials-us/_r/-/data/NCT01101477.xml
https://datahub.io/core/clinical-trials-us/_r/-/datapackage.json
https://datahub.io/core/clinical-trials-us/_r/-/extract.js
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/clinical-trials-us/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/clinical-trials-us/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

nct00000102

Unsupported data preview format `xml`

nct01101477

Unsupported data preview format `xml`

Data Files

FileDescriptionSizeLast modifiedDownload
nct00000102
4.6 kBabout 1 month ago
nct00000102
nct01101477
30.4 kBabout 1 month ago
nct01101477
FilesSizeFormatCreatedUpdatedLicenseSource
235 kBxml7 days agoOpen Data Commons Public Domain Dedication and License v1.0ClinicalTrials.gov

badge

Data and processing scripts for clinical trials information in http://ClinicalTrials.gov, a registry and results database of publicly and privately supported clinical studies of human participants conducted around the world.

Deposit in this database has been required since September 2007 for all "applicable clinical trials" as per FDAAA 801.

Getting the data

  1. Go to http://www.clinicaltrials.gov/
  2. Search (no query) to get all results
  3. Hit download and select all results
  4. Wait while 542 Mb zip file downloads search_results.zip
  5. unzip - you now have 2.3Gb of clinical trials xml
  6. Use the scripts - see below

Data Structure

It's XML. Here's the XSD: http://clinicaltrials.gov/ct2/html/images/info/public.xsd.

Sample records:

  • data/NCT00000102.xml (without results)
  • data/NCT01101477.xml (with results)

Data Stats

139848 XML files as of 2013-02-02.

As of Feb 1st 2013 only 8,044 trials included posted-results.

Scripts

Node.js script in extract.js - still under development.