get_series_updates#

FredAPI.get_series_updates(realtime_start=None, realtime_end=None, limit=None, offset=None, filter_value=None, start_time=None, end_time=None)[source]#

Get FRED series updates

Retrieves updates for a series from the FRED API.

Parameters:
  • realtime_start (str | datetime, optional) – The start of the real-time period. String format: YYYY-MM-DD.

  • realtime_end (str | datetime, optional) – The end of the real-time period. String format: YYYY-MM-DD.

  • limit (int, optional) – The maximum number of results to return. Default is 1000.

  • offset (int, optional) – The offset for the results. Used for pagination.

  • filter_value (str, optional) – Filter results by this value.

  • start_time (str | datetime, optional) – The start time for the updates. String format: HH:MM.

  • end_time (str | datetime, optional) – The end time for the updates. String format: HH:MM.

Returns:

If multiple series are returned.

Return type:

List[Series]

Raises:

ValueError – If the API request fails or returns an error.

Example

>>> import fedfred as fd
>>> fred = fd.FredAPI('your_api_key')
>>> series = fred.get_series_updates()
>>> for s in series:
>>>     print(s.id)
'PPIITM'
'PPILFE'
'PPIFGS'...
FRED API Documentation:

https://fred.stlouisfed.org/docs/api/fred/series_updates.html