get_series_categories
Retrieve categories that a FRED series is assigned to by providing its series ID. See the series' position in the FRED category tree.
Instructions
List the categories a FRED series belongs to (the reverse of get_category_series): given a series id, where it sits in the category tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series_id | Yes | The FRED series id, e.g. `GNPCA` or `UNRATE`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | The number of categories returned. | |
| categories | Yes | The categories the series belongs to. |