get_macro_data
Get historical macroeconomic data from BLS and market sources, including CPI, unemployment, policy rates, and yield curves, with month-over-month and year-over-year changes.
Instructions
Historical macroeconomic series from the BLS with month-over-month and year-over-year changes — the numbers behind the inflation and labour narrative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | How many observations to show per series (default 13). | |
| series | No | Comma-separated keys or a list. BLS (default source): cpi, cpi_sa, core_cpi, unemployment, payrolls, ppi, avg_hourly_pay, labor_force. Central banks and markets (source="markets"): fed_funds, fed_target_upper, ecb_deposit, ecb_refi, boe_bank_rate, boe_sonia, boj_call_rate, us_2y, us_10y, us_30y, curve_10y_2y, curve_10y_3m, breakeven_10y, us_cpi, us_core_pce, us_gdp_real, us_unemployment, euro_hicp, dollar_index, vix, hy_spread, mortgage_30y. | cpi,core_cpi,unemployment |
| source | No | "bls" for US labour statistics (default), or "markets" for policy rates, the yield curve and financial conditions via FRED, the ECB and the Bank of England. | bls |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |