# FRED (Federal Reserve Economic Data) API

- URL: https://betteranalyst.com/datasets/federal-reserve-economic-data

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

FRED provides access to over 800,000 economic time series from dozens of national, international, public, and private sources. Data covers GDP, employment, inflation, interest rates, money supply, housing, trade, consumer sentiment, and more. Series can be retrieved individually or in bulk by release, with support for frequency aggregation, unit transformations, and date filtering. FRED is maintained by the Research Division of the Federal Reserve Bank of St. Louis.

Try asking

arrow\_forwardPlot US GDP growth rate over the last 20 yearsarrow\_forwardCompare the unemployment rate and inflation rate since 2000arrow\_forwardShow me the federal funds rate history and highlight recessionsarrow\_forwardWhat is the current 10-year Treasury yield and how has it changed?arrow\_forwardAnalyze the relationship between M2 money supply and CPI inflationarrow\_forwardChart nonfarm payroll employment changes month over month for the last 5 yearsarrow\_forwardShow me the yield curve by plotting Treasury rates at different maturitiesarrow\_forwardHow has the US trade balance changed over the past decade?

## What you can query

You can fetch observations for any series by ID with date range, frequency, and unit transformation options (series/observations), and search for series by keywords sorted by popularity or relevance (series/search). Common series include GDP (GDPC1), unemployment rate (UNRATE), CPI (CPIAUCSL), federal funds rate (DFF), 10-year Treasury yield (DGS10), and housing starts (HOUST).

## What you can do

- Economic research and academic analysis
- Financial modeling and investment analysis
- Macroeconomic forecasting and trend analysis
- Inflation and monetary policy monitoring
- Labor market and employment analysis
- Treasury yield curve analysis
- Business cycle and recession analysis
- Historical economic data visualization

## Explore more datasets

Discover other public datasets and live API connections you can chat with.

- [![Yahoo Finance](https://betteranalyst.com/images/logos/yahoo-finance.png)Live API](https://betteranalyst.com/datasets/stock-market-yfinance)
  ### [Stock Market Data (Yahoo Finance)](https://betteranalyst.com/datasets/stock-market-yfinance)
  [Real-time and historical stock prices, financials, dividends, and fundamentals for global equities, ETFs, indices, currencies, and crypto via yfinance — no API key required.](https://betteranalyst.com/datasets/stock-market-yfinance)

  [Yahoo Finance](https://betteranalyst.com/datasets/stock-market-yfinance)
- [![DataForSEO](https://betteranalyst.com/images/logos/dataforseo.png)Live API](https://betteranalyst.com/datasets/dataforseo-seo)
  ### [DataForSEO](https://betteranalyst.com/datasets/dataforseo-seo)
  [Rankings, traffic, competitors, backlinks, AI search visibility, brand mentions and page speed for any website.](https://betteranalyst.com/datasets/dataforseo-seo)

  [DataForSEO](https://betteranalyst.com/datasets/dataforseo-seo)
- [![U.S. Department of Labor](https://betteranalyst.com/images/logos/bls.png)Live API](https://betteranalyst.com/datasets/bureau-of-labor-statistics-data)
  ### [Bureau of Labor Statistics](https://betteranalyst.com/datasets/bureau-of-labor-statistics-data)
  [U.S. employment, unemployment, inflation (CPI), wages, and productivity data from the Bureau of Labor Statistics.](https://betteranalyst.com/datasets/bureau-of-labor-statistics-data)

  [U.S. Department of Labor](https://betteranalyst.com/datasets/bureau-of-labor-statistics-data)
- [![U.S. Securities and Exchange
  &#x20; Commission](https://betteranalyst.com/images/logos/sec.png)Live API](https://betteranalyst.com/datasets/sec-edgar-corporate-filings)
  ### [SEC EDGAR](https://betteranalyst.com/datasets/sec-edgar-corporate-filings)
  [10-K, 10-Q, 8-K, proxy statements, insider trades, and XBRL financial data from all SEC corporate filings.](https://betteranalyst.com/datasets/sec-edgar-corporate-filings)

  [U.S. Securities and Exchange Commission](https://betteranalyst.com/datasets/sec-edgar-corporate-filings)
- [![The World Bank Group](https://betteranalyst.com/images/logos/world-bank.png)Live API](https://betteranalyst.com/datasets/world-bank-economic-indicators)
  ### [World Bank Development Indicators](https://betteranalyst.com/datasets/world-bank-economic-indicators)
  [Nearly 16,000 development indicators covering GDP, population, health, education, and trade for 200+ countries.](https://betteranalyst.com/datasets/world-bank-economic-indicators)

  [The World Bank Group](https://betteranalyst.com/datasets/world-bank-economic-indicators)
- [![U.S. Department of the Treasury](https://betteranalyst.com/images/logos/treasury.png)Live API](https://betteranalyst.com/datasets/usaspending-federal)
  ### [USA Spending Federal Government Spending](https://betteranalyst.com/datasets/usaspending-federal)
  [Free, comprehensive U.S. federal spending data covering contracts, grants, loans, and financial assistance across all government agencies.](https://betteranalyst.com/datasets/usaspending-federal)

  [U.S. Department of the Treasury](https://betteranalyst.com/datasets/usaspending-federal)
- [![Polymarket](https://betteranalyst.com/images/logos/polymarket.png)Live API](https://betteranalyst.com/datasets/polymarket-prediction-markets)
  ### [Polymarket Prediction Market Data](https://betteranalyst.com/datasets/polymarket-prediction-markets)
  [Live and historical forecast probabilities, volume and liquidity for thousands of Polymarket prediction markets on politics, economics, sports and crypto. No API key required.](https://betteranalyst.com/datasets/polymarket-prediction-markets)

  [Polymarket](https://betteranalyst.com/datasets/polymarket-prediction-markets)
- [![Kalshi](https://betteranalyst.com/images/logos/kalshi.png)Live API](https://betteranalyst.com/datasets/kalshi-prediction-markets)
  ### [Kalshi Prediction Market Data](https://betteranalyst.com/datasets/kalshi-prediction-markets)
  [Live and historical forecast probabilities, volume and open interest for Kalshi's regulated US prediction markets on economics, politics, weather and sports. No API key required.](https://betteranalyst.com/datasets/kalshi-prediction-markets)

  [Kalshi](https://betteranalyst.com/datasets/kalshi-prediction-markets)
- [![Frankfurter / European Central Bank](https://betteranalyst.com/images/logos/ecb.png)Live API](https://betteranalyst.com/datasets/frankfurter-currency)
  ### [Frankfurter Currency Exchange Rates](https://betteranalyst.com/datasets/frankfurter-currency)
  [Free currency exchange rates and conversion data from the European Central Bank, updated daily with 30+ currencies and historical data back to 1999.](https://betteranalyst.com/datasets/frankfurter-currency)

  [Frankfurter / European Central Bank](https://betteranalyst.com/datasets/frankfurter-currency)
- [![U.S. Census Bureau](https://betteranalyst.com/images/logos/census.png)Live API](https://betteranalyst.com/datasets/us-census-bureau-population-data)
  ### [U.S. Census Bureau API](https://betteranalyst.com/datasets/us-census-bureau-population-data)
  [Over 1,700 Census datasets covering demographics, housing, income, employment, and business data at all geographic levels.](https://betteranalyst.com/datasets/us-census-bureau-population-data)

  [U.S. Census Bureau](https://betteranalyst.com/datasets/us-census-bureau-population-data)
- [![Census Demographics by ZIP Code & DMA](https://betteranalyst.com/images/logos/census.png)File](https://betteranalyst.com/datasets/us-census-zip-code-demographics)
  ### [Census Demographics by ZIP Code & DMA](https://betteranalyst.com/datasets/us-census-zip-code-demographics)
  [ZIP-level population, age, race, and ethnicity data from the 2024 ACS with DMA market area mappings.](https://betteranalyst.com/datasets/us-census-zip-code-demographics)

  [U.S. Census Bureau](https://betteranalyst.com/datasets/us-census-zip-code-demographics)
- [![IRS Income Statistics by ZIP Code (2022)](https://betteranalyst.com/images/logos/irs.png)File](https://betteranalyst.com/datasets/irs-income-tax-data-by-zip-code)
  ### [IRS Income Statistics by ZIP Code (2022)](https://betteranalyst.com/datasets/irs-income-tax-data-by-zip-code)
  [ZIP-level income tax data with AGI brackets, income sources, deductions, and credits for 27,590 ZIP codes.](https://betteranalyst.com/datasets/irs-income-tax-data-by-zip-code)

  [IRS Statistics of Income (SOI)](https://betteranalyst.com/datasets/irs-income-tax-data-by-zip-code)
- [![National Weather Service (NOAA)](https://betteranalyst.com/images/logos/noaa.png)Live API](https://betteranalyst.com/datasets/national-weather-service-forecast-data)
  ### [National Weather Service](https://betteranalyst.com/datasets/national-weather-service-forecast-data)
  [Current conditions, forecasts, and severe weather alerts for U.S. locations via the National Weather Service.](https://betteranalyst.com/datasets/national-weather-service-forecast-data)

  [National Weather Service (NOAA)](https://betteranalyst.com/datasets/national-weather-service-forecast-data)
- [![Open-Meteo](https://betteranalyst.com/images/logos/open-meteo.png)Live API](https://betteranalyst.com/datasets/open-meteo-archive)
  ### [Open-Meteo Historical Weather Archive](https://betteranalyst.com/datasets/open-meteo-archive)
  [Global historical weather reanalysis back to 1940 with hourly and daily variables by coordinate, no API key required.](https://betteranalyst.com/datasets/open-meteo-archive)

  [Open-Meteo](https://betteranalyst.com/datasets/open-meteo-archive)
- [![EPA AirNow Program](https://betteranalyst.com/images/logos/epa.png)Live API](https://betteranalyst.com/datasets/epa-air-quality-index-data)
  ### [EPA AirNow Air Quality](https://betteranalyst.com/datasets/epa-air-quality-index-data)
  [Real-time and forecast Air Quality Index (AQI) data for PM2.5, PM10, and ozone across the US, Canada, and Mexico.](https://betteranalyst.com/datasets/epa-air-quality-index-data)

  [EPA AirNow Program](https://betteranalyst.com/datasets/epa-air-quality-index-data)
- [![Centers for Medicare & Medicaid Services](https://betteranalyst.com/images/logos/cms.png)Live API](https://betteranalyst.com/datasets/cms-medicare)
  ### [CMS Medicare Provider Data](https://betteranalyst.com/datasets/cms-medicare)
  [U.S. Medicare provider quality ratings, hospital comparisons, nursing home inspections, physician data, and healthcare spending from CMS.gov.](https://betteranalyst.com/datasets/cms-medicare)

  [Centers for Medicare & Medicaid Services](https://betteranalyst.com/datasets/cms-medicare)
- [![USGS Earthquake Hazards Program](https://betteranalyst.com/images/logos/usgs.png)Live API](https://betteranalyst.com/datasets/usgs-earthquake-seismic-data)
  ### [USGS Earthquake Catalog](https://betteranalyst.com/datasets/usgs-earthquake-seismic-data)
  [Real-time and historical earthquake data worldwide including magnitude, location, depth, and tsunami alerts from the USGS.](https://betteranalyst.com/datasets/usgs-earthquake-seismic-data)

  [USGS Earthquake Hazards Program](https://betteranalyst.com/datasets/usgs-earthquake-seismic-data)
- [![U.S. Geological Survey](https://betteranalyst.com/images/logos/usgs.png)Live API](https://betteranalyst.com/datasets/usgs-water)
  ### [USGS Water Data](https://betteranalyst.com/datasets/usgs-water)
  [Real-time and historical U.S. water data including streamflow, water levels, water quality, and groundwater measurements from USGS monitoring stations nationwide.](https://betteranalyst.com/datasets/usgs-water)

  [U.S. Geological Survey](https://betteranalyst.com/datasets/usgs-water)
- [![U.S. Department of Education](https://betteranalyst.com/images/logos/ed.png)Live API](https://betteranalyst.com/datasets/college-scorecard-education-data)
  ### [College Scorecard](https://betteranalyst.com/datasets/college-scorecard-education-data)
  [Institution-level and field-of-study data for 6,500+ colleges including costs, earnings, graduation rates, and admissions.](https://betteranalyst.com/datasets/college-scorecard-education-data)

  [U.S. Department of Education](https://betteranalyst.com/datasets/college-scorecard-education-data)
- [![County Health Rankings (2025)](https://betteranalyst.com/images/logos/rwjf.png)File](https://betteranalyst.com/datasets/county-health-rankings-data)
  ### [County Health Rankings (2025)](https://betteranalyst.com/datasets/county-health-rankings-data)
  [County-level health outcomes, behaviors, clinical care, and socioeconomic factors for 3,200+ U.S. counties.](https://betteranalyst.com/datasets/county-health-rankings-data)

  [Robert Wood Johnson Foundation / University of Wisconsin](https://betteranalyst.com/datasets/county-health-rankings-data)
- [![Medicaid Provider Spending](https://betteranalyst.com/images/logos/cms.png)Database](https://betteranalyst.com/datasets/medicaid-provider-spending-data)
  ### [Medicaid Provider Spending](https://betteranalyst.com/datasets/medicaid-provider-spending-data)
  [Explore 26.8M+ Medicaid provider spending records from CMS — analyze claims, procedures, and payments by provider, state, ZIP code, and monthly trends from 2018–2024.](https://betteranalyst.com/datasets/medicaid-provider-spending-data)

  [CMS (Centers for Medicare & Medicaid Services)](https://betteranalyst.com/datasets/medicaid-provider-spending-data)
- [![U.S. Food and Drug Administration](https://betteranalyst.com/images/logos/fda.png)Live API](https://betteranalyst.com/datasets/openfda-drug-safety-data)
  ### [OpenFDA](https://betteranalyst.com/datasets/openfda-drug-safety-data)
  [FDA public data on drug adverse events, recalls, medical devices, food enforcement, and product labeling.](https://betteranalyst.com/datasets/openfda-drug-safety-data)

  [U.S. Food and Drug Administration](https://betteranalyst.com/datasets/openfda-drug-safety-data)
- [![USDA Agricultural Research Service](https://betteranalyst.com/images/logos/usda.png)Live API](https://betteranalyst.com/datasets/usda-food-nutrition-data)
  ### [USDA FoodData Central](https://betteranalyst.com/datasets/usda-food-nutrition-data)
  [Nutrient profiles for 300,000+ foods including branded products, foundation foods, and survey data from the USDA.](https://betteranalyst.com/datasets/usda-food-nutrition-data)

  [USDA Agricultural Research Service](https://betteranalyst.com/datasets/usda-food-nutrition-data)
- [![HUD User](https://betteranalyst.com/images/logos/hud.png)Live API](https://betteranalyst.com/datasets/hud-housing-urban-development-data)
  ### [HUD User Housing Data](https://betteranalyst.com/datasets/hud-housing-urban-development-data)
  [Fair Market Rents, income limits, USPS vacancy data, and geographic crosswalks from the U.S. Department of Housing and Urban Development.](https://betteranalyst.com/datasets/hud-housing-urban-development-data)

  [HUD User](https://betteranalyst.com/datasets/hud-housing-urban-development-data)
- [![TrustMRR](https://betteranalyst.com/images/logos/trustmrr.png)Live API](https://betteranalyst.com/datasets/trustmrr-startups)
  ### [TrustMRR](https://betteranalyst.com/datasets/trustmrr-startups)
  [Verified startup revenue, MRR, growth rates, and acquisition data for hundreds startups backed by real payment provider integrations.](https://betteranalyst.com/datasets/trustmrr-startups)

  [TrustMRR](https://betteranalyst.com/datasets/trustmrr-startups)
- [![NASA](https://betteranalyst.com/images/logos/nasa.png)Live API](https://betteranalyst.com/datasets/nasa-space-science-data)
  ### [NASA APIs](https://betteranalyst.com/datasets/nasa-space-science-data)
  [Access NASA space and Earth science data including astronomy images, asteroid tracking, Mars rover photos, and space weather.](https://betteranalyst.com/datasets/nasa-space-science-data)

  [NASA](https://betteranalyst.com/datasets/nasa-space-science-data)
- [![MLB Advanced Media](https://betteranalyst.com/images/logos/mlb.png)Live API](https://betteranalyst.com/datasets/mlb-statcast)
  ### [MLB Statcast (Baseball Savant)](https://betteranalyst.com/datasets/mlb-statcast)
  [Comprehensive MLB batting and pitching data — exit velocity, launch angle, pitch velocity, spin rate, expected stats, and advanced analytics for every play since 2015 via Baseball Savant.](https://betteranalyst.com/datasets/mlb-statcast)

  [MLB Advanced Media](https://betteranalyst.com/datasets/mlb-statcast)
- [![NAICS Industry Classification Codes (2022)](https://betteranalyst.com/images/logos/census.png)File](https://betteranalyst.com/datasets/naics-industry-classification-codes)
  ### [NAICS Industry Classification Codes (2022)](https://betteranalyst.com/datasets/naics-industry-classification-codes)
  [Complete 2022 NAICS code hierarchy with all 2,122 industry classifications across 5 levels.](https://betteranalyst.com/datasets/naics-industry-classification-codes)

  [U.S. Census Bureau](https://betteranalyst.com/datasets/naics-industry-classification-codes)
- [![US ZIP Code Geographic Reference](https://betteranalyst.com/images/logos/census.png)File](https://betteranalyst.com/datasets/us-zip-code-reference-data)
  ### [US ZIP Code Geographic Reference](https://betteranalyst.com/datasets/us-zip-code-reference-data)
  [Geographic reference for 33,791 ZIP codes with state, county, coordinates, and land area.](https://betteranalyst.com/datasets/us-zip-code-reference-data)

  [U.S. Census Bureau](https://betteranalyst.com/datasets/us-zip-code-reference-data)
- [![KenPom College Basketball Rating - March Madness](https://betteranalyst.com/images/logos/kenpom.png)File](https://betteranalyst.com/datasets/kenpom-march-madness)
  ### [KenPom College Basketball Rating - March Madness](https://betteranalyst.com/datasets/kenpom-march-madness)
  [KenPom efficiency ratings, tempo, and NCAA Tournament seeds for every D-I team from 2000 to 2026.](https://betteranalyst.com/datasets/kenpom-march-madness)

  [KenPom.com](https://betteranalyst.com/datasets/kenpom-march-madness)
