FRED Sources¶
FRED sources endpoints provide information about the sources of data available via the FRED API.
Setup¶
In [1]:
Copied!
import pyfredapi as pf
import pyfredapi as pf
Get all sources¶
In [2]:
Copied!
sources = pf.get_sources()
sources = pf.get_sources()
In [3]:
Copied!
len(sources["sources"])
len(sources["sources"])
Out[3]:
114
In [4]:
Copied!
sources["sources"][0:3]
sources["sources"][0:3]
Out[4]:
[{'id': 1,
'realtime_start': '2024-04-05',
'realtime_end': '2024-04-05',
'name': 'Board of Governors of the Federal Reserve System (US)',
'link': 'http://www.federalreserve.gov/'},
{'id': 3,
'realtime_start': '2024-04-05',
'realtime_end': '2024-04-05',
'name': 'Federal Reserve Bank of Philadelphia',
'link': 'https://www.philadelphiafed.org/'},
{'id': 4,
'realtime_start': '2024-04-05',
'realtime_end': '2024-04-05',
'name': 'Federal Reserve Bank of St. Louis',
'link': 'http://www.stlouisfed.org/'}]