Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides Python access to the FRED economic database, with 800,000+ US and international time series for macro research.
Use this skill ↓77% 91%+14 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
3 of 3 safety checks passed
Not used yet
Fred API provides access to Federal Reserve Economic Data (FRED) — 800,000+ US and international economic time series. Use it for GDP, unemployment, inflation, interest rates, industrial production, and financial market data.
uv pip install fredapi
from fredapi import Fred
fred = Fred(api_key="YOUR_API_KEY") # get free key from research.stlouisfed.org
# Get GDP data (series ID: GDP)
gdp = fred.get_series("GDP")
print(gdp.tail())
# Get unemployment rate
unemp = fred.get_series("UNRATE")
print(unemp.tail())
# Search for series
results = fred.search("consumer price index", limit=5)
print(results[["id", "title", "observation_start", "observation_end"]])
# Get series info
info = fred.get_series_info("CPIAUCSL") # CPI Urban Consumers
print(info)
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.