Commerce.gov is getting a facelift soon. See the new design.
Syndicate content

Blog Category: API

Attention Developers: More Economic Statistics Added to BEA’s API

Developers, do you want to bring more detailed economic data to your next app? The Bureau of Economic Analysis (BEA) recently added several data sets to the application programming interface (API) we launched last year.

The API now provides direct access to the gross domestic product (GDP) underlying detail tables. Those tables contain a wealth of statistics, including how much consumers spend on hundreds of items like furnishings, food and flowers and how much revenue the government takes in and spends.

Other newly added data to the API are BEA’s national fixed assets, which include statistics on fixed assets like factory equipment, buildings, intellectual property and durable goods for consumers. 

The new additions give you the ability to create an even richer, customized economic dashboard of your own.

The new data sets join BEA’s GDP and related national economic statistics and regional economic statistics, which have been available via API since the service launched in May 2013. In addition to expanding the amount of data available on the API, BEA published an updated User Guide, making it easier for developers to start using the service.

BEA’s API allows developers to build a service to search, display, analyze, retrieve, or view BEA statistics. For example, you can create a “mashup” that combines BEA data with other government or private data sources to create new services or give your users a different perspective on their communities. Or you can design a tool that gives your users new ways to visualize economic data.

The API includes methods for retrieving subsets of BEA statistical data and the meta-data that describes it using HTTP requests. It delivers data in two industry-standard formats: XML (Extensible Markup Language) and JSON (JavaScript Object Notation).

To use the API, you need to register first. Full documentation is available in the updated API User Guide.

More Data in the Census Bureau API to Help You #hackforchange

Guest blog post by Logan Powell, Developer Engagement Lead, U.S. Census Bureau

Two years ago, the Census Bureau launched its application programming interface (API), giving developers access to a variety of high value data sets, including our flagship 2010 Census and American Community Survey five-year statistics, providing information for every neighborhood in the nation. Since that initial launch, we have added key economic indicators, as well as the 1990 and 2000 Censuses, and additional American Community Survey data and key economic indicators.

By continuing to release new data sets into the API, and adding more of the Census Bureau’s rich economic statistics to our demographic products, we are giving developers greater flexibility to create new tools to better understand our communities and solve real world issues. Recently, we released even more data sets to the API. These include population estimates, establishment and payroll data from county business patterns, nonemployer statistics, and the latest statistics from the 2012 Economic Census. These statistics allow developers to create a variety of apps and tools, such as ones that allow business owners to find the latest establishment data needed to plan for new or expanded business.

We are continuing to work toward meeting the goals of the Digital Government Strategy for a more “customer-centric” approach. For example, the Census Bureau partnered with Data Innovation DC, a Washington, D.C. meet up group of 1,000 members composed of data scientists, data journalists, civic hackers and data-oriented entrepreneurs, and participated in this year’s National Day of Civic Hacking. We asked real-life data users to discuss their data-related problems. By directly engaging with our customers, we can develop strategies to make our statistics easier to use so that customers can make data-driven decisions. 


We will continue searching for ways to make more of our data available for developers to build apps that make our public data more accessible anytime, anywhere and on any device. By taking part in both local and national “civic hacking” events, we hope these relationships will help us to build stronger ties with our customers while reaching new audiences with our statistics.

I encourage you to visit our API, look for ways to combine our statistics with other sources, and create useful apps that will benefit the public. We look forward to what you will create. 

Census Bureau’s API Continues Commitment to Innovation

Census Bureau’s API Continues Commitment to Innovation

By Lisa Wolfisch, U.S. Census Bureau

In July 2012, the U.S. Census Bureau launched its first-ever application programming interface, allowing developers to design Web and mobile apps to explore or learn more about America's changing population and economy. The API allows developers more direct access to statistics and easier customization of their applications.

The API serves data from across the decades from the 1990 Census through the 2012 American Community Survey.  These programs offer statistics for every neighborhood in the U.S. and delivers on the Census Bureau’s commitment to create a platform for innovation by “opening up its data.”  Just last month, the Census Bureau updated the API with 13 monthly and quarterly economic indicators.

This information-centric approach promises to be the new default for all public data. Users of all varieties will benefit by creating new ways and tools to explore the data they want, rather than through restrictive PDFs and impossible to download formats.

Developers can use the statistics available through the API to create a variety of apps and tools, such as ones that allow homebuyers to find the latest new residential construction statistics. By combining Census Bureau statistics with other data sets, developers can create tools for researchers to look at topics such as school quality, toxic waste or restaurant locations and how they affect a community.

The Census Bureau not only created the API but is using it to create tools for you to access statistics, such as Easy Stats, a Census Bureau data access program, and dwellr, a mobile app released last November and since refreshed with the latest data.  Both of these tools offer easier access to American Community Survey statistics.