API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
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.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
nct00000102
nct01101477
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
nct00000102 | 4.6 kB | about 1 month ago | nct00000102 | |
nct01101477 | 30.4 kB | about 1 month ago | nct01101477 |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 2 | 35 kB | xml | 7 days ago | Open Data Commons Public Domain Dedication and License v1.0 | ClinicalTrials.gov |
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
- Go to http://www.clinicaltrials.gov/
- Search (no query) to get all results
- Hit download and select all results
- Wait while 542 Mb zip file downloads
search_results.zip - unzip - you now have 2.3Gb of clinical trials xml
- 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.