fred_observations
Get time-series observations for a FRED series ID. Workhorse query for any economic indicator. Optional date range, units transformation (lin, chg, pch, log, etc.), and frequency aggregation (m, q, a).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Inclusive upper-bound ISO date (YYYY-MM-DD). | |
| limit | No | Maximum rows to return (default 50 for observations, 25 for catalog queries). | |
| start | No | Inclusive lower-bound ISO date (YYYY-MM-DD). | |
| units | No | Units transformation: 'lin' (default), 'chg' (change), 'ch1' (change YoY), 'pch' (% change), 'pc1' (% change YoY), 'log', etc. | |
| frequency | No | Aggregate to a different frequency: 'd', 'w', 'bw', 'm', 'q', 'sa', 'a'. | |
| series_id | Yes | FRED series ID (e.g. 'GDP', 'UNRATE'). See https://fred.stlouisfed.org/ for the catalog. | |
| aggregation_method | No | Aggregation method when changing frequency: 'avg', 'sum', or 'eop' (end of period). |