fred-economic-data

Featured

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research, policy studies, economic forecasting, and academic research requiring U.S. and international economic indicators.

AI & Automation 3,837 stars 345 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# FRED Economic Data Access ## Overview Access comprehensive economic data through FRED (Federal Reserve Economic Data), a database maintained by the Federal Reserve Bank of St. Louis containing over 800,000 economic time series from over 100 sources. **Key capabilities:** - Query economic time series data (GDP, unemployment, inflation, interest rates) - Search and discover series by keywords, tags, and categories - Access historical data and vintage (revision) data via ALFRED - Retrieve release schedules and data publication dates - Map regional economic data with GeoFRED - Apply data transformations (percent change, log, etc.) ## API Key Setup **Required:** All FRED API requests require an API key. 1. Create an account at https://fredaccount.stlouisfed.org 2. Log in and request an API key through the account portal 3. Set as environment variable: ```bash export FRED_API_KEY="your_32_character_key_here" ``` Or in Python: ```python import os os.environ["FRED_API_KEY"] = "your_key_here" ``` ## Quick Start ### Using the FREDQuery Class ```python from scripts.fred_query import FREDQuery # Initialize with API key fred = FREDQuery(api_key="YOUR_KEY") # or uses FRED_API_KEY env var # Get GDP data gdp = fred.get_series("GDP") print(f"Latest GDP: {gdp['observations'][-1]}") # Get unemployment rate observations unemployment = fred.get_observations("UNRATE", limit=12) for obs in unemployment["observations"]: print(f"{obs['date']}: {obs['value']}%") # Search for infl...

Details

Author
foryourhealth111-pixel
Repository
foryourhealth111-pixel/Vibe-Skills
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

lib-fredapi

fredapi wraps FRED/ALFRED and is the primary anti-look-ahead tool in macro - and three of its four vintage methods are buggy in source. TRIGGER - fredapi, "from fredapi import Fred", Fred(api_key=), FRED_API_KEY, get_series, get_series_all_releases, get_series_as_of_date, get_series_first_release, get_series_vintage_dates, realtime_start, realtime_end, ALFRED, vintage, data revision, revised GDP, CPI or payrolls, Philadelphia Fed Real-Time Data Set, full-fred, DBnomics, "Bad Request. The value for variable api_key is not registered". Frozen at 0.5.2 since 2024-05, so these bugs are current behaviour, not history you remember from an old version. SKIP for lib-edgartools, which is the skill for company filings and fundamentals. SKIP when the question is WHICH library to choose, or names no library at all - both belong to the domain skill.

1 Updated 2 days ago
howard-lynn-ye
Data & Documents Listed

search

Find FRED economic series IDs by keyword through the fred-client CLI. Use when a user knows the economic concept but not its FRED series ID, or asks to search FRED for GDP, unemployment, inflation, interest rates, exchange rates, or another series. Trigger phrases: FRED series 찾기, FRED 코드 찾아, 경제지표 검색, find FRED series, search FRED, FRED series ID.

1 Updated 2 months ago
seokhoonj
Data & Documents Listed

fetch

Fetch observations for a curated fred-client indicator or any FRED series ID through the fred-client CLI. Use when a user asks for economic-data values, history, recent observations, a date range, frequency conversion, or units transformation. Accept either a grouped accessor such as growth gdp or a series ID such as GDP. Trigger phrases: FRED 시계열, GDP 추이, 최근 실업률, 경제지표 ��져와, fetch FRED data, FRED time series, economic data history.

1 Updated 2 months ago
seokhoonj