openFDA is a research project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.
Please note: Do not rely on openFDA to make decisions regarding medical care. Always speak to your health provider about the risks and benefits of FDA-regulated products. We may limit or otherwise restrict your access to the API in line with our Terms of Service.
This repository contains the code which powers all of the
api.fda.gov end points:
Python pipelines written with Luigi for processing public FDA data sets (drugs, foods, and medical devices) into a JSON format that can be loaded into Elasticsearch.
Elasticsearch schemas for the available data sets.
A Node.js API Server written with Express, Elasticsearch.js and Elastic.js that communicates with Elasticsearch and provides the
api.fda.govJSON interface (documented in detail at http://open.fda.gov).
- Elasticsearch 1.7.0 or later
- Python 2.7.*
- Node 0.10.*
bootstrap.sh to download and setup a virtualenv for the
openfda python package and to download and setup the
openfda-api node package.