Fred
Learn how to use the Fred node in StackAI workflows. Discover key actions, input requirements, configurations, and output examples for seamless economic data integration.
What is Fred?
Fred is a powerful integration node in StackAI that connects your workflow to the Federal Reserve Economic Data (FRED) API. This enables you to access, search, and retrieve a wide range of economic data, including categories, series, releases, and tags, directly within your automated processes.
How to use it?
To use the Fred node, simply add it to your StackAI workflow and select the desired action. Each action allows you to interact with different aspects of the FRED database, such as fetching economic series, searching for categories, or retrieving release information. Configure the required inputs and parameters for each action to tailor the data retrieval to your needs.
Example of Usage
Suppose you want to retrieve a list of economic data series for a specific category. You would select the "Get Category Series" action, provide the required category ID, and optionally set filters like limit or order. The node will output a structured list of series matching your criteria.
Available Actions in Fred
Below are the most commonly used actions in the Fred integration, along with their input, configuration, and output details:
1. Get Category
Description: Retrieve information about a specific FRED category.
Inputs:
category_id (Required): The unique ID of the FRED category.
Configurations:
None required.
Outputs:
Category details (Required): Returns the category’s ID, name, parent ID, and notes.
Example: Retrieve details for category_id "125".
2. Get Category Children
Description: List all subcategories under a specific FRED category.
Inputs:
category_id (Required): The unique ID of the parent category.
Configurations:
None required.
Outputs:
List of child categories (Required): Each with ID, name, and parent ID.
Example: List children for category_id "125".
3. Get Category Series
Description: Retrieve all economic data series within a specific category.
Inputs:
category_id (Required): The unique ID of the category.
limit (Optional): Maximum number of series to return.
order_by (Optional): Field to order results by (e.g., "popularity").
sort_order (Optional): "asc" or "desc".
Configurations:
None required.
Outputs:
List of series (Required): Each with ID, title, frequency, units, and more.
Example: Get up to 10 series in category_id "125", ordered by popularity.
4. Get Releases
Description: Retrieve a list of all FRED data releases.
Inputs:
limit (Optional): Maximum number of releases to return.
order_by (Optional): Field to order results by.
sort_order (Optional): "asc" or "desc".
Configurations:
None required.
Outputs:
List of releases (Required): Each with ID, name, and release dates.
Example: Get the 5 most recent releases.
5. Get Release Info
Description: Retrieve detailed information about a specific FRED release.
Inputs:
release_id (Required): The unique ID of the release.
Configurations:
None required.
Outputs:
Release details (Required): Includes name, press release, and notes.
Example: Get info for release_id "53".
6. Get Release Series
Description: List all data series associated with a specific release.
Inputs:
release_id (Required): The unique ID of the release.
limit (Optional): Maximum number of series to return.
Configurations:
None required.
Outputs:
List of series (Required): Each with ID, title, and frequency.
Example: Get up to 10 series for release_id "53".
7. Get Release Dates
Description: Retrieve all release dates for a specific FRED release.
Inputs:
release_id (Required): The unique ID of the release.
Configurations:
None required.
Outputs:
List of release dates (Required): Each with a date and status.
Example: Get all dates for release_id "53".
8. Get Category Tags
Description: List all tags associated with a specific FRED category.
Inputs:
category_id (Required): The unique ID of the category.
Configurations:
None required.
Outputs:
List of tags (Required): Each with name, group ID, and notes.
Example: Get tags for category_id "125".
9. Get Releases Sources
Description: List all sources for a specific FRED release.
Inputs:
release_id (Required): The unique ID of the release.
Configurations:
None required.
Outputs:
List of sources (Required): Each with ID and name.
Example: Get sources for release_id "53".
10. Get Release Tables
Description: Retrieve all tables associated with a specific FRED release.
Inputs:
release_id (Required): The unique ID of the release.
Configurations:
None required.
Outputs:
List of tables (Required): Each with ID, name, and description.
Example: Get tables for release_id "53".
Summary
The Fred node in StackAI provides seamless access to economic data from the FRED database. By configuring the appropriate action and supplying the required inputs, you can automate the retrieval and analysis of economic indicators, categories, releases, and more within your workflows.
Last updated
Was this helpful?