> Part of the Rephonic API reference. The full list of pages is at https://rephonic.com/llms.txt.

# Categories

> Podcast categories, for search filters.

```
GET https://api.rephonic.com/api/common/categories/
```

Get every Apple Podcasts category, including subcategories like `Arts / Books`. Use a category's `id` in the `categories` [search filter](https://rephonic.com/developers/docs/1.1/search-filters.md) to find podcasts in it, and its `slug` with [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings.md) to get its Apple Podcasts chart.

## Response Fields

- `categories` (array of objects): Every podcast category.
  - `id` (integer): The category's ID. Use it in the `categories` search filter.
  - `name` (string): The full name. A subcategory includes its parent, as in `Arts / Books`.
  - `short_name` (string): The name without the parent category, as in `Books`.
  - `slug` (string): The category's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings.md).
  - `parent_slug` (string or null): The parent category's slug, or `null` for a top-level category.

## Example Request

```bash
curl https://api.rephonic.com/api/common/categories/ \
  -H "X-Rephonic-Api-Key: YOUR_API_KEY"
```

## Example Response

```json
{
  "categories": [
    {
      "id": 1301,
      "name": "Arts",
      "short_name": "Arts",
      "slug": "arts",
      "parent_slug": null
    },
    {
      "id": 1482,
      "name": "Arts / Books",
      "short_name": "Books",
      "slug": "arts-books",
      "parent_slug": "arts"
    }
  ]
}
```
