--- title: fred description: Learn how to retrieve Historical Fred Indices close values for selected symbols using the OBB Python library. This documentation page provides details on the required parameters, their types, and default values. It also explains the structure of the returned data and its fields. keywords: - Historical Fred Indices - Close values - get data - symbol - start date - end date - limit - provider - next page - all pages - results - warnings - chart - metadata - date - value --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Historical Fred Indices. Close values for selected Fred indices. ```python wordwrap obb.index.fred(symbol: Union[str, List[str]], start_date: Union[date, str] = None, end_date: Union[date, str] = None, limit: int = 100, provider: Literal[str] = intrinio) ``` --- ## Parameters | Name | Type | Description | Default | Optional | | ---- | ---- | ----------- | ------- | -------- | | symbol | Union[str, List[str]] | Symbol to get data for. | | False | | start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True | | end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True | | limit | int | The number of data entries to return. | 100 | True | | provider | Literal['intrinio'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'intrinio' if there is no default. | intrinio | True | | Name | Type | Description | Default | Optional | | ---- | ---- | ----------- | ------- | -------- | | symbol | Union[str, List[str]] | Symbol to get data for. | | False | | start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True | | end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True | | limit | int | The number of data entries to return. | 100 | True | | provider | Literal['intrinio'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'intrinio' if there is no default. | intrinio | True | | next_page | str | Token to get the next page of data from a previous API call. | None | True | | all_pages | bool | Returns all pages of data from the API call at once. | False | True | --- ## Returns ```python wordwrap OBBject results : List[FredIndices] Serializable results. provider : Optional[Literal['intrinio']] Provider name. warnings : Optional[List[Warning_]] List of warnings. chart : Optional[Chart] Chart object. metadata: Optional[Metadata] Metadata info about the command execution. ``` --- ## Data | Name | Type | Description | | ---- | ---- | ----------- | | date | date | The date of the data. | | value | float | Value of the index. |