Get US Macro Snapshot (FRED)
get_fred_snapshotFetch a predefined set of key US macro indicators from FRED in one call: latest value, previous value, and date for each series.
Args:
set: which indicator set (default us_core)
us_core: FEDFUNDS (Fed funds rate), DGS10, DGS2, T10Y2Y (10Y-2Y spread), CPIAUCSL (CPI YoY %), UNRATE, PAYEMS (monthly payroll change), DEXKOUS (KRW per USD)
rates: FEDFUNDS, DGS2, DGS10, DGS30, T10Y2Y, MORTGAGE30US, SOFR
inflation: CPIAUCSL, CPILFESL, PCEPI, PCEPILFE, PPIACO (all as % change from year ago)
labor: UNRATE, PAYEMS (change), ICSA (initial claims), CIVPART, AHETPI (wages YoY %)
Returns: {set, as_of, indicators:[{id, title, value, prev, date, units}], source}. 'value' is the latest non-null observation, 'prev' the one before it.
Examples:
"how does the US economy look right now" -> {set:'us_core'}
"current US rate complex" -> {set:'rates'}
Don't use for historical analysis or non-listed series — use get_fred_series instead.
Errors: individual unavailable series are reported in 'notes' without failing the whole snapshot; missing FRED_API_KEY returns a hint to obtain a free key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Indicator set: us_core (default) | rates | inflation | labor | us_core |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| as_of | No | ||
| source | Yes | ||
| indicators | Yes |