The USA and Canada economic data

Anton Nalivayko
2 min readNov 9, 2021

In this article I want to describe to you how I get actual data for the USA and Canada.

The Federal Reserve System (FRS) is the central bank of the United States and has a distributed financial system. There are twelve regions and federal banks in each region responsible for the financial system.

US Court of Appeals and District Court map.svg: User:Tintazulderivative work: Nkocharh;File:Federal Reserve Districts Map — Banks & Branches.png — This is a heavily modified version of Image:US Court of Appeals and District Court map.svg which was based on a U.S. Government document., CC BY-SA 2.5, https://commons.wikimedia.org/w/index.php?curid=3738759

I have done some research and found that the federal bank of Sant Luis has big and open economic data online called Federal Reserve Economic Data (FRED). So, from Fred Api I get data for the USA, Canada, and the United Kingdom. I am using the Api facade for integration with Fred. You should register at Fred service and get an authorization key to get data from the server. I get Gdp, Currency Rate, and monetary data.

For example, I get Monetary M3 parameter from Fred

I get the consumer price Index and labor statistics for the USA from the U.S. BUREAU OF LABOR STATISTICS which is part of the U.S. DEPARTMENT OF LABOR.

This is a federal office that collects data for the U.S. economy and labor market.

It has BLS Public Data API where I get data using Rest Api

As result for the USA I got collected data:

I got the same Data from Fred for Canada but also I got currency rate and customer price index for Canada from the Bank of Canada. And the result is:

You can also see the result of implementation in my service Wecobook.

--

--