Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python wrapper for the Clincal Trials API.

Project Description

A Python API wrapper for the [ API](

Documentation for [ can be found here.](


The Trials class only has two methods – search and download. The same information from search is returned to the download method in ZIP file format.

>>> from clinical_trials import Trials
>>> t = Trials()
>>>"alzheimer's disease")
>>>'diabetes', 'cond')
>>>'diabetes', 'condition')
>>> # Specify the number of trials turned.
...'Fluoxetine', count=200)
>>> # Find trials no longer recruiting.
...'lyme disease', recruiting='closed')
>>> # If you want plain XML returned back.
...'NHLBI', output_format=None)
>>> # You can also find trials by location -- up to 3 states or countries.
...'cancer', state='TX')
>>>'diabetes', state1='TX', state2='NY', state3='CA')
>>>'lyme disease', country1='US', country2='CA')
>>> # And you can download a ZIP file with the data.
... zip_file ='cancer', count=500)
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
clinical_trials-1.1.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting