Pillbox's API, data, and images
Pillbox's API, data, and images are powerful tools for drug identification and reference. We're excited to give developers the ability to build amazing applications and resources to improve the health of persons everywhere. Please take a few minutes to review the information here, especially the Disclaimer and Terms of Service, and feel free to contact us with any questions or ideas at firstname.lastname@example.org or on Twitter at @NLM_Pillbox.
API documentation and keys
API documentation is available on GitHub. API keys are available by registering.
The master data set that powers Pillbox and a log of changes made to the physical characteristics data based on a comparison to the available images can be downloaded at the Pillbox data downloads page on GitHub.
Pill image library downloads
We're planning to make the Pillbox image library available for download in January 2014. Also, please check out NLM's RXIMAGE API which has medication images available for download. While the number of products with images is fewer than Pillbox, the images are extremely high-quality and were developed to support image processing research.
The pill images and accompanying data available here were obtained from products acquired from a licensed pharmacy or the product manufacturer. Manufacturers may alter the appearance (e.g., shape, color, size, markings) of medications over time.
The same medication may have been issued with a different appearance and/or different accompanying data before or after the date NLM acquired it. NLM would like to hear about any changes in medication appearance or possible errors in accompanying information. Please contact email@example.com if you notice any discrepancies in the information provided here.
Reference in this Web site to any specific commercial product, process, service, manufacturer, or company does not constitute its endorsement or recommendation by the U.S. government or the U.S. Department of Health and Human Services or any of its agencies.
Neither the U.S. government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal responsibility for the accuracy, completeness, or usefulness of any information disclosed.
Terms of Service
All of the content, documentation, code and related materials made available to you through the API is subject to these terms. Access to or use of the API or its content constitutes acceptance to this Agreement.
You may use the Pillbox API to develop a service or service to search, display, analyze, retrieve, view and otherwise 'get' information from NLM Pillbox data.
All services which utilize or access the API should display the following notice prominently within the application: "This product uses publicly available data from the U.S. National Library of Medicine (NLM), National Institutes of Health, Department of Health and Human Services; NLM is not responsible for the product and does not endorse or recommend this or any other product." You may use the NLM name in order to identify the source of API content subject to these rules. You may not use the NLM name, logo, or the like to imply endorsement of any product, service, or entity, not-for-profit, commercial or otherwise.
Modification or False Representation of Content
You may not modify or falsely represent content accessed through the API and still claim the source is NLM.
Right to Limit
Your use of the API may be subject to certain limitations on access, calls, or use as set forth within this Agreement or otherwise provided by NLM. If NLM reasonably believes that you have attempted to exceed or circumvent these limits, your ability to use the API may be permanently or temporarily blocked. NLM may monitor your use of the API to improve the service or to insure compliance with this Agreement.
If you wish to terminate this Agreement, you may do so by refraining from further use of the API. NLM reserves the right (though not the obligation) to (1) refuse to provide the API to you, if it is NLM's opinion that use violates any NLM policy, or (2) terminate or deny you access to and use of all or part of the API at any time for any other reason in its sole discretion,. All provisions of this Agreement which by their nature should survive termination shall survive termination including, without limitation, warranty disclaimers, indemnity, and limitations of liability.
NLM reserves the right, at its sole discretion, to modify or replace this Agreement, in whole or in part. Your continued use of or access to the API following posting of any changes to this Agreement constitutes acceptance of those modified terms. NLM may, in the future, offer new services and/or features through the API. Such new features and/or services shall be subject to the terms and conditions of this Agreement.
Disclaimer of Warranties
The API is provided "as is" and on an "as-available" basis. NLM hereby disclaim all warranties of any kind, express or implied, including without limitation the warranties of merchantability, fitness for a particular purpose, and non-infringement. NLM makes no warranty that the API will be error free or that access thereto will be continuous or uninterrupted.
Limitations on Liability
In no event will NLM be liable with to respect to any subject matter of this Agreement under any contract, negligence, strict liability or other legal or equitable theory for:
any special, incidental, or consequential damages;
the cost of procurement of substitute products or services;
for interruption of use or loss or corruption of data.
You agree to indemnify and hold harmless NLM, its contractors, employees, agents, and the like from and against any and all claims and expenses including attorney's fees, arising out of your use of the API, including but not limited to violation of this Agreement.
This Agreement constitutes the entire Agreement between NLM and you concerning the subject matter hereof, and may only be modified by the posting of a revised version on this page by NLM.
Any disputes arising out of this Agreement and access to or use of the API shall be governed by federal law.
No Waiver of rights
NLM's failure to exercise or enforce any right or provision of this Agreement shall not constitute waiver of such right or provision.