The Apple Podcasts genre tree
list_genresFetch Apple Podcasts categories with numeric IDs for a storefront, providing the genre_id needed for search_podcasts.
Instructions
Apple's podcast categories and their numeric ids, fetched live rather than hardcoded. The ids are what search_podcasts takes as genre_id. Note that these are the categories Apple files shows under: they are not charts, and there is no way to request a chart for one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storefront | No | Two-letter country code for the Apple storefront to read, such as us, gb, se or de. Apple's catalog, charts and reviews are all per country and they differ, so this changes the answer rather than just the language. Defaults to APPLE_PODCASTS_STOREFRONT, which is us unless configured otherwise. | |
| top_level_only | No | Return only the 19 top-level categories, without their subcategories. |