get_category_series
List FRED series by category ID, with pagination metadata (total count, offset, limit) and customizable ordering and sort direction.
Instructions
List the FRED series that belong to a category, with pagination metadata (total count, offset, limit). Supports ordering, sort direction, and a result limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort direction. | |
| limit | No | Maximum number of series to return. | |
| order_by | No | Field to order results by. | |
| category_id | Yes | The FRED category id (0 is the root of the category tree). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Total number of matches across all pages. | |
| limit | Yes | Page-size limit that FRED applied. | |
| offset | Yes | Offset of this page into the full result set. | |
| series | Yes | The matching series on this page. FRED names the array `seriess` (sic) on the wire; we read that but emit the correctly-spelled `series` on output. |