Get FRED series data
fred_get_seriesRetrieve economic data for any FRED series by ID, with options for transformations, frequency changes, and date ranges. Get the observations you need for indicators like GDP or unemployment.
Instructions
Retrieve data for any FRED series by its ID. Supports data transformations, frequency changes, and date ranges.
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": "fred_get_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of observations to return | |
| units | No | Data transformation: lin=levels, chg=change, pch=percent change, log=natural log | |
| offset | No | Number of observations to skip | |
| frequency | No | Frequency aggregation: d=daily, w=weekly, m=monthly, q=quarterly, a=annual | |
| series_id | Yes | The FRED series ID to retrieve data for (e.g., 'GDP', 'UNRATE', 'CPIAUCSL') | |
| sort_order | No | Sort order of observations by date | |
| output_type | No | Output format: 1=observations, 2=observations by vintage, 3=observations by release, 4=initial release only | |
| vintage_dates | No | Vintage date or dates in YYYY-MM-DD format | |
| observation_end | No | End date for observations in YYYY-MM-DD format | |
| observation_start | No | Start date for observations in YYYY-MM-DD format | |
| aggregation_method | No | Aggregation method: avg=average, sum=sum, eop=end of period |