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

# List Episodes

> List a podcast's episodes, newest first.

```
GET https://api.rephonic.com/api/episodes/
```

Page through a podcast's episodes, newest first. Each one comes with its guests, sponsors and topics, and any YouTube videos we matched to it.

## Parameters

| Field | In | Description | Default | Max | Required |
|-------|----|-------------|---------|-----|----------|
| podcast_id | query | The podcast's Rephonic ID, e.g. `huberman-lab`. |  |  | Yes |
| query | query | Only list episodes that match this. It matches titles, show notes and transcripts, with the same syntax as [search episodes](https://rephonic.com/developers/docs/1.1/search-episodes.md). |  |  |  |
| per_page | query | How many episodes to get on each page. | 25 | 25 |  |
| page | query | Which page to get, starting at 1. | 1 |  |  |

## Response Fields

- `page` (integer): The page you asked for.
- `per_page` (integer): How many episodes are on each page.
- `total_count` (integer): How many episodes there are across all pages.
- `episodes` (array of EpisodeListItem objects): The episodes on this page, newest first.

## Example Request

```bash
curl -G https://api.rephonic.com/api/episodes/ \
  -H "X-Rephonic-Api-Key: YOUR_API_KEY" \
  --data-urlencode "podcast_id=huberman-lab"
```

## Example Response

```json
{
  "page": 1,
  "per_page": 25,
  "total_count": 273,
  "episodes": [
    {
      "id": "kzaca-huberman-lab-dr-brian-keating-charting-the-a",
      "title": "Dr. Brian Keating: Charting the Architecture of the Universe & Human Life",
      "published": "2025-01-20T09:00:00Z",
      "audio_url": "https://pdst.fm/e/traffic.megaphone.fm/SCIM7184460321.mp3",
      "guid": "7ade92aa-d6e7-11ef-ac7f-bf0f4e153b94",
      "itunes_id": null,
      "duration": 11257,
      "transcribed": true,
      "type": "discussion",
      "evergreen": true,
      "branded": false,
      "popularity": 0.86,
      "political_leaning": null,
      "summary": "A discussion about cosmology and the nature of the universe...",
      "notes": "In this episode, my guest is Dr. Brian Keating, Ph.D...",
      "youtube_videos": [
        {
          "id": "3-ukCGQJk2c",
          "title": "Dr. Brian Keating: Charting the Architecture of the Universe & Human Life",
          "num_views": 82000,
          "duration": 9562,
          "thumbnail_url": "https://i.ytimg.com/vi/3-ukCGQJk2c/hqdefault.jpg",
          "url": "https://www.youtube.com/watch?v=3-ukCGQJk2c",
          "episode": null
        }
      ],
      "guests": [
        {
          "name": "Brian Keating",
          "description": "Professor of cosmology at the University of California, San Diego",
          "affiliation": "University of California, San Diego",
          "industry": "Academia",
          "purpose": null,
          "alignment": null,
          "contacts": [],
          "social_accounts": []
        }
      ],
      "sponsors": [
        {
          "name": "BetterHelp",
          "description": "Online therapy service",
          "product_or_service": "Professional therapy with a licensed therapist carried out entirely online.",
          "timestamp": null,
          "ad_text": "If you would like to try BetterHelp, go to betterhelp.com/huberman to get 10% off your first month.",
          "url": "http://betterhelp.com/huberman",
          "promo_code": null,
          "call_to_action": "Get 10% off your first month.",
          "host_read": null
        }
      ],
      "topics": [
        {
          "name": "Cosmology",
          "type": "concept",
          "weight": 0.2
        },
        {
          "name": "Origins Of the Universe",
          "type": "concept",
          "weight": 0.1
        },
        {
          "name": "Astronomy",
          "type": "concept",
          "weight": 0.1
        }
      ]
    }
  ]
}
```

## Objects

Objects that the fields above refer to by name.

### EpisodeListItem Object

An episode. We fill in `type`, `evergreen`, `branded`, `political_leaning` and `summary` once we analyse the episode, and they are `null` until then.

- `id` (string): The episode's Rephonic ID.
- `title` (string): The episode's title.
- `published` (timestamp): When the episode was published.
- `audio_url` (string or null): The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`.
- `guid` (string or null): The episode's GUID from the RSS feed.
- `itunes_id` (integer or null): The episode's Apple Podcasts ID.
- `duration` (integer or null): How long the episode is, in seconds.
- `transcribed` (boolean): Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript.md).
- `type` (string or null): The episode's format. Values: `monologue`, `discussion`, `interview`, `storytelling`, `scripted`, `news`, `review`, `educational`, `journalism`, `documentary`, `q_and_a`.
- `evergreen` (boolean or null): Whether the episode is evergreen, meaning its content won't go out of date.
- `branded` (boolean or null): Whether the episode is made to promote a company or organisation.
- `popularity` (number or null): How popular the episode is in Apple Podcasts, from 0 to 1. Only compare it between episodes of the same show. It's `null` for shows without enough ratings or episodes for Apple to rank them.
- `political_leaning` (object or null): The episode's political leaning, or `null` when it isn't political.
  - `name` (string): The leaning. Values: `left`, `center_left`, `center`, `center_right`, `right`.
  - `explanation` (string or null): Why we think so.
- `summary` (string or null): Our short summary of the episode, or `null` until we've analysed it.
- `notes` (string or null): The show notes from the RSS feed, as plain text.
- `youtube_videos` (array of YoutubeVideo objects): The YouTube videos we matched to the episode.
- `guests` (array of Guest objects): The guests on the episode.
- `sponsors` (array of AdRead objects): The sponsors heard in the episode.
- `topics` (array of objects): What the episode talks about.
  - `name` (string): The topic, e.g. `Sleep` or `Andrew Huberman`.
  - `type` (string): What kind of thing the topic is. Values: `organization`, `person`, `product`, `service`, `brand`, `website`, `event`, `place`, `book`, `movie`, `song`, `tv_show`, `video_game`, `podcast`, `language`, `date_or_time`, `concept`, `food`, `technology`, `software`, `health`, `legal`, `art`, `sport`, `animal`, `academic_field`, `material`, `currency`, `object`, `other`.
  - `weight` (number): How prominent the topic is, from 0 to 1.

### YoutubeVideo Object

- `id` (string): The YouTube video ID.
- `title` (string): The video's title.
- `num_views` (integer or null): How many times the video has been viewed. Always `null` in [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript.md).
- `duration` (integer or null): How long the video is, in seconds.
- `thumbnail_url` (string): The video's thumbnail image.
- `url` (string): The video on YouTube.
- `episode` (EpisodeBase object or null): The episode the video matches. In a podcast's `youtube.playlist.videos` this is set. On the episode endpoints it is always `null`, since you already have the episode.

### Guest Object

- `name` (string): The guest's name.
- `description` (string or null): A short description of the guest.
- `affiliation` (string or null): The company, organisation or work the guest is known for.
- `industry` (string or null): The guest's industry.
- `purpose` (string or null): Why the guest was on the show, or `null`.
- `alignment` (string or null): Why the guest suits the show's audience, or `null`.
- `contacts` (array of objects): The guest's email addresses and pages.
  - `medium` (string): Whether this is an email address or a web page. Values: `email`, `page`.
  - `value` (string): The email address or the page's URL.
  - `role` (string or null): What the contact is for, e.g. `Website` or `Producer`.
  - `verification_status` (string or null): For an email address, the result of our last check on whether email to it gets delivered. It's `null` for pages and for addresses we haven't checked. Values: `valid`, `catch-all`, `risky`, `unknown`.
  - `verified_at` (timestamp or null): When we last checked the address, or `null`.
- `social_accounts` (array of objects): The guest's social media accounts.
  - `channel` (string): The social network. Values include `instagram`, `facebook`, `twitter`, `patreon`, `soundcloud`, `pinterest`, `linkedin_profile`, `linkedin_group`, `tiktok`.
  - `identifier` (string): The account's handle or ID on that network.
  - `url` (string): The account's URL.

### AdRead Object

A sponsor heard in an episode.

- `name` (string): The sponsor.
- `description` (string or null): What the sponsor is.
- `product_or_service` (string or null): What the ad promotes.
- `timestamp` (integer or null): Where the ad starts in the episode, in milliseconds, or `null`.
- `ad_text` (string or null): What the ad says, from the transcript.
- `url` (string or null): The URL the ad sends listeners to.
- `promo_code` (string or null): The promo code or offer in the ad.
- `call_to_action` (string or null): What the ad asks listeners to do.
- `host_read` (boolean or null): Whether a host reads the ad, or `null` when we can't tell.

### EpisodeBase Object

The episode a YouTube video matches. Its `notes`, `summary` and `political_leaning` are always `null`, and `type`, `evergreen` and `branded` are `null` until we analyse the episode.

- `id` (string): The episode's Rephonic ID.
- `title` (string): The episode's title.
- `published` (timestamp): When the episode was published.
- `audio_url` (string or null): The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`.
- `guid` (string or null): The episode's GUID from the RSS feed.
- `itunes_id` (integer or null): The episode's Apple Podcasts ID.
- `duration` (integer or null): How long the episode is, in seconds.
- `transcribed` (boolean): Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript.md).
- `type` (string or null): The episode's format. Values: `monologue`, `discussion`, `interview`, `storytelling`, `scripted`, `news`, `review`, `educational`, `journalism`, `documentary`, `q_and_a`.
- `evergreen` (boolean or null): Whether the episode is evergreen, meaning its content won't go out of date.
- `branded` (boolean or null): Whether the episode is made to promote a company or organisation.
- `popularity` (number or null): How popular the episode is in Apple Podcasts, from 0 to 1. Only compare it between episodes of the same show. It's `null` for shows without enough ratings or episodes for Apple to rank them.
- `political_leaning` (object or null): The episode's political leaning, or `null` when it isn't political.
  - `name` (string): The leaning. Values: `left`, `center_left`, `center`, `center_right`, `right`.
  - `explanation` (string or null): Why we think so.
- `summary` (string or null): Our short summary of the episode, or `null` until we've analysed it.
- `notes` (string or null): The show notes from the RSS feed, as plain text.
