Econdata Get Series
econdata_get_seriesFetch any economic time series by ID (e.g., "CPUR0000SA0" for CPI, "LNS14000000" for unemployment). Returns historical data points with dates and values.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"series_id": "CUUR0000SA0"
},
"name": "econdata_get_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | Optional BLS registration key (free, raises the daily cap from ~25 to 500). The gateway supplies a platform key; pass your own only to override. | |
| end_year | No | End year as 4-digit string (e.g. "2024"). Optional. | |
| series_id | Yes | BLS series ID (e.g. "CUUR0000SA0" for CPI) | |
| start_year | No | Start year as 4-digit string (e.g. "2020"). Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Time series data points | |
| total | Yes | Number of data points returned. Equal to `returned`, BLS returns every point in the requested year range. | |
| end_year | Yes | End year filter if provided, null otherwise | |
| returned | No | How many data points are in `data`. Always equal to `total` here; stated so a caller need not assume it. | |
| series_id | Yes | BLS series ID requested | |
| start_year | Yes | Start year filter if provided, null otherwise | |
| observation_order | No | Order of the `data` array. BLS returns each series newest-first. |