get_observations
Retrieve date-value pairs from a FRED economic series with optional filtering by date range, unit transformation, frequency aggregation, sort order, and limit.
Instructions
Fetch a FRED series' observations (date/value pairs). Supports an optional date range, a units transform, aggregation to a lower frequency, sort order, and a result limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Latest observation date, `YYYY-MM-DD`. | |
| sort | No | Sort order by date. | |
| limit | No | Maximum number of observations to return. | |
| start | No | Earliest observation date, `YYYY-MM-DD`. | |
| units | No | Units transformation to apply. | |
| frequency | No | Frequency to aggregate observations down to. | |
| series_id | Yes | The FRED series id, e.g. `GNPCA` or `UNRATE`. | |
| aggregation | No | Aggregation method, used together with `frequency`. |