get_fred_series_observations
Retrieve economic time series observations for a specified FRED series ID. Apply date ranges, frequency, units, and transformations to get the exact data points needed.
Instructions
Get series observations from the Fred API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"series_id": "<series_id>"
},
"name": "get_fred_series_observations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of observations to return. Defaults to 10. | |
| units | No | Data value transformation. Options: 'lin', 'chg', 'ch1', 'pch', 'pc1', 'pca', 'cch', 'cca', 'log'. Defaults to 'lin'. | lin |
| offset | No | Number of observations to offset from first. Defaults to 0. | |
| frequency | No | Frequency of observations. Options: 'd', 'w', 'bw', 'm', 'q', 'sa', 'a', 'wef', 'weth', 'wew', 'wetu', 'wem', 'wesu', 'wesa', 'bwew', 'bwem'. Defaults to no value for no frequency aggregation. | |
| series_id | Yes | The id for a series. | |
| sort_order | No | Sort order of observations. Options: 'asc' or 'desc'. Defaults to 'asc'. | asc |
| output_type | No | Output type of observations. Options: 1, 2, 3, 4. Defaults to 1. | |
| realtime_end | No | The end of the real-time period. Format: YYYY-MM-DD. Defaults to today's date. | |
| vintage_dates | No | Comma-separated list of vintage dates. | |
| realtime_start | No | The start of the real-time period. Format: YYYY-MM-DD. Defaults to today's date. | |
| observation_end | No | End date of observations. Format: YYYY-MM-DD. | |
| observation_start | No | Start date of observations. Format: YYYY-MM-DD. | |
| aggregation_method | No | Aggregation method for frequency. Options: 'avg', 'sum', 'eop'. Defaults to 'avg'. | avg |