Skip to main content
Available as MCP tools: macro_indicator_search + macro_indicator_history — call directly from Claude / Cursor / any MCP client. See MCP Server for the 60-second setup.
Live   1 credit · history   free · search

What it does for your agent

macro_indicator_history returns the latest-vintage historical time series for one supported U.S. macro indicator (CPI, UNRATE, Fed Funds, 10Y yield, GDP, etc.) — a list of { date, value, realtime_start, realtime_end } observations. Use it as a macro time-series fetcher mid-task: when an agent needs to chart inflation over the last 5 years, compute a yield-curve slope, or feed observations into a downstream model. The canonical agent flow is two-step: call macro_indicator_search first (free) to locate the right indicator alias, then macro_indicator_history to pull the series. Two query modes:
  • Recent mode — pass limit (default 60) for the most recent N observations.
  • Range mode — pass start_date + end_date for an explicit window.

Agent flow

Response

MacroHistorical
required
Indicator metadata + observations array.
number
Credits consumed (always 1).
number
Account credits remaining.
200 OK · macro_indicator_history
Each series carries its own attribution string (FRED source notice) under data — surface it when you display the data. This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Notes

Revision-aware: macro observations get revised. The series returns the current latest vintage, not the value released originally. Use realtime_start / realtime_end to detect whether you’re seeing a revised print. As-of vintage replay is not currently supported.
Default limit=60 covers ~5 years for monthly series, ~1 year for weekly, ~3 months for daily. Bump to 500 or use Range mode for longer windows. Popular indicators usually return faster on repeated calls.
Recent and Range are mutually exclusive. Pass either limit alone, or start_date + end_date together. Passing only one of start_date / end_date returns 400.
Supported catalog only. ~50 curated U.S. indicators. Arbitrary series_id values outside the catalog return 404. Use macro_indicator_search to discover what’s available.

Direct invocation

Full parameter reference

string
Free-text keyword. Matches indicator alias, indicator title, and series_id.
string
Filter by theme (Inflation, Rates, Labor, Growth, Housing, Liquidity, Conditions, FX, Credit, Sentiment, Energy, Inflation Expectations, Consumption).
string
Filter by cadence (Daily, Weekly, Monthly, Quarterly, Annual).
number
default:20
Max items returned. Range 1–100.
string
Platform alias (e.g. us.cpi.headline, us.rates.fed_funds). Use this OR series_id.
string
Raw series ID (e.g. CPIAUCSL). Use this OR indicator. Must be in the supported catalog.
string
Range mode. ISO date YYYY-MM-DD. Must be paired with end_date.
string
Range mode. ISO date YYYY-MM-DD. Must be paired with start_date.
number
default:60
Recent mode count. Range 1–500. Ignored when Range mode is used.

Macro Indicators Catalog

Discover the ~50-indicator catalog (free).

Macro Snapshot

Just the latest print + delta vs previous (no full series).