The API Briefing: FRED® and ALFRED® Serve Up a Buffet of Economic Data

Nov 26, 2014

FRED app home screen
The federal government captures almost every economic data trend through several agencies. The Federal Reserve of St. Louis offers 238,000 economic trends through FRED® (Federal Reserve Economic Data). FRED® data can be accessed through the FRED® website or the FRED® mobile app (Android | Apple). FRED® data can even be pulled into Excel through a free plugin.

Developers can take advantage of the vast data resources of FRED® and its cousin, ALFRED® (ArchivaL Federal Reserve Economic Data). Developers query FRED® and ALFRED® by categories, release dates, economic series, sources, and tags, which provides several robust methods to pinpoint the exact economic data the user needs. The documentation is extensive and demonstrates how to retrieve the data in both XML and JSON formats.

Especially helpful to developers are the various API toolkits that FRED® offers. There are seven API toolkits written for the most common programming languages: C++, Common Lisp, Java, .NET, PHP, Python, and Ruby. The toolkits make accessing and parsing data easier for developers so that they can concentrate on other app features.

GeoFRED® presents the some of the economic data geographically. Users can register to create and save their maps. GeoFRED® does not appear to have its own API, and I could not determine if FRED® or ALFRED® offers location data. Mapping would be a great feature, but FRED® and ALFRED® offer an amazing amount of data to build many excellent apps.

600-x-436-GEOFred-API

*API – Application Programming Interface. How software programs and databases share data and functions with each other. Check out APIs in Government for more information. Each week in “The API Briefing,” I will showcase government APIs and the latest API news and trends. Visit this blog every week to learn how government APIs are transforming government and improving government services for the American people. If you have ideas for a topic or have questions about APIs, please contact me via email. Dr. William A. Brantley is the HRIS Branch Chief in the USDA’s Rural Development Human Resources Office. You can find out more about his work in this space at BillBrantley.com. All opinions are his own and do not reflect the opinions of the USDA and GSA.