Department of Labor Logo United States Department of Labor
Dot gov

The .gov means it's official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you're on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Introducing the BLS Public Data Application Programming Interface

API image The Bureau of Labor Statistics (BLS) has a wealth of information and statistics within its databases that frequent visitors to the BLS website may wish to access through external programs and applications. In order to facilitate this access and encourage development, BLS has made its Public Data Application Programming Interface (API) available to the public. The BLS Public Data API is a tool that programmers, developers, and third party organizations can use to access BLS' voluminous database of labor-related statistics. Users can pull and analyze raw economic data from BLS programs and then develop a wide range of web and mobile applications using the most popular programming languages.

The Public Data API allows the BLS to engage users outside of the economic discipline, thus extending its reach. It allows application developers the ability to manipulate BLS data for their own purposes with the hope that others may benefit as well. Releasing BLS' Data API to the public will therefore allow BLS to reach a whole new generation of Internet users, rather than focusing on economists, statisticians, and data analysts. With the Public Data API, programmers can invoke data into their mobile application and web sites and present data from a wide range of BLS programs, including major surveys, economic releases, and publications, for use by those who wish to delve deeper. Programmers can then customize applications based on a targeted audience using BLS statistics. It is the BLS' hope that releasing its Data API for public use will encourage innovation and creativity among developers and programmers within the technological field.

BLS has created a Developer's site with more in-depth instructions and documentation for using the Public Data API. The Developer's site includes instructions and examples of the API signatures a developer would use to access BLS data through an external application. Sample code is also provided for the some of the most popular programming languages. Currently, users may access up to ten years of data from up to 25 historical time series at a time, and data is available from all BLS programs. For more information, please visit the the Public Data API Features page. BLS encourages and appreciates all feedback, as it will help further develop the Public Data API for future developers.

Last Modified Date: August 23, 2013