{
  "openapi": "3.1.0",
  "info": {
    "title": "Rephonic API",
    "version": "1.1",
    "description": "Data on millions of podcasts: search, listener estimates, audience demographics, contacts, transcripts and charts. The full guide is at https://rephonic.com/developers/docs/1.1.",
    "contact": {
      "url": "https://rephonic.com/developers"
    }
  },
  "externalDocs": {
    "url": "https://rephonic.com/developers/docs/1.1"
  },
  "servers": [
    {
      "url": "https://api.rephonic.com"
    }
  ],
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Search"
    },
    {
      "name": "Podcasts"
    },
    {
      "name": "Episodes"
    },
    {
      "name": "Charts"
    },
    {
      "name": "Reference Data"
    },
    {
      "name": "Account"
    }
  ],
  "paths": {
    "/api/search/podcasts/": {
      "get": {
        "operationId": "searchPodcasts",
        "summary": "Search Podcasts",
        "description": "Find podcasts by subject, name or publisher, or list every podcast that matches some [filters](https://rephonic.com/developers/docs/1.1/search-filters). You can use a query and filters together.\n\nBy default, a query matches the subjects podcasts cover. To match podcast names instead, set `mode` to `titles`, or set it to `publishers` to match publisher names. In the default `topics` mode, `exact_matches` also lists up to three podcasts whose name contains the query.\n\nYou can page through the first 10,000 results.",
        "tags": [
          "Search"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/search-podcasts"
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "What to search for. Up to 200 characters. Every word has to match, so `climate farming` only finds results with both words. Put `OR` in capitals between words to match either of them, as in `climate OR weather`. Put a phrase in quotes to match it exactly, as in `\"climate change\"`, and put a minus sign before a word to leave out results that have it, as in `climate -politics`. Use parentheses to group words, as in `(climate OR weather) farming`.",
            "schema": {
              "type": "string"
            },
            "example": "hardcore history"
          },
          {
            "name": "mode",
            "in": "query",
            "required": false,
            "description": "What the query matches.",
            "schema": {
              "type": "string",
              "enum": [
                "topics",
                "titles",
                "publishers"
              ],
              "default": "topics"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "How many results to get on each page.",
            "schema": {
              "type": "integer",
              "default": 50,
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Which page of results to get, starting at 1.",
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1
            }
          },
          {
            "name": "filters",
            "in": "query",
            "required": false,
            "description": "Narrow the results with [search filters](https://rephonic.com/developers/docs/1.1/search-filters), separated by commas.",
            "schema": {
              "type": "string"
            },
            "example": "active:is:true"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "page": {
                      "type": "integer",
                      "description": "The page you asked for."
                    },
                    "total_reach": {
                      "type": "integer",
                      "description": "The `downloads_per_episode` of every matching podcast added up, across all pages."
                    },
                    "more": {
                      "type": "boolean",
                      "description": "Whether there is another page of results."
                    },
                    "count": {
                      "type": "integer",
                      "description": "How many results match, up to 10,000."
                    },
                    "per_page": {
                      "type": "integer",
                      "description": "How many results are on each page."
                    },
                    "spelling_suggestion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "A corrected spelling of the query when we think it is misspelled, or `null`."
                    },
                    "exact_matches": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "description": "In `topics` mode, up to three English-language podcasts whose name contains the query. It's `null` in the other modes, and when there are none.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The podcast's Rephonic ID."
                          },
                          "itunes_id": {
                            "type": "integer",
                            "description": "The podcast's Apple Podcasts ID."
                          },
                          "name": {
                            "type": "string",
                            "description": "The podcast's name."
                          },
                          "publisher": {
                            "$ref": "#/components/schemas/Publisher"
                          },
                          "artwork_url": {
                            "type": "string",
                            "description": "The cover art, 600 by 600 pixels."
                          },
                          "artwork_thumbnail_url": {
                            "type": "string",
                            "description": "The cover art, 70 by 70 pixels."
                          },
                          "genres": {
                            "type": "array",
                            "description": "The Apple Podcasts categories the show is in.",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "itunes_id",
                          "name",
                          "publisher",
                          "artwork_url",
                          "artwork_thumbnail_url",
                          "genres"
                        ]
                      }
                    },
                    "podcasts": {
                      "type": "array",
                      "description": "The podcasts on this page.",
                      "items": {
                        "$ref": "#/components/schemas/PodcastSearchResult"
                      }
                    }
                  },
                  "required": [
                    "page",
                    "total_reach",
                    "more",
                    "count",
                    "per_page",
                    "spelling_suggestion",
                    "exact_matches",
                    "podcasts"
                  ]
                },
                "example": {
                  "page": 1,
                  "total_reach": 540883624,
                  "more": true,
                  "count": 10000,
                  "per_page": 50,
                  "spelling_suggestion": null,
                  "exact_matches": [
                    {
                      "id": "dan-carlins-hardcore-history",
                      "itunes_id": 173001861,
                      "name": "Dan Carlin's Hardcore History",
                      "publisher": {
                        "id": "dan-carlin",
                        "name": "Dan Carlin"
                      },
                      "artwork_url": "https://img.rephonic.com/artwork/dan-carlins-hardcore-history.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/dan-carlins-hardcore-history.jpg?width=70&height=70&quality=95",
                      "genres": [
                        "History"
                      ]
                    }
                  ],
                  "podcasts": [
                    {
                      "badges": null,
                      "id": "dan-carlins-hardcore-history",
                      "publisher": {
                        "id": "dan-carlin",
                        "name": "Dan Carlin"
                      },
                      "founded": "2006-07-27T00:00:00Z",
                      "added": "2020-01-28T09:54:15.184Z",
                      "name": "Dan Carlin's Hardcore History",
                      "short_name": "Dan Carlin's Hardcore History",
                      "description": "In Hardcore History journalist and broadcaster Dan Carlin takes his unorthodox way of thinking and applies it to the past.",
                      "summary": null,
                      "artwork_url": "https://img.rephonic.com/artwork/dan-carlins-hardcore-history.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/dan-carlins-hardcore-history.jpg?width=70&height=70&quality=95",
                      "feed_url": "https://feeds.feedburner.com/dancarlin/history?format=xml",
                      "itunes_id": 173001861,
                      "language": "en",
                      "sponsors": {
                        "accepted": false,
                        "profile": null,
                        "outreach": null
                      },
                      "cross_promos": {
                        "accepted": false
                      },
                      "guests": {
                        "accepted": false,
                        "profile": null,
                        "outreach": null
                      },
                      "branded": false,
                      "active": true,
                      "deleted": false,
                      "genres": [
                        "History"
                      ],
                      "num_episodes": 16,
                      "num_ratings": 110461,
                      "frequency": "infrequently",
                      "social_reach": 437787,
                      "engagement": 85,
                      "identifiers": {
                        "itunes": 173001861,
                        "apple": 173001861,
                        "spotify": "72qiPaoDRf8HkGKEChvG5q",
                        "castbox": 3624,
                        "podchaser": 33310,
                        "tpa": 19,
                        "podaddict": 4096,
                        "playerfm": 2483,
                        "tunein": "p1147487",
                        "podbean": "dir192322,2pxby",
                        "audible": "B08JJP95KL",
                        "podrepublic": 173001861,
                        "goodpods": 173001861
                      },
                      "publishing_model": {
                        "apple": null
                      },
                      "verified": false,
                      "weekly_downloads": 465199,
                      "downloads_per_episode": 13931851,
                      "entities": null,
                      "links": null
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/search/podcasts/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"query=hardcore history\" \\\n  --data-urlencode \"filters=active:is:true\""
          }
        ]
      }
    },
    "/api/search/episodes/": {
      "get": {
        "operationId": "searchEpisodes",
        "summary": "Search Episodes",
        "description": "Find episodes that mention something in their title, show notes or transcript. Without a query, you get the newest episodes from podcasts that match your [filters](https://rephonic.com/developers/docs/1.1/search-filters).\n\nWith a query, you get one episode per podcast, its best match. To get every matching episode from one podcast, pass its `podcast_id`.\n\nFilters apply to the podcast each episode belongs to, so `listeners:gte:5000` finds episodes of shows with at least 5,000 listeners per episode.\n\nYou can page through the first 10,000 results.",
        "tags": [
          "Search"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/search-episodes"
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "What to search for. It matches episode titles, show notes and transcripts. Up to 200 characters. Every word has to match, so `climate farming` only finds results with both words. Put `OR` in capitals between words to match either of them, as in `climate OR weather`. Put a phrase in quotes to match it exactly, as in `\"climate change\"`, and put a minus sign before a word to leave out results that have it, as in `climate -politics`. Use parentheses to group words, as in `(climate OR weather) farming`.",
            "schema": {
              "type": "string"
            },
            "example": "remix"
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "How many results to get on each page.",
            "schema": {
              "type": "integer",
              "default": 50,
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Which page of results to get, starting at 1.",
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1
            }
          },
          {
            "name": "filters",
            "in": "query",
            "required": false,
            "description": "Narrow the results with [search filters](https://rephonic.com/developers/docs/1.1/search-filters), separated by commas.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "podcast_id",
            "in": "query",
            "required": false,
            "description": "Only search one podcast's episodes. Pass its Rephonic ID, e.g. `the-daily`. With a query, you then get every episode that matches.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "threshold",
            "in": "query",
            "required": false,
            "description": "How recent the episodes have to be, in seconds. For example, `3600` gets episodes published in the last hour. The maximum is `1209600`, which is 14 days.",
            "schema": {
              "type": "integer",
              "maximum": 1209600
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "page": {
                      "type": "integer",
                      "description": "The page you asked for."
                    },
                    "more": {
                      "type": "boolean",
                      "description": "Whether there is another page of results."
                    },
                    "count": {
                      "type": "integer",
                      "description": "How many results match, up to 10,000."
                    },
                    "per_page": {
                      "type": "integer",
                      "description": "How many results are on each page."
                    },
                    "spelling_suggestion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "A corrected spelling of the query when we think it is misspelled, or `null`."
                    },
                    "episodes": {
                      "type": "array",
                      "description": "The episodes on this page.",
                      "items": {
                        "$ref": "#/components/schemas/EpisodeSearchResult"
                      }
                    }
                  },
                  "required": [
                    "page",
                    "more",
                    "count",
                    "per_page",
                    "spelling_suggestion",
                    "episodes"
                  ]
                },
                "example": {
                  "page": 1,
                  "more": true,
                  "count": 10000,
                  "per_page": 50,
                  "spelling_suggestion": null,
                  "episodes": [
                    {
                      "id": "tgypv-delayed-premiere-ness-flesh-of-the-gods-dino",
                      "title": "PREMIERE: Ness - Flesh Of The Gods (Dino Sabatini Remix) [Navigare Audio]",
                      "published": "2025-01-29T08:28:35.384Z",
                      "audio_url": "https://feeds.soundcloud.com/stream/1978009943.mp3",
                      "guid": "tag:soundcloud,2010:tracks/1978009943",
                      "itunes_id": null,
                      "duration": 453,
                      "transcribed": false,
                      "type": null,
                      "evergreen": null,
                      "branded": null,
                      "popularity": null,
                      "political_leaning": null,
                      "summary": null,
                      "notes": "After two years of anticipation, the wait is over...",
                      "podcast": {
                        "id": "fiction-lab",
                        "name": "Delayed",
                        "itunes_id": 1441342580,
                        "publisher": {
                          "id": "delayed",
                          "name": "Delayed"
                        },
                        "genres": [
                          "Music"
                        ],
                        "artwork_url": "https://img.rephonic.com/artwork/fiction-lab.jpg?width=600&height=600&quality=95",
                        "artwork_thumbnail_url": "https://img.rephonic.com/artwork/fiction-lab.jpg?width=70&height=70&quality=95",
                        "active": true,
                        "sponsors": {
                          "accepted": false
                        },
                        "guests": {
                          "accepted": true
                        },
                        "weekly_downloads": 151,
                        "downloads_per_episode": 46
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/search/episodes/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"query=remix\""
          }
        ]
      }
    },
    "/api/search/autocomplete/": {
      "get": {
        "operationId": "autocomplete",
        "summary": "Autocomplete",
        "description": "Suggest search terms and podcasts as someone types in a search box. What comes back depends on the `mode`.\n\n| Mode         | `suggestions`   | `podcasts`                  |\n| ------------ | --------------- | --------------------------- |\n| `topics`     | Topics          | Podcasts whose name matches |\n| `titles`     | Empty           | Podcasts whose name matches |\n| `publishers` | Publisher names | Empty                       |\n| `episodes`   | Topics          | Empty                       |",
        "tags": [
          "Search"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/autocomplete"
        },
        "parameters": [
          {
            "name": "mode",
            "in": "query",
            "required": true,
            "description": "The kind of search the user is doing.",
            "schema": {
              "type": "string",
              "enum": [
                "topics",
                "titles",
                "publishers",
                "episodes"
              ]
            },
            "example": "topics"
          },
          {
            "name": "query",
            "in": "query",
            "required": true,
            "description": "What the user has typed so far.",
            "schema": {
              "type": "string"
            },
            "example": "marketing"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "suggestions": {
                      "type": "array",
                      "description": "Suggested search terms. In `topics` and `episodes` mode these are topics. In `publishers` mode they are publisher names. Empty in `titles` mode.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "podcasts": {
                      "type": "array",
                      "description": "Podcasts whose name matches the query, in `topics` and `titles` mode. Empty in the other modes.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The podcast's Rephonic ID."
                          },
                          "name": {
                            "type": "string",
                            "description": "The podcast's name."
                          },
                          "publisher": {
                            "type": "string",
                            "description": "The publisher's name."
                          },
                          "artwork_thumbnail_url": {
                            "type": "string",
                            "description": "The cover art, 70 by 70 pixels."
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "publisher",
                          "artwork_thumbnail_url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "suggestions",
                    "podcasts"
                  ]
                },
                "example": {
                  "suggestions": [
                    "marketing",
                    "digital marketing",
                    "marketing strategies",
                    "online marketing",
                    "media marketing",
                    "content marketing",
                    "social media marketing",
                    "marketing tips",
                    "business marketing",
                    "marketing agency"
                  ],
                  "podcasts": [
                    {
                      "id": "social-media-marketing-podcast",
                      "name": "Social Media Marketing Podcast",
                      "publisher": "Michael Stelzner, Social Media Examiner",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/social-media-marketing-podcast.jpg?width=70&height=70&quality=95"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/search/autocomplete/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"mode=topics\" \\\n  --data-urlencode \"query=marketing\""
          }
        ]
      }
    },
    "/api/podcasts/lookup/": {
      "get": {
        "operationId": "lookupPodcast",
        "summary": "Find a Podcast's ID",
        "description": "Use this when you know a podcast's Apple Podcasts ID, Spotify ID, YouTube channel ID or RSS feed URL, and need its Rephonic ID. Send one of them per request.\n\n```\nGET /api/podcasts/lookup/?itunes_id=1545953110\nGET /api/podcasts/lookup/?spotify_id=79CkJF3UJTHFV8Dse3Oy0P\nGET /api/podcasts/lookup/?feed_url=https%3A%2F%2Ffeeds.megaphone.fm%2Fhubermanlab\nGET /api/podcasts/lookup/?youtube_channel_id=UC2D2CMWXMOVWx7giW1n3LIg\n```\n\nThe `podcasts` field is a list, because more than one podcast can share a feed URL or YouTube channel. Pass a podcast's `id` to [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast) and the other endpoints.\n\nWhen nothing matches, you get an empty list.",
        "tags": [
          "Search"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/lookup-podcast"
        },
        "parameters": [
          {
            "name": "itunes_id",
            "in": "query",
            "required": false,
            "description": "The Apple Podcasts ID, a number.",
            "schema": {
              "type": "integer"
            },
            "example": 1545953110
          },
          {
            "name": "feed_url",
            "in": "query",
            "required": false,
            "description": "The full RSS feed URL. URL-encode it. Case and trailing slashes don't matter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spotify_id",
            "in": "query",
            "required": false,
            "description": "The Spotify show ID, the 22-character code in the show's Spotify URL. Not the whole URL.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "youtube_channel_id",
            "in": "query",
            "required": false,
            "description": "The YouTube channel ID, which starts with `UC`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "podcasts": {
                      "type": "array",
                      "description": "The podcasts that match. Empty when none do.",
                      "items": {
                        "$ref": "#/components/schemas/PodcastSearchResult"
                      }
                    }
                  },
                  "required": [
                    "podcasts"
                  ]
                },
                "example": {
                  "podcasts": [
                    {
                      "badges": null,
                      "id": "huberman-lab",
                      "publisher": {
                        "id": "scicomm-media",
                        "name": "Scicomm Media"
                      },
                      "founded": "2020-12-21T00:00:00Z",
                      "added": "2020-12-23T03:22:16.476Z",
                      "name": "Huberman Lab",
                      "short_name": "Huberman Lab",
                      "description": "The Huberman Lab podcast is hosted by Andrew Huberman, Ph.D...",
                      "summary": "This podcast engages listeners through a thoughtful exploration of neuroscience...",
                      "artwork_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=70&height=70&quality=95",
                      "feed_url": "https://feeds.megaphone.fm/hubermanlab",
                      "entities": null,
                      "links": null,
                      "itunes_id": 1545953110,
                      "language": "en",
                      "sponsors": {
                        "accepted": true,
                        "profile": null,
                        "outreach": null
                      },
                      "cross_promos": {
                        "accepted": false
                      },
                      "guests": {
                        "accepted": true,
                        "profile": null,
                        "outreach": null
                      },
                      "branded": false,
                      "active": true,
                      "deleted": false,
                      "genres": [
                        "Life Sciences",
                        "Science",
                        "Health & Fitness"
                      ],
                      "num_episodes": 268,
                      "num_ratings": 163756,
                      "frequency": "twiceweekly",
                      "social_reach": 11015653,
                      "engagement": 90,
                      "identifiers": {
                        "itunes": 1545953110,
                        "apple": 1545953110,
                        "spotify": "79CkJF3UJTHFV8Dse3Oy0P",
                        "castbox": 4758848,
                        "podchaser": 1576373,
                        "tpa": 1827966,
                        "podaddict": 3795736,
                        "playerfm": 2849974,
                        "tunein": "p1608844",
                        "podbean": "dir1587013,8d9kj",
                        "audible": "B08K4RXYSR",
                        "podrepublic": 1545953110,
                        "goodpods": 1545953110
                      },
                      "publishing_model": {
                        "apple": null
                      },
                      "verified": false,
                      "weekly_downloads": 2679678,
                      "downloads_per_episode": 1793629
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/podcasts/lookup/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"itunes_id=1545953110\""
          }
        ]
      }
    },
    "/api/podcasts/{id}/": {
      "get": {
        "operationId": "getPodcast",
        "summary": "Get a Podcast",
        "description": "Get everything we know about one podcast, from its name and description to our listener estimates, ratings, social reach and engagement score. You also get its subscriber counts from podcast apps, latest episode, topics, political leaning, YouTube channel and similar podcasts.\n\nThe `guests` object tells you how to get a guest on the show, and `sponsors` how to buy ads on it. Each has a `profile`, which describes the show's usual guests or sponsors, and an `outreach` object with instructions and contacts.\n\nFor the people behind the show, use [hosts, guests and crew](https://rephonic.com/developers/docs/1.1/podcast-people). For every email address and contact page, use [contacts](https://rephonic.com/developers/docs/1.1/contacts).",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/get-podcast"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Get it from [search](https://rephonic.com/developers/docs/1.1/search-podcasts) or [lookup](https://rephonic.com/developers/docs/1.1/lookup-podcast).",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "podcast": {
                      "$ref": "#/components/schemas/Podcast",
                      "description": "The podcast."
                    }
                  },
                  "required": [
                    "podcast"
                  ]
                },
                "example": {
                  "podcast": {
                    "badges": [
                      "frequently_pitched"
                    ],
                    "id": "huberman-lab",
                    "publisher": {
                      "id": "scicomm-media",
                      "name": "Scicomm Media"
                    },
                    "founded": "2020-12-21T00:00:00Z",
                    "added": "2020-12-23T03:22:16.476Z",
                    "name": "Huberman Lab",
                    "short_name": "Huberman Lab",
                    "description": "The Huberman Lab podcast is hosted by Andrew Huberman, Ph.D...",
                    "summary": "This podcast engages listeners through a thoughtful exploration of neuroscience...",
                    "artwork_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=600&height=600&quality=95",
                    "artwork_thumbnail_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=70&height=70&quality=95",
                    "feed_url": "https://feeds.megaphone.fm/hubermanlab",
                    "entities": [
                      {
                        "kind": "network",
                        "name": "Scicomm Media LLC",
                        "url": "https://www.scicommedia.com",
                        "description": "Production company and podcast network behind the show."
                      }
                    ],
                    "links": [
                      {
                        "type": "website",
                        "url": "https://www.hubermanlab.com",
                        "is_primary": true
                      },
                      {
                        "type": "media-kit",
                        "url": "https://www.hubermanlab.com/media-kit",
                        "is_primary": false
                      }
                    ],
                    "itunes_id": 1545953110,
                    "language": "en",
                    "sponsors": {
                      "accepted": true,
                      "profile": "Health, supplement and wellness brands, with host-read ads.",
                      "outreach": {
                        "pitchable": true,
                        "instructions": "Email the producer directly with a media kit request.",
                        "contacts": [
                          {
                            "medium": "email",
                            "full_name": "Jane Smith",
                            "email": "jane@example.com",
                            "role": "Producer",
                            "warning": false,
                            "verification_status": "valid",
                            "verified_at": "2026-08-08T12:54:06.028Z",
                            "person": {
                              "kind": "producer",
                              "description": "Produces the show and handles sponsor enquiries."
                            },
                            "entity": null,
                            "badges": [
                              "pitch_sponsors"
                            ],
                            "concierge": false
                          }
                        ]
                      }
                    },
                    "cross_promos": {
                      "accepted": false
                    },
                    "guests": {
                      "accepted": true,
                      "profile": "Scientists, clinicians and performance experts with research to discuss.",
                      "outreach": {
                        "pitchable": true,
                        "instructions": "Submit guest suggestions via the form on the show website.",
                        "contacts": [
                          {
                            "medium": "page",
                            "full_name": null,
                            "url": "https://example.com/guest-form",
                            "role": "Guest Submissions",
                            "person": null,
                            "entity": null,
                            "badges": [
                              "pitch_guests"
                            ],
                            "concierge": false
                          }
                        ]
                      }
                    },
                    "branded": false,
                    "active": true,
                    "deleted": false,
                    "genres": [
                      "Life Sciences",
                      "Science",
                      "Health & Fitness"
                    ],
                    "num_episodes": 268,
                    "num_ratings": 163756,
                    "frequency": "twiceweekly",
                    "social_reach": 11015653,
                    "engagement": 90,
                    "identifiers": {
                      "itunes": 1545953110,
                      "apple": 1545953110,
                      "spotify": "79CkJF3UJTHFV8Dse3Oy0P",
                      "castbox": 4758848,
                      "podchaser": 1576373,
                      "tpa": 1827966,
                      "podaddict": 3795736,
                      "playerfm": 2849974,
                      "tunein": "p1608844",
                      "podbean": "dir1587013,8d9kj",
                      "audible": "B08K4RXYSR",
                      "podrepublic": 1545953110,
                      "goodpods": 1545953110
                    },
                    "publishing_model": {
                      "apple": null
                    },
                    "verified": false,
                    "weekly_downloads": 2679678,
                    "downloads_per_episode": 1793629,
                    "subscribers": {
                      "spotify": 3700000,
                      "castbox": 480253,
                      "tpa": 27731,
                      "tunein": 8601,
                      "podbean": 49364,
                      "podaddict": 50300,
                      "playerfm": 7176,
                      "podrepublic": 11613
                    },
                    "latest_episode": {
                      "id": "ei49o-huberman-lab-essentials-how-foods-nutrients",
                      "title": "Essentials: How Foods & Nutrients Control Our Moods",
                      "published": "2025-01-23T09:00:00Z",
                      "audio_url": "https://pdst.fm/e/traffic.megaphone.fm/SCIM4673722562.mp3",
                      "guid": "1a1cb9c4-d91c-11ef-8ff0-cf14529548ad",
                      "itunes_id": null,
                      "duration": 2233,
                      "transcribed": false,
                      "type": null,
                      "evergreen": null,
                      "branded": null,
                      "popularity": null,
                      "political_leaning": null,
                      "summary": null,
                      "notes": "In this Huberman Lab Essentials episode, I explain how the different nutrients and foods we eat impact our emotions...",
                      "youtube_videos": [],
                      "guests": [],
                      "sponsors": [],
                      "topics": []
                    },
                    "topics": [
                      {
                        "name": "Sleep",
                        "type": "concept",
                        "weight": 1
                      },
                      {
                        "name": "Mental Health",
                        "type": "concept",
                        "weight": 0.96
                      },
                      {
                        "name": "Nutrition",
                        "type": "concept",
                        "weight": 0.82
                      },
                      {
                        "name": "Neuroscience",
                        "type": "academic_field",
                        "weight": 0.61
                      },
                      {
                        "name": "Exercise",
                        "type": "concept",
                        "weight": 0.52
                      }
                    ],
                    "political_leaning": null,
                    "youtube": {
                      "channel": {
                        "id": "UC2D2CMWXMOVWx7giW1n3LIg",
                        "url": "https://www.youtube.com/channel/UC2D2CMWXMOVWx7giW1n3LIg",
                        "name": "Andrew Huberman",
                        "handle": "hubermanlab",
                        "num_videos": 305,
                        "num_subscribers": 6500000,
                        "num_views": 400394421,
                        "founded": "2013-04-21",
                        "thumbnail_url": "https://yt3.googleusercontent.com/..."
                      },
                      "playlist": {
                        "id": "PLPNW_gerXa4Pc8S2qoUQc5e8Ir97RLuVW",
                        "name": "Huberman Lab",
                        "description": "Full episodes from the Huberman Lab podcast.",
                        "num_videos": 178,
                        "videos": []
                      }
                    },
                    "similar": [
                      {
                        "id": "the-peter-attia-drive",
                        "name": "The Peter Attia Drive",
                        "itunes_id": 1400828889,
                        "publisher": {
                          "id": "peter-attia-md",
                          "name": "Peter Attia, MD"
                        },
                        "genres": [
                          "Medicine",
                          "Health & Fitness",
                          "Fitness"
                        ],
                        "artwork_url": "https://img.rephonic.com/artwork/the-peter-attia-drive.jpg?width=600&height=600&quality=95",
                        "artwork_thumbnail_url": "https://img.rephonic.com/artwork/the-peter-attia-drive.jpg?width=70&height=70&quality=95",
                        "active": true,
                        "sponsors": {
                          "accepted": false
                        },
                        "guests": {
                          "accepted": true
                        },
                        "weekly_downloads": 260982,
                        "downloads_per_episode": 260982,
                        "position": 1
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/podcasts/huberman-lab/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/podcasts/{id}/people/": {
      "get": {
        "operationId": "podcastPeople",
        "summary": "Hosts, Guests and Crew",
        "description": "Find the people behind a podcast and how to reach them. You get its hosts, the crew who make the show and guests from recent episodes, each with the contacts and social accounts we found.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/podcast-people"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Get it from [search](https://rephonic.com/developers/docs/1.1/search-podcasts) or [lookup](https://rephonic.com/developers/docs/1.1/lookup-podcast).",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "people": {
                      "type": "object",
                      "properties": {
                        "hosts": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "description": "The show's hosts.",
                              "items": {
                                "$ref": "#/components/schemas/Person"
                              }
                            }
                          },
                          "required": [
                            "list"
                          ]
                        },
                        "crew": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "description": "The people who work on the show. Those with an email address come first, then those with only a contact page, then the rest. Empty when we don't know of any crew.",
                              "items": {
                                "$ref": "#/components/schemas/Person"
                              }
                            }
                          },
                          "required": [
                            "list"
                          ]
                        },
                        "guests": {
                          "type": "object",
                          "properties": {
                            "accepted": {
                              "type": [
                                "boolean",
                                "null"
                              ],
                              "description": "Whether the show is likely to take guests, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
                            },
                            "profile": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The kind of guests the show usually has, or `null`."
                            },
                            "list": {
                              "type": "array",
                              "description": "Recent guests, each with the episode they were on.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The guest's name."
                                  },
                                  "description": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "A short description of the guest."
                                  },
                                  "affiliation": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The company, organisation or work the guest is known for."
                                  },
                                  "industry": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The guest's industry."
                                  },
                                  "purpose": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Why the guest was on the show, or `null`."
                                  },
                                  "alignment": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Why the guest suits the show's audience, or `null`."
                                  },
                                  "contacts": {
                                    "type": "array",
                                    "description": "The guest's email addresses and pages.",
                                    "items": {
                                      "$ref": "#/components/schemas/PersonContact"
                                    }
                                  },
                                  "social_accounts": {
                                    "type": "array",
                                    "description": "The guest's social media accounts.",
                                    "items": {
                                      "$ref": "#/components/schemas/SocialProfile"
                                    }
                                  },
                                  "episode": {
                                    "$ref": "#/components/schemas/EpisodeRef"
                                  }
                                },
                                "required": [
                                  "name",
                                  "description",
                                  "affiliation",
                                  "industry",
                                  "purpose",
                                  "alignment",
                                  "contacts",
                                  "social_accounts",
                                  "episode"
                                ]
                              }
                            }
                          },
                          "required": [
                            "accepted",
                            "profile",
                            "list"
                          ]
                        }
                      },
                      "required": [
                        "hosts",
                        "crew",
                        "guests"
                      ]
                    }
                  },
                  "required": [
                    "people"
                  ]
                },
                "example": {
                  "people": {
                    "hosts": {
                      "list": [
                        {
                          "name": "Andrew Huberman",
                          "description": "A neuroscientist and tenured professor at Stanford University specializing in neurobiology...",
                          "contacts": [
                            {
                              "medium": "page",
                              "value": "http://hubermanlab.com",
                              "role": "Website",
                              "verification_status": null,
                              "verified_at": null
                            }
                          ],
                          "social_accounts": [
                            {
                              "channel": "twitter",
                              "identifier": "hubermanlab",
                              "url": "https://x.com/hubermanlab"
                            },
                            {
                              "channel": "instagram",
                              "identifier": "andrewhuberman",
                              "url": "https://instagram.com/andrewhuberman"
                            }
                          ],
                          "role": "Host",
                          "kind": "host",
                          "is_lead": true
                        }
                      ]
                    },
                    "crew": {
                      "list": [
                        {
                          "name": "Robert Mohr",
                          "description": "Co-founder and producer responsible for the show's production.",
                          "contacts": [
                            {
                              "medium": "email",
                              "value": "producer@example.com",
                              "role": "Producer",
                              "verification_status": "valid",
                              "verified_at": "2026-08-08T12:54:06.028Z"
                            }
                          ],
                          "social_accounts": [],
                          "role": "Producer",
                          "kind": "producer",
                          "is_lead": null
                        }
                      ]
                    },
                    "guests": {
                      "accepted": true,
                      "profile": "Guests on this show typically include influential figures from various realms within science...",
                      "list": [
                        {
                          "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": [],
                          "episode": {
                            "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"
                          }
                        },
                        {
                          "name": "Jordan Peterson",
                          "description": "Psychologist, author, and influential public intellectual",
                          "affiliation": "Author of We Who Wrestle With God",
                          "industry": "Psychology",
                          "purpose": "Discussing his latest book and sharing insights on human psychology and decision-making.",
                          "alignment": "As a leading figure in psychology, his insights on neuroscience and personality are particularly valuable to this audience.",
                          "contacts": [],
                          "social_accounts": [],
                          "episode": {
                            "id": "f8wdi-huberman-lab-dr-jordan-peterson-how-to-best",
                            "title": "Dr. Jordan Peterson: How to Best Guide Your Life Decisions & Path",
                            "published": "2024-12-30T09:00:00Z"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/podcasts/huberman-lab/people/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/podcasts/{id}/demographics/": {
      "get": {
        "operationId": "podcastDemographics",
        "summary": "Demographics",
        "description": "Get our estimates of who listens to a podcast, the same ones as the Audience tab on its page in the Rephonic app. We base them on episode content and public podcast data. Each section apart from `locations` has an `explanation` of why we think so, and is `null` when we don't have enough to go on.\n\nThe group names in `age_groups`, `relationship_statuses`, `education_levels`, `professions` and `interests` are the values the audience [search filters](https://rephonic.com/developers/docs/1.1/search-filters) take, so you can search for podcasts with an audience like this one.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/podcast-demographics"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Get it from [search](https://rephonic.com/developers/docs/1.1/search-podcasts) or [lookup](https://rephonic.com/developers/docs/1.1/lookup-podcast).",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "demographics": {
                      "type": "object",
                      "properties": {
                        "profile": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "A short description of the typical listener."
                        },
                        "locations": {
                          "type": "object",
                          "description": "Where the listeners are.",
                          "properties": {
                            "countries": {
                              "type": "array",
                              "description": "Up to 10 countries where the listeners are, biggest first, based on where the show's Apple Podcasts ratings and reviews come from. Empty when we don't know.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The country's name in English."
                                  },
                                  "id": {
                                    "type": "string",
                                    "description": "The two-letter country code, lowercase. Use it in the `locations` search filter."
                                  },
                                  "slug": {
                                    "type": "string",
                                    "description": "The country's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings)."
                                  },
                                  "weight": {
                                    "type": "number",
                                    "description": "The country's share of the audience, from 0 to 1. The shares add up to about 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "id",
                                  "slug",
                                  "weight"
                                ]
                              }
                            }
                          },
                          "required": [
                            "countries"
                          ]
                        },
                        "age_groups": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "How old the listeners are.",
                          "properties": {
                            "items": {
                              "type": "array",
                              "description": "The groups and their probabilities.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The group.",
                                    "enum": [
                                      "under_18",
                                      "18_24",
                                      "25_34",
                                      "35_44",
                                      "45_54",
                                      "55_64",
                                      "65_plus"
                                    ]
                                  },
                                  "probability": {
                                    "type": "number",
                                    "description": "How likely it is that the show's listeners include this group, from 0 to 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "probability"
                                ]
                              }
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "items",
                            "explanation"
                          ]
                        },
                        "relationship_statuses": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' relationship status.",
                          "properties": {
                            "items": {
                              "type": "array",
                              "description": "The groups and their probabilities.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The group.",
                                    "enum": [
                                      "single",
                                      "relationship",
                                      "married"
                                    ]
                                  },
                                  "probability": {
                                    "type": "number",
                                    "description": "How likely it is that the show's listeners include this group, from 0 to 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "probability"
                                ]
                              }
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "items",
                            "explanation"
                          ]
                        },
                        "education_levels": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' education.",
                          "properties": {
                            "items": {
                              "type": "array",
                              "description": "The groups and their probabilities.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The group.",
                                    "enum": [
                                      "less_than_high_school",
                                      "high_school",
                                      "bachelors_degree",
                                      "masters_degree",
                                      "advanced_degree"
                                    ]
                                  },
                                  "probability": {
                                    "type": "number",
                                    "description": "How likely it is that the show's listeners include this group, from 0 to 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "probability"
                                ]
                              }
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "items",
                            "explanation"
                          ]
                        },
                        "professions": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' jobs. The names match [professions](https://rephonic.com/developers/docs/1.1/professions).",
                          "properties": {
                            "items": {
                              "type": "array",
                              "description": "The groups and their probabilities.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The name."
                                  },
                                  "probability": {
                                    "type": "number",
                                    "description": "How likely it is that the show's listeners include this group, from 0 to 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "probability"
                                ]
                              }
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "items",
                            "explanation"
                          ]
                        },
                        "interests": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' interests. The names match [interests](https://rephonic.com/developers/docs/1.1/interests).",
                          "properties": {
                            "items": {
                              "type": "array",
                              "description": "The groups and their probabilities.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The name."
                                  },
                                  "probability": {
                                    "type": "number",
                                    "description": "How likely it is that the show's listeners include this group, from 0 to 1."
                                  }
                                },
                                "required": [
                                  "name",
                                  "probability"
                                ]
                              }
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "items",
                            "explanation"
                          ]
                        },
                        "household_incomes": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' likely annual household income, as a range in US dollars.",
                          "properties": {
                            "lower": {
                              "type": "integer",
                              "description": "The bottom of the range."
                            },
                            "upper": {
                              "type": "integer",
                              "description": "The top of the range."
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "lower",
                            "upper",
                            "explanation"
                          ]
                        },
                        "parents": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "Whether the listeners are parents.",
                          "properties": {
                            "probability": {
                              "type": "number",
                              "description": "How likely it is that the listeners have children, from 0 to 1. Below 0.33 means probably not, and 0.66 or more means probably."
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "probability",
                            "explanation"
                          ]
                        },
                        "genders": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The listeners' gender split.",
                          "properties": {
                            "skew": {
                              "type": "number",
                              "description": "The share of male listeners, from 0 to 1, so `0.1` means 10% male and 90% female."
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "skew",
                            "explanation"
                          ]
                        }
                      },
                      "required": [
                        "profile",
                        "locations",
                        "age_groups",
                        "relationship_statuses",
                        "education_levels",
                        "professions",
                        "interests",
                        "household_incomes",
                        "parents",
                        "genders"
                      ]
                    }
                  },
                  "required": [
                    "demographics"
                  ]
                },
                "example": {
                  "demographics": {
                    "profile": "The typical listener is likely someone with a vested interest in health, science, and personal development...",
                    "locations": {
                      "countries": [
                        {
                          "name": "United States",
                          "id": "us",
                          "slug": "united-states",
                          "weight": 0.67
                        },
                        {
                          "name": "Canada",
                          "id": "ca",
                          "slug": "canada",
                          "weight": 0.12
                        },
                        {
                          "name": "United Kingdom",
                          "id": "gb",
                          "slug": "united-kingdom",
                          "weight": 0.07
                        },
                        {
                          "name": "Australia",
                          "id": "au",
                          "slug": "australia",
                          "weight": 0.06
                        },
                        {
                          "name": "Germany",
                          "id": "de",
                          "slug": "germany",
                          "weight": 0.05
                        }
                      ]
                    },
                    "age_groups": {
                      "items": [
                        {
                          "name": "25_34",
                          "probability": 0.25
                        },
                        {
                          "name": "35_44",
                          "probability": 0.3
                        },
                        {
                          "name": "45_54",
                          "probability": 0.2
                        },
                        {
                          "name": "55_64",
                          "probability": 0.15
                        },
                        {
                          "name": "65_plus",
                          "probability": 0.1
                        }
                      ],
                      "explanation": "The emphasis on scientific topics and practical health advice likely attracts a more mature audience..."
                    },
                    "relationship_statuses": {
                      "items": [
                        {
                          "name": "single",
                          "probability": 0.3
                        },
                        {
                          "name": "relationship",
                          "probability": 0.4
                        },
                        {
                          "name": "married",
                          "probability": 0.3
                        }
                      ],
                      "explanation": "..."
                    },
                    "education_levels": {
                      "items": [
                        {
                          "name": "bachelors_degree",
                          "probability": 0.25
                        },
                        {
                          "name": "masters_degree",
                          "probability": 0.35
                        },
                        {
                          "name": "advanced_degree",
                          "probability": 0.3
                        },
                        {
                          "name": "high_school",
                          "probability": 0.1
                        }
                      ],
                      "explanation": "..."
                    },
                    "professions": {
                      "items": [
                        {
                          "name": "Educator",
                          "probability": 0.15
                        },
                        {
                          "name": "Healthcare Professional",
                          "probability": 0.2
                        },
                        {
                          "name": "Fitness Trainer",
                          "probability": 0.2
                        },
                        {
                          "name": "Corporate Professional",
                          "probability": 0.25
                        },
                        {
                          "name": "Research Scientist",
                          "probability": 0.2
                        }
                      ],
                      "explanation": "..."
                    },
                    "interests": {
                      "items": [
                        {
                          "name": "Personal Development",
                          "probability": 0.25
                        },
                        {
                          "name": "Health and Wellness",
                          "probability": 0.2
                        },
                        {
                          "name": "Neuroscience",
                          "probability": 0.25
                        },
                        {
                          "name": "Physical Fitness",
                          "probability": 0.15
                        },
                        {
                          "name": "Scientific Research",
                          "probability": 0.15
                        }
                      ],
                      "explanation": "..."
                    },
                    "household_incomes": {
                      "lower": 70000,
                      "upper": 150000,
                      "explanation": "..."
                    },
                    "parents": {
                      "probability": 0.4,
                      "explanation": "..."
                    },
                    "genders": {
                      "skew": 0.5,
                      "explanation": "This is our best guess based on publicly available data points."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/podcasts/huberman-lab/demographics/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/podcasts/{id}/promotions/": {
      "get": {
        "operationId": "podcastPromotions",
        "summary": "Sponsors and Cross-Promos",
        "description": "See who sponsors a podcast and which other podcasts it cross-promotes, from its recent episodes.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/podcast-promotions"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Get it from [search](https://rephonic.com/developers/docs/1.1/search-podcasts) or [lookup](https://rephonic.com/developers/docs/1.1/lookup-podcast).",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "promotions": {
                      "type": "object",
                      "properties": {
                        "sponsors": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "description": "Sponsors heard in recent episodes, each with the episode.",
                              "items": {
                                "type": "object",
                                "description": "A sponsor heard in an episode.",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The sponsor."
                                  },
                                  "description": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "What the sponsor is."
                                  },
                                  "product_or_service": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "What the ad promotes."
                                  },
                                  "timestamp": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ],
                                    "description": "Where the ad starts in the episode, in milliseconds, or `null`."
                                  },
                                  "ad_text": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "What the ad says, from the transcript."
                                  },
                                  "url": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The URL the ad sends listeners to."
                                  },
                                  "promo_code": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The promo code or offer in the ad."
                                  },
                                  "call_to_action": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "What the ad asks listeners to do."
                                  },
                                  "host_read": {
                                    "type": [
                                      "boolean",
                                      "null"
                                    ],
                                    "description": "Whether a host reads the ad, or `null` when we can't tell."
                                  },
                                  "episode": {
                                    "$ref": "#/components/schemas/EpisodeRef"
                                  }
                                },
                                "required": [
                                  "name",
                                  "description",
                                  "product_or_service",
                                  "timestamp",
                                  "ad_text",
                                  "url",
                                  "promo_code",
                                  "call_to_action",
                                  "host_read",
                                  "episode"
                                ]
                              }
                            }
                          },
                          "required": [
                            "list"
                          ]
                        },
                        "cross_promos": {
                          "type": "object",
                          "properties": {
                            "accepted": {
                              "type": [
                                "boolean",
                                "null"
                              ],
                              "description": "Whether the show is likely to do cross-promotions with other podcasts, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
                            },
                            "list": {
                              "type": "array",
                              "description": "Other podcasts promoted in recent episodes, each with the episode.",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "The podcast being promoted."
                                  },
                                  "description": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "What the promoted podcast is about."
                                  },
                                  "timestamp": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ],
                                    "description": "Where the promotion starts in the episode, in milliseconds, or `null`."
                                  },
                                  "episode": {
                                    "$ref": "#/components/schemas/EpisodeRef"
                                  }
                                },
                                "required": [
                                  "name",
                                  "description",
                                  "timestamp",
                                  "episode"
                                ]
                              }
                            }
                          },
                          "required": [
                            "accepted",
                            "list"
                          ]
                        }
                      },
                      "required": [
                        "sponsors",
                        "cross_promos"
                      ]
                    }
                  },
                  "required": [
                    "promotions"
                  ]
                },
                "example": {
                  "promotions": {
                    "sponsors": {
                      "list": [
                        {
                          "name": "Wealthfront",
                          "description": "An investment and savings app",
                          "product_or_service": "Savings and investing services",
                          "timestamp": 684720,
                          "ad_text": "I've been using Wealthfront for my savings and my investing for nearly a decade...",
                          "url": "https://wealthfront.com/huberman",
                          "promo_code": "$50 bonus",
                          "call_to_action": "Visit the website",
                          "host_read": true,
                          "episode": {
                            "id": "5irs0-huberman-lab-dr-becky-kennedy-overcoming-gui",
                            "title": "Dr. Becky Kennedy: Overcoming Guilt & Building Tenacity in Kids & Adults",
                            "published": "2025-01-13T09:00:00Z"
                          }
                        }
                      ]
                    },
                    "cross_promos": {
                      "accepted": false,
                      "list": [
                        {
                          "name": "Perform with Dr. Andy Galpin",
                          "description": "Dives into topics like muscle building, cardiovascular health, and optimizing recovery.",
                          "timestamp": 3225440,
                          "episode": {
                            "id": "41ge3-huberman-lab-dr-peter-attia-supplements-for",
                            "title": "Dr. Peter Attia: Supplements for Longevity & Their Efficacy",
                            "published": "2024-07-29T08:00:00Z"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/podcasts/huberman-lab/promotions/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/podcasts/{id}/rankings/": {
      "get": {
        "operationId": "podcastRankings",
        "summary": "Rankings",
        "description": "See where a podcast ranks right now in the Apple Podcasts, Spotify and YouTube charts, with one row for each chart it's in. Charts update once a day.\n\nTo see a whole chart, use [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings).",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/podcast-rankings"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Get it from [search](https://rephonic.com/developers/docs/1.1/search-podcasts) or [lookup](https://rephonic.com/developers/docs/1.1/lookup-podcast).",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rankings": {
                      "type": "array",
                      "description": "One row for each chart the podcast is in. Empty when it isn't in any chart we track.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "platform": {
                            "type": "string",
                            "description": "The app whose chart this is.",
                            "enum": [
                              "apple",
                              "spotify",
                              "youtube"
                            ]
                          },
                          "timestamp": {
                            "type": "string",
                            "description": "When we collected the chart.",
                            "format": "date-time"
                          },
                          "rank": {
                            "type": "integer",
                            "description": "The podcast's position in the chart, starting at 1."
                          },
                          "country": {
                            "$ref": "#/components/schemas/Country"
                          },
                          "category": {
                            "type": "string",
                            "description": "The chart's category. `Top Podcasts`, or `Popular Podcasts` on YouTube, is the chart for the whole country."
                          },
                          "parent_category": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "For an Apple subcategory, the parent category's name, or `null` for a top-level category. Apple rows only."
                          },
                          "category_slug": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The category's slug, as used by [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings), or `null` for the Apple and Spotify `Top Podcasts` charts."
                          }
                        },
                        "required": [
                          "platform",
                          "timestamp",
                          "rank",
                          "country",
                          "category",
                          "category_slug"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rankings"
                  ]
                },
                "example": {
                  "rankings": [
                    {
                      "platform": "youtube",
                      "timestamp": "2026-09-10T00:00:00Z",
                      "rank": 12,
                      "country": {
                        "name": "United States",
                        "id": "us",
                        "slug": "united-states"
                      },
                      "category": "Popular Podcasts",
                      "category_slug": "popular-podcasts"
                    },
                    {
                      "platform": "spotify",
                      "timestamp": "2026-09-10T00:00:00Z",
                      "rank": 9,
                      "country": {
                        "name": "United States",
                        "id": "us",
                        "slug": "united-states"
                      },
                      "category": "Top Podcasts",
                      "category_slug": null
                    },
                    {
                      "platform": "apple",
                      "timestamp": "2026-09-10T00:00:00Z",
                      "rank": 67,
                      "country": {
                        "name": "United States",
                        "id": "us",
                        "slug": "united-states"
                      },
                      "category": "Top Podcasts",
                      "parent_category": null,
                      "category_slug": null
                    },
                    {
                      "platform": "apple",
                      "timestamp": "2026-09-10T00:00:00Z",
                      "rank": 4,
                      "country": {
                        "name": "United States",
                        "id": "us",
                        "slug": "united-states"
                      },
                      "category": "Health & Fitness",
                      "parent_category": null,
                      "category_slug": "health-fitness"
                    },
                    {
                      "platform": "apple",
                      "timestamp": "2026-09-10T00:00:00Z",
                      "rank": 1,
                      "country": {
                        "name": "United Kingdom",
                        "id": "gb",
                        "slug": "united-kingdom"
                      },
                      "category": "Health & Fitness",
                      "parent_category": null,
                      "category_slug": "health-fitness"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/podcasts/huberman-lab/rankings/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/episodes/": {
      "get": {
        "operationId": "listEpisodes",
        "summary": "List Episodes",
        "description": "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.",
        "tags": [
          "Episodes"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/list-episodes"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "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).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "How many episodes to get on each page.",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 25
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Which page to get, starting at 1.",
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "page": {
                      "type": "integer",
                      "description": "The page you asked for."
                    },
                    "per_page": {
                      "type": "integer",
                      "description": "How many episodes are on each page."
                    },
                    "total_count": {
                      "type": "integer",
                      "description": "How many episodes there are across all pages."
                    },
                    "episodes": {
                      "type": "array",
                      "description": "The episodes on this page, newest first.",
                      "items": {
                        "$ref": "#/components/schemas/EpisodeListItem"
                      }
                    }
                  },
                  "required": [
                    "page",
                    "per_page",
                    "total_count",
                    "episodes"
                  ]
                },
                "example": {
                  "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
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/episodes/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=huberman-lab\""
          }
        ]
      }
    },
    "/api/episodes/{id}/": {
      "get": {
        "operationId": "getEpisode",
        "summary": "Get an Episode",
        "description": "Get everything we know about one episode. Along with its title, show notes and audio, you get its podcast, hosts, guests, sponsors, credits, cross-promotions, topics, key moments, questions, tone, places mentioned and brand safety tags.\n\nEpisodes we haven't analysed yet have empty lists and `null` values. For the transcript itself, use [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript).",
        "tags": [
          "Episodes"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/get-episode"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The episode's Rephonic ID. Get it from [search episodes](https://rephonic.com/developers/docs/1.1/search-episodes) or [list episodes](https://rephonic.com/developers/docs/1.1/list-episodes).",
            "schema": {
              "type": "string"
            },
            "example": "kzaca-huberman-lab-dr-brian-keating-charting-the-a"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "episode": {
                      "$ref": "#/components/schemas/Episode"
                    }
                  },
                  "required": [
                    "episode"
                  ]
                },
                "example": {
                  "episode": {
                    "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...",
                        "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
                      }
                    ],
                    "hosts": [
                      {
                        "name": "Andrew Huberman",
                        "description": "Professor of neurobiology and ophthalmology at Stanford School of Medicine",
                        "contacts": [],
                        "social_accounts": []
                      }
                    ],
                    "credits": [
                      {
                        "name": "Joe Bloggs",
                        "description": "Editor",
                        "affiliation": "Scicomm Media"
                      }
                    ],
                    "cross_promos": [],
                    "key_moments": [
                      {
                        "text": "Science is indeed a human endeavor, and much of what we understand about ourselves and the entire universe is filtered through that humanness.",
                        "timestamp": 64760
                      },
                      {
                        "text": "Astronomy is not only the oldest of all sciences, it's the most visceral one, so connects us.",
                        "timestamp": 231540
                      }
                    ],
                    "questions": [
                      {
                        "question": "What is the basis for the green flash?",
                        "answer": "The green flash occurs due to atmospheric conditions that favor scattering of shorter wavelengths of light...",
                        "timestamp": 8151280
                      },
                      {
                        "question": "Is there a real possibility of life on other planets?",
                        "answer": "Currently, there is no evidence of life elsewhere...",
                        "timestamp": 10122580
                      }
                    ],
                    "tone": [
                      "conversational",
                      "informative",
                      "inquisitive"
                    ],
                    "locations": [
                      {
                        "name": "Antarctica"
                      },
                      {
                        "name": "San Diego, California, United States"
                      },
                      {
                        "name": "Stanford, California, United States"
                      }
                    ],
                    "safety_tags": [
                      "debated_sensitive_social_issue"
                    ],
                    "podcast": {
                      "badges": null,
                      "id": "huberman-lab",
                      "publisher": {
                        "id": "scicomm-media",
                        "name": "Scicomm Media"
                      },
                      "founded": "2020-12-21T00:00:00Z",
                      "added": "2020-12-23T03:22:16.476Z",
                      "name": "Huberman Lab",
                      "short_name": "Huberman Lab",
                      "description": "The Huberman Lab podcast is hosted by Andrew Huberman, Ph.D...",
                      "summary": "This podcast engages listeners through a thoughtful exploration of neuroscience...",
                      "artwork_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=70&height=70&quality=95",
                      "feed_url": "https://feeds.megaphone.fm/hubermanlab",
                      "itunes_id": 1545953110,
                      "language": "en",
                      "sponsors": {
                        "accepted": true,
                        "profile": null,
                        "outreach": null
                      },
                      "cross_promos": {
                        "accepted": false
                      },
                      "guests": {
                        "accepted": true,
                        "profile": null,
                        "outreach": null
                      },
                      "branded": false,
                      "active": true,
                      "deleted": false,
                      "genres": [
                        "Life Sciences",
                        "Science",
                        "Health & Fitness"
                      ],
                      "num_episodes": 269,
                      "num_ratings": 163756,
                      "frequency": "twiceweekly",
                      "social_reach": 11015653,
                      "engagement": 90,
                      "identifiers": {
                        "itunes": 1545953110,
                        "apple": 1545953110,
                        "spotify": "79CkJF3UJTHFV8Dse3Oy0P",
                        "castbox": null,
                        "podchaser": null,
                        "tpa": null,
                        "podaddict": null,
                        "playerfm": null,
                        "tunein": null,
                        "podbean": null,
                        "audible": null,
                        "podrepublic": 1545953110,
                        "goodpods": 1545953110
                      },
                      "publishing_model": {
                        "apple": null
                      },
                      "verified": false,
                      "weekly_downloads": 2679678,
                      "downloads_per_episode": 1793629,
                      "entities": null,
                      "links": null
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/episodes/kzaca-huberman-lab-dr-brian-keating-charting-the-a/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/episodes/{id}/transcript/": {
      "get": {
        "operationId": "episodeTranscript",
        "summary": "Episode Transcript",
        "description": "Get an episode's full transcript, in segments with start and end times in milliseconds. When we can tell who is speaking, `speakers` maps each speaker number to a name.\n\nNot every episode has a transcript, so check `transcribed` on the episode first. If there isn't one, you'll get a `400` error.",
        "tags": [
          "Episodes"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/episode-transcript"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The episode's Rephonic ID. Get it from [search episodes](https://rephonic.com/developers/docs/1.1/search-episodes) or [list episodes](https://rephonic.com/developers/docs/1.1/list-episodes).",
            "schema": {
              "type": "string"
            },
            "example": "9jq9c-huberman-lab-dr-stuart-mcgill-build-a-strong"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transcript": {
                      "type": "object",
                      "properties": {
                        "speakers": {
                          "type": "object",
                          "description": "The names of the speakers we could identify, keyed by the speaker number used in `segments`. Empty when we couldn't tell who is speaking.",
                          "additionalProperties": {
                            "type": "string",
                            "description": "The speaker's name."
                          },
                          "x-key": "speaker"
                        },
                        "segments": {
                          "type": "array",
                          "description": "The transcript in order, one segment per stretch of speech.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "speaker": {
                                "type": "integer",
                                "description": "Who is speaking. Look the number up in `speakers`."
                              },
                              "start": {
                                "type": "integer",
                                "description": "Where the segment starts, in milliseconds."
                              },
                              "end": {
                                "type": "integer",
                                "description": "Where the segment ends, in milliseconds."
                              },
                              "text": {
                                "type": "string",
                                "description": "What was said."
                              }
                            },
                            "required": [
                              "speaker",
                              "start",
                              "end",
                              "text"
                            ]
                          }
                        }
                      },
                      "required": [
                        "speakers",
                        "segments"
                      ]
                    },
                    "episode": {
                      "type": "object",
                      "description": "The episode the transcript belongs to.",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The episode's Rephonic ID."
                        },
                        "title": {
                          "type": "string",
                          "description": "The episode's title."
                        },
                        "published": {
                          "type": "string",
                          "description": "When the episode was published.",
                          "format": "date-time"
                        },
                        "audio_url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`."
                        },
                        "guid": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The episode's GUID from the RSS feed."
                        },
                        "itunes_id": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "The episode's Apple Podcasts ID."
                        },
                        "duration": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How long the episode is, in seconds."
                        },
                        "transcribed": {
                          "type": "boolean",
                          "description": "Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
                        },
                        "type": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The episode's format.",
                          "enum": [
                            "monologue",
                            "discussion",
                            "interview",
                            "storytelling",
                            "scripted",
                            "news",
                            "review",
                            "educational",
                            "journalism",
                            "documentary",
                            "q_and_a",
                            null
                          ]
                        },
                        "evergreen": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "description": "Whether the episode is evergreen, meaning its content won't go out of date."
                        },
                        "branded": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "description": "Whether the episode is made to promote a company or organisation."
                        },
                        "popularity": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "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": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "The episode's political leaning, or `null` when it isn't political.",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "The leaning.",
                              "enum": [
                                "left",
                                "center_left",
                                "center",
                                "center_right",
                                "right"
                              ]
                            },
                            "explanation": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Why we think so."
                            }
                          },
                          "required": [
                            "name",
                            "explanation"
                          ]
                        },
                        "summary": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Our short summary of the episode, or `null` until we've analysed it."
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The show notes from the RSS feed, as plain text."
                        },
                        "youtube_videos": {
                          "type": "array",
                          "description": "The YouTube videos we matched to the episode.",
                          "items": {
                            "$ref": "#/components/schemas/YoutubeVideo"
                          }
                        },
                        "podcast": {
                          "$ref": "#/components/schemas/PodcastSummary",
                          "description": "The podcast the episode belongs to."
                        }
                      },
                      "required": [
                        "id",
                        "title",
                        "published",
                        "audio_url",
                        "guid",
                        "itunes_id",
                        "duration",
                        "transcribed",
                        "type",
                        "evergreen",
                        "branded",
                        "popularity",
                        "political_leaning",
                        "summary",
                        "notes",
                        "youtube_videos",
                        "podcast"
                      ]
                    }
                  },
                  "required": [
                    "transcript",
                    "episode"
                  ]
                },
                "example": {
                  "transcript": {
                    "speakers": {
                      "1": "Andrew Huberman",
                      "2": "Dr. Stuart McGill"
                    },
                    "segments": [
                      {
                        "speaker": 1,
                        "start": 300,
                        "end": 5660,
                        "text": "Welcome to the Huberman Lab Podcast, where we discuss science and science-based tools for everyday life."
                      },
                      {
                        "speaker": 1,
                        "start": 9420,
                        "end": 17820,
                        "text": "I'm Andrew Huberman, and I'm a professor of neurobiology and ophthalmology at Stanford School of Medicine. My guest today is Dr. Stuart McGill."
                      },
                      {
                        "speaker": 2,
                        "start": 72520,
                        "end": 86020,
                        "text": "Hi Andrew."
                      }
                    ]
                  },
                  "episode": {
                    "id": "9jq9c-huberman-lab-dr-stuart-mcgill-build-a-strong",
                    "title": "Dr. Stuart McGill: Build a Strong, Pain-Proof Back",
                    "published": "2024-07-15T08:00:00Z",
                    "audio_url": "https://www.podtrac.com/pts/redirect.mp3/pdst.fm/...",
                    "guid": "b97dc99c-425c-11ef-841c-83023d1564cf",
                    "itunes_id": null,
                    "duration": 10335,
                    "transcribed": true,
                    "type": "interview",
                    "evergreen": true,
                    "branded": false,
                    "popularity": null,
                    "political_leaning": null,
                    "summary": "A conversation about how to build a strong back and prevent back pain.",
                    "notes": "In this episode, my guest is Dr. Stuart McGill, Ph.D...",
                    "youtube_videos": [],
                    "podcast": {
                      "id": "huberman-lab",
                      "name": "Huberman Lab",
                      "itunes_id": 1545953110,
                      "publisher": {
                        "id": "scicomm-media",
                        "name": "Scicomm Media"
                      },
                      "genres": [
                        "Life Sciences",
                        "Science",
                        "Health & Fitness"
                      ],
                      "artwork_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/huberman-lab.jpg?width=70&height=70&quality=95",
                      "active": true,
                      "sponsors": {
                        "accepted": false
                      },
                      "guests": {
                        "accepted": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/episodes/9jq9c-huberman-lab-dr-stuart-mcgill-build-a-strong/transcript/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/contacts/": {
      "get": {
        "operationId": "contacts",
        "summary": "Contacts",
        "description": "Get every email address and contact page we have for a podcast, best first, along with its social media accounts. Some contacts also say who they belong to, with a person on the show in `person` or a company in `entity`.\n\nBefore emailing an address, look at `verification_status`, which says whether email to it gets delivered, and `warning`, which is `true` when it's probably not a real inbox. We leave out addresses we found to be invalid.\n\nThe `badges` field marks the contacts we recommend.\n\nFor a summary of how to pitch the show, see `guests.outreach` and `sponsors.outreach` on [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast).",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/contacts"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "contacts": {
                      "type": "array",
                      "description": "Email addresses and contact pages, with the best way to reach the show first.",
                      "items": {
                        "$ref": "#/components/schemas/Contact"
                      }
                    },
                    "social": {
                      "type": "array",
                      "description": "The show's social media accounts. For follower numbers, use [social accounts](https://rephonic.com/developers/docs/1.1/social-accounts).",
                      "items": {
                        "type": "object",
                        "properties": {
                          "channel": {
                            "type": "string",
                            "description": "The social network.",
                            "examples": [
                              "instagram",
                              "facebook",
                              "twitter",
                              "patreon",
                              "soundcloud",
                              "pinterest",
                              "linkedin_profile",
                              "linkedin_group",
                              "tiktok"
                            ]
                          },
                          "identifier": {
                            "type": "string",
                            "description": "The account's handle or ID on that network."
                          },
                          "url": {
                            "type": "string",
                            "description": "The account's URL."
                          },
                          "added": {
                            "type": "string",
                            "description": "When we found the account.",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "channel",
                          "identifier",
                          "url",
                          "added"
                        ]
                      }
                    }
                  },
                  "required": [
                    "contacts",
                    "social"
                  ]
                },
                "example": {
                  "contacts": [
                    {
                      "medium": "page",
                      "full_name": null,
                      "url": "https://example.com/guest-form",
                      "role": "Guest Suggestions",
                      "person": null,
                      "entity": {
                        "name": "Scicomm Media",
                        "kind": "production-company",
                        "url": "https://www.scicommedia.com",
                        "description": "Production company behind the show."
                      },
                      "badges": [
                        "best",
                        "pitch_guests"
                      ],
                      "concierge": false
                    },
                    {
                      "medium": "email",
                      "full_name": "Joe Bloggs",
                      "email": "xyz@example.com",
                      "role": "Host",
                      "warning": false,
                      "badges": [
                        "replies_to_pitches"
                      ],
                      "upvotes": 1,
                      "downvotes": 0,
                      "verification_status": "valid",
                      "verified_at": "2026-08-02T09:14:00Z",
                      "person": {
                        "kind": "host",
                        "description": "Veteran broadcaster and lead host of the show."
                      },
                      "entity": null,
                      "concierge": false
                    },
                    {
                      "medium": "email",
                      "full_name": null,
                      "email": "abc@example.com",
                      "role": "Sponsorships",
                      "warning": false,
                      "badges": [
                        "pitch_sponsors"
                      ],
                      "upvotes": 0,
                      "downvotes": 0,
                      "verification_status": "catch-all",
                      "verified_at": "2026-08-02T09:14:00Z",
                      "person": null,
                      "entity": {
                        "name": "Acme Media",
                        "kind": "ad-sales-agency",
                        "url": "https://acmemedia.com",
                        "description": "Ad-sales agency representing several mid-size podcasts."
                      },
                      "concierge": false
                    },
                    {
                      "medium": "page",
                      "full_name": null,
                      "url": "http://example.com/contact-us",
                      "role": "Contact Page",
                      "person": null,
                      "entity": null,
                      "badges": [],
                      "concierge": false
                    }
                  ],
                  "social": [
                    {
                      "channel": "twitter",
                      "identifier": "example_person",
                      "url": "https://x.com/example_person",
                      "added": "2022-08-24T08:42:05.616Z"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/contacts/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=huberman-lab\""
          }
        ]
      }
    },
    "/api/social/accounts/": {
      "get": {
        "operationId": "socialAccounts",
        "summary": "Social Accounts",
        "description": "Get a podcast's social media accounts and how many followers each one has. A podcast's `social_reach` adds up the followers on these accounts, plus the patrons on its Patreon account.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/social-accounts"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "louder-with-crowder"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accounts": {
                      "type": "array",
                      "description": "The show's social media accounts.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "channel": {
                            "type": "string",
                            "description": "The social network.",
                            "examples": [
                              "instagram",
                              "facebook",
                              "twitter",
                              "patreon",
                              "soundcloud",
                              "pinterest",
                              "linkedin_profile",
                              "linkedin_group",
                              "tiktok"
                            ]
                          },
                          "identifier": {
                            "type": "string",
                            "description": "The account's handle or ID on that network."
                          },
                          "url": {
                            "type": "string",
                            "description": "The account's URL."
                          },
                          "added": {
                            "type": "string",
                            "description": "When we found the account.",
                            "format": "date-time"
                          },
                          "metrics": {
                            "type": "object",
                            "description": "The account's stats. Which ones we have depends on the social network.",
                            "properties": {
                              "followers": {
                                "type": "integer",
                                "description": "Followers or subscribers."
                              },
                              "patrons": {
                                "type": "integer",
                                "description": "Patreon patrons."
                              },
                              "pledges": {
                                "type": "number",
                                "description": "What patrons pledge on Patreon, in the creator's currency."
                              }
                            }
                          }
                        },
                        "required": [
                          "channel",
                          "identifier",
                          "url",
                          "added",
                          "metrics"
                        ]
                      }
                    }
                  },
                  "required": [
                    "accounts"
                  ]
                },
                "example": {
                  "accounts": [
                    {
                      "channel": "facebook",
                      "identifier": "stevencrowderofficial",
                      "url": "https://facebook.com/stevencrowderofficial",
                      "added": "2020-08-24T09:48:56.630Z",
                      "metrics": {
                        "followers": 3100000
                      }
                    },
                    {
                      "channel": "twitter",
                      "identifier": "scrowder",
                      "url": "https://x.com/scrowder",
                      "added": "2020-08-24T09:48:56.652Z",
                      "metrics": {
                        "followers": 1171614
                      }
                    },
                    {
                      "channel": "instagram",
                      "identifier": "louderwithcrowder",
                      "url": "https://instagram.com/louderwithcrowder",
                      "added": "2020-08-24T09:48:56.661Z",
                      "metrics": {
                        "followers": 883825
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/social/accounts/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=louder-with-crowder\""
          }
        ]
      }
    },
    "/api/feedback/": {
      "get": {
        "operationId": "feedback",
        "summary": "Ratings and Feedback",
        "description": "See how listeners rate a podcast on Apple Podcasts, Spotify, Podchaser and Podcast Addict, with a short summary of what reviewers say. Castbox and Audible only show up when we have reviews from them. To read the reviews themselves, use [reviews](https://rephonic.com/developers/docs/1.1/reviews).",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/feedback"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "insights": {
                      "type": "array",
                      "description": "A few sentences that sum up what reviewers say.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "feedback": {
                      "type": "array",
                      "description": "One row for each app we have ratings or reviews from. A row only has the fields its app reports.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "app": {
                            "type": "string",
                            "description": "The podcast app.",
                            "enum": [
                              "apple",
                              "spotify",
                              "podchaser",
                              "podaddict",
                              "castbox",
                              "audible"
                            ]
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "The average star rating, from 1 to 5."
                          },
                          "ratings": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "How many star ratings the show has in the app."
                          },
                          "reviews": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "How many written reviews the show has in the app."
                          },
                          "stored_reviews": {
                            "type": "integer",
                            "description": "How many of the reviews you can get from [reviews](https://rephonic.com/developers/docs/1.1/reviews)."
                          }
                        },
                        "required": [
                          "app"
                        ]
                      }
                    }
                  },
                  "required": [
                    "insights",
                    "feedback"
                  ]
                },
                "example": {
                  "insights": [
                    "Overall, feedback reflects a dedicated audience that values rigorous yet approachable science-based discussions.",
                    "Listeners commend the host's delivery and enthusiasm, noting that it enhances the educational experience.",
                    "The conversational style is often praised for being engaging and informative."
                  ],
                  "feedback": [
                    {
                      "app": "apple",
                      "rating": 4.82,
                      "ratings": 42641,
                      "reviews": 3726,
                      "stored_reviews": 3123
                    },
                    {
                      "app": "spotify",
                      "rating": 4.93,
                      "ratings": 121082,
                      "reviews": null
                    },
                    {
                      "app": "podchaser",
                      "rating": 4.85,
                      "ratings": 33,
                      "reviews": 11,
                      "stored_reviews": 8
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/feedback/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=huberman-lab\""
          }
        ]
      }
    },
    "/api/reviews/": {
      "get": {
        "operationId": "reviews",
        "summary": "Reviews",
        "description": "Read a podcast's listener reviews from Apple Podcasts, Podchaser, Castbox, Podcast Addict and Audible, 20 to a page.\n\nEach app gives us different details. Apple Podcasts reviews have a `title`, `rating` and `country`, for example, and Castbox reviews have a `like_count`.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/reviews"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "huberman-lab"
          },
          {
            "name": "platform",
            "in": "query",
            "required": true,
            "description": "Which app to get reviews from, or `all`.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "apple",
                "podchaser",
                "castbox",
                "audible",
                "podaddict"
              ]
            },
            "example": "all"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Which page to get, starting at 1.",
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "reviews": {
                      "type": "array",
                      "description": "The reviews on this page, newest first. Each app gives us different details, so some fields are only on some apps.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "added": {
                            "type": "string",
                            "description": "When we collected the review.",
                            "format": "date-time"
                          },
                          "created": {
                            "type": "string",
                            "description": "When the listener wrote the review.",
                            "format": "date-time"
                          },
                          "content": {
                            "type": "string",
                            "description": "What the review says."
                          },
                          "author": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The reviewer's name."
                          },
                          "id": {
                            "type": [
                              "string",
                              "integer"
                            ],
                            "description": "The review's ID in its app. A number on some apps and a string on others."
                          },
                          "country": {
                            "$ref": "#/components/schemas/Country",
                            "description": "Where the reviewer is."
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The review's title."
                          },
                          "rating": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "The star rating, from 1 to 5."
                          },
                          "like_count": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "How many people liked the review."
                          },
                          "platform": {
                            "type": "string",
                            "description": "The app the review is from.",
                            "enum": [
                              "apple",
                              "podchaser",
                              "castbox",
                              "audible",
                              "podaddict"
                            ]
                          }
                        },
                        "required": [
                          "added",
                          "created",
                          "content",
                          "author",
                          "id",
                          "platform"
                        ]
                      }
                    },
                    "page": {
                      "type": "integer",
                      "description": "The page you asked for."
                    },
                    "per_page": {
                      "type": "integer",
                      "description": "How many reviews are on each page. Always 20."
                    },
                    "count": {
                      "type": "integer",
                      "description": "How many reviews there are across all pages."
                    }
                  },
                  "required": [
                    "reviews",
                    "page",
                    "per_page",
                    "count"
                  ]
                },
                "example": {
                  "reviews": [
                    {
                      "added": "2020-11-10T09:18:15.222Z",
                      "created": "2020-11-10T03:41:11Z",
                      "content": "i want a link to the sermon by that woman from the church. it is AMAZING!!",
                      "author": "otty",
                      "id": "5faa0bd7e694aa569e615d0c",
                      "like_count": 0,
                      "platform": "castbox"
                    },
                    {
                      "added": "2020-11-10T09:18:12.431Z",
                      "created": "2020-11-09T00:57:15Z",
                      "content": "BIG 0",
                      "author": "Wrenhensmileydolly",
                      "id": 6624362550,
                      "country": {
                        "name": "United States",
                        "id": "us",
                        "slug": "united-states"
                      },
                      "title": "Would give a 0 if I could",
                      "rating": 1,
                      "platform": "apple"
                    }
                  ],
                  "page": 1,
                  "per_page": 20,
                  "count": 2884
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/reviews/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=huberman-lab\" \\\n  --data-urlencode \"platform=all\""
          }
        ]
      }
    },
    "/api/trends/": {
      "get": {
        "operationId": "trends",
        "summary": "Trends",
        "description": "See how the social reach and Spotify followers of up to three podcasts have changed over time. Each metric is a list of `[unix_timestamp, value]` pairs, newest first, going back up to five years. Every value except the newest is an average of the readings around it.",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/trends"
        },
        "parameters": [
          {
            "name": "podcast_ids",
            "in": "query",
            "required": true,
            "description": "Up to three podcast IDs, separated by commas.",
            "schema": {
              "type": "string"
            },
            "example": "climate-one"
          },
          {
            "name": "metrics",
            "in": "query",
            "required": true,
            "description": "Which metrics you want, separated by commas. It takes `social_reach`, `spotify_followers` or both.",
            "schema": {
              "type": "string"
            },
            "example": "social_reach,spotify_followers"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "trends": {
                      "type": "object",
                      "description": "The history of each podcast you asked for, keyed by its ID. A metric we have no data for is left out.",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "social_reach": {
                            "type": "array",
                            "description": "The show's social reach over time, newest first. See `social_reach` on [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast).",
                            "items": {
                              "type": "array",
                              "description": "A `[unix_timestamp, value]` pair. The timestamp is in seconds.",
                              "items": {
                                "type": "number"
                              }
                            }
                          },
                          "spotify_followers": {
                            "type": "array",
                            "description": "The show's Spotify followers over time, newest first.",
                            "items": {
                              "type": "array",
                              "description": "A `[unix_timestamp, value]` pair. The timestamp is in seconds.",
                              "items": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "x-key": "podcast_id"
                    }
                  },
                  "required": [
                    "trends"
                  ]
                },
                "example": {
                  "trends": {
                    "climate-one": {
                      "spotify_followers": [
                        [
                          1690643855,
                          16000
                        ],
                        [
                          1681155421,
                          15000
                        ],
                        [
                          1669679979,
                          14000
                        ]
                      ],
                      "social_reach": [
                        [
                          1690643855,
                          500000
                        ],
                        [
                          1681155421,
                          495000
                        ],
                        [
                          1669679979,
                          490000
                        ]
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/trends/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_ids=climate-one\" \\\n  --data-urlencode \"metrics=social_reach,spotify_followers\""
          }
        ]
      }
    },
    "/api/similar/graph/": {
      "get": {
        "operationId": "audienceGraph",
        "summary": "Graph",
        "description": "Find the podcasts that share listeners with a podcast, and the podcasts that share listeners with those. It's the data behind the [Audience Graph](https://rephonic.com/graph) in the Rephonic app.\n\nFor a simple list of similar podcasts, see `similar` on [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast).",
        "tags": [
          "Podcasts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/audience-graph"
        },
        "parameters": [
          {
            "name": "podcast_id",
            "in": "query",
            "required": true,
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`.",
            "schema": {
              "type": "string"
            },
            "example": "the-daily"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "graph": {
                      "type": "object",
                      "properties": {
                        "nodes": {
                          "type": "array",
                          "description": "The podcast you asked for, the podcasts that share its listeners, and the podcasts that share theirs.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "The podcast's Rephonic ID."
                              },
                              "itunes_id": {
                                "type": "integer",
                                "description": "The podcast's Apple Podcasts ID."
                              },
                              "publisher": {
                                "type": "string",
                                "description": "The publisher's name."
                              },
                              "name": {
                                "type": "string",
                                "description": "The podcast's name."
                              },
                              "artwork_url": {
                                "type": "string",
                                "description": "The cover art, 600 by 600 pixels."
                              },
                              "artwork_thumbnail_url": {
                                "type": "string",
                                "description": "The cover art, 70 by 70 pixels."
                              },
                              "description": {
                                "type": "string",
                                "description": "The show's description, cut to about 1,000 characters. Empty when it has none."
                              }
                            },
                            "required": [
                              "id",
                              "itunes_id",
                              "publisher",
                              "name",
                              "artwork_url",
                              "artwork_thumbnail_url",
                              "description"
                            ]
                          }
                        },
                        "links": {
                          "type": "array",
                          "description": "Which podcasts share listeners.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "string",
                                "description": "The ID of the podcast the link starts from."
                              },
                              "target": {
                                "type": "string",
                                "description": "The ID of a podcast that shares listeners with `source`."
                              },
                              "depth": {
                                "type": "integer",
                                "description": "How far the link is from the podcast you asked for. A link from that podcast has `0`, and a link from one of the podcasts it links to has `1`.",
                                "enum": [
                                  0,
                                  1
                                ]
                              }
                            },
                            "required": [
                              "source",
                              "target",
                              "depth"
                            ]
                          }
                        }
                      },
                      "required": [
                        "nodes",
                        "links"
                      ]
                    }
                  },
                  "required": [
                    "graph"
                  ]
                },
                "example": {
                  "graph": {
                    "nodes": [
                      {
                        "id": "the-daily",
                        "itunes_id": 1200361736,
                        "publisher": "The New York Times",
                        "name": "The Daily",
                        "artwork_url": "https://img.rephonic.com/artwork/the-daily.jpg?width=600&height=600&quality=95",
                        "artwork_thumbnail_url": "https://img.rephonic.com/artwork/the-daily.jpg?width=70&height=70&quality=95",
                        "description": "This is what the news should sound like..."
                      },
                      {
                        "id": "up-first",
                        "itunes_id": 1222114325,
                        "publisher": "NPR",
                        "name": "Up First",
                        "artwork_url": "https://img.rephonic.com/artwork/up-first.jpg?width=600&height=600&quality=95",
                        "artwork_thumbnail_url": "https://img.rephonic.com/artwork/up-first.jpg?width=70&height=70&quality=95",
                        "description": "NPR's Up First is the news you need to start your day..."
                      },
                      {
                        "id": "the-npr-politics-podcast",
                        "itunes_id": 1057255460,
                        "publisher": "NPR",
                        "name": "The NPR Politics Podcast",
                        "artwork_url": "https://img.rephonic.com/artwork/the-npr-politics-podcast.jpg?width=600&height=600&quality=95",
                        "artwork_thumbnail_url": "https://img.rephonic.com/artwork/the-npr-politics-podcast.jpg?width=70&height=70&quality=95",
                        "description": "Every weekday, NPR's best political reporters are there to explain the big news coming out of Washington and the campaign trail..."
                      }
                    ],
                    "links": [
                      {
                        "source": "the-daily",
                        "target": "up-first",
                        "depth": 0
                      },
                      {
                        "source": "up-first",
                        "target": "the-npr-politics-podcast",
                        "depth": 1
                      },
                      {
                        "source": "the-daily",
                        "target": "the-npr-politics-podcast",
                        "depth": 0
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -G https://api.rephonic.com/api/similar/graph/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode \"podcast_id=the-daily\""
          }
        ]
      }
    },
    "/api/charts/{platform}/": {
      "get": {
        "operationId": "chartCategories",
        "summary": "Chart Categories",
        "description": "Find which charts we track on Apple Podcasts, Spotify or YouTube, by category and country. Pass the slugs to [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings) to get a chart.",
        "tags": [
          "Charts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/chart-categories"
        },
        "parameters": [
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "description": "The app whose charts you want.",
            "schema": {
              "type": "string",
              "enum": [
                "apple",
                "spotify",
                "youtube"
              ]
            },
            "example": "apple"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "categories": {
                      "type": "array",
                      "description": "The categories that have charts on this platform.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "description": "The category's ID, for the `categories` search filter. Apple Podcasts categories only."
                          },
                          "name": {
                            "type": "string",
                            "description": "The full name. A subcategory includes its parent, as in `Arts / Books`."
                          },
                          "short_name": {
                            "type": "string",
                            "description": "The name without the parent category, as in `Books`."
                          },
                          "slug": {
                            "type": "string",
                            "description": "The category's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings)."
                          },
                          "parent_slug": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The parent category's slug, or `null` for a top-level category."
                          }
                        },
                        "required": [
                          "name",
                          "short_name",
                          "slug",
                          "parent_slug"
                        ]
                      }
                    },
                    "countries": {
                      "type": "array",
                      "description": "The countries that have charts on this platform.",
                      "items": {
                        "$ref": "#/components/schemas/Country"
                      }
                    }
                  },
                  "required": [
                    "categories",
                    "countries"
                  ]
                },
                "example": {
                  "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"
                    },
                    {
                      "id": 1318,
                      "name": "Technology",
                      "short_name": "Technology",
                      "slug": "technology",
                      "parent_slug": null
                    }
                  ],
                  "countries": [
                    {
                      "name": "United States",
                      "id": "us",
                      "slug": "united-states"
                    },
                    {
                      "name": "Canada",
                      "id": "ca",
                      "slug": "canada"
                    },
                    {
                      "name": "United Kingdom",
                      "id": "gb",
                      "slug": "united-kingdom"
                    },
                    {
                      "name": "Australia",
                      "id": "au",
                      "slug": "australia"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/charts/apple/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/charts/{platform}/{country}/{category}/": {
      "get": {
        "operationId": "chartRankings",
        "summary": "Chart Rankings",
        "description": "Get a whole chart, such as the top comedy podcasts on Apple Podcasts in the United States. Each row has the podcast's place and how many places it moved since the previous chart. Charts update once a day.\n\nA YouTube chart can include shows that aren't in Rephonic yet. Their rows still have the show's name and publisher from the chart, but `id`, `itunes_id` and `publisher.id` are `null`, `genres` is empty and the artwork is a placeholder. You can't pass these shows to the other endpoints.",
        "tags": [
          "Charts"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/chart-rankings"
        },
        "parameters": [
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "description": "The app whose charts you want.",
            "schema": {
              "type": "string",
              "enum": [
                "apple",
                "spotify",
                "youtube"
              ]
            },
            "example": "apple"
          },
          {
            "name": "country",
            "in": "path",
            "required": true,
            "description": "The country's slug, e.g. `united-states`. Get it from [chart categories](https://rephonic.com/developers/docs/1.1/chart-categories).",
            "schema": {
              "type": "string"
            },
            "example": "united-states"
          },
          {
            "name": "category",
            "in": "path",
            "required": true,
            "description": "The category's slug, e.g. `comedy`, from [chart categories](https://rephonic.com/developers/docs/1.1/chart-categories). Use `all` for the country's top chart on Apple Podcasts and Spotify. YouTube has one chart per country, `popular-podcasts`.",
            "schema": {
              "type": "string"
            },
            "example": "all"
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "podcasts": {
                      "type": "array",
                      "description": "The podcasts in the chart, in order.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The podcast's Rephonic ID. It's `null` for a show on a YouTube chart that isn't in Rephonic."
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The podcast's name."
                          },
                          "itunes_id": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "The podcast's Apple Podcasts ID. It's `null` for a show on a YouTube chart that isn't in Rephonic."
                          },
                          "publisher": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The publisher's Rephonic ID. It's `null` for a show on a YouTube chart that isn't in Rephonic."
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The publisher's name."
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "genres": {
                            "type": "array",
                            "description": "The Apple Podcasts categories the show is in, main category first.",
                            "items": {
                              "type": "string"
                            }
                          },
                          "artwork_url": {
                            "type": "string",
                            "description": "The cover art, 600 by 600 pixels."
                          },
                          "artwork_thumbnail_url": {
                            "type": "string",
                            "description": "The cover art, 70 by 70 pixels."
                          },
                          "active": {
                            "type": [
                              "boolean",
                              "null"
                            ],
                            "description": "Whether the show published an episode in the last 60 days."
                          },
                          "sponsors": {
                            "type": "object",
                            "properties": {
                              "accepted": {
                                "type": [
                                  "boolean",
                                  "null"
                                ],
                                "description": "Whether the show takes sponsors. It's `null` when we haven't analysed the show yet."
                              }
                            },
                            "required": [
                              "accepted"
                            ]
                          },
                          "guests": {
                            "type": "object",
                            "properties": {
                              "accepted": {
                                "type": [
                                  "boolean",
                                  "null"
                                ],
                                "description": "Whether the show is likely to take guests. It's `null` when we haven't analysed the show yet."
                              }
                            },
                            "required": [
                              "accepted"
                            ]
                          },
                          "position": {
                            "type": "integer",
                            "description": "The podcast's place in the chart, starting at 1."
                          },
                          "change": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "How many places the podcast moved since the previous chart. Positive means it went up. It's `null` when we can't compare, e.g. the podcast is new to the chart or isn't in Rephonic."
                          }
                        },
                        "required": [
                          "genres",
                          "artwork_url",
                          "artwork_thumbnail_url",
                          "active",
                          "sponsors",
                          "guests",
                          "id",
                          "name",
                          "itunes_id",
                          "publisher",
                          "position",
                          "change"
                        ]
                      }
                    }
                  },
                  "required": [
                    "podcasts"
                  ]
                },
                "example": {
                  "podcasts": [
                    {
                      "id": "strike-force-five",
                      "name": "Strike Force Five",
                      "itunes_id": 1704871055,
                      "publisher": {
                        "id": "strike-force-five",
                        "name": "Strike Force Five"
                      },
                      "genres": [
                        "Comedy"
                      ],
                      "artwork_url": "https://img.rephonic.com/placeholder.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/placeholder.jpg?width=70&height=70&quality=95",
                      "active": true,
                      "sponsors": {
                        "accepted": true
                      },
                      "guests": {
                        "accepted": true
                      },
                      "position": 1,
                      "change": 2
                    },
                    {
                      "id": "the-daily",
                      "name": "The Daily",
                      "itunes_id": 1200361736,
                      "publisher": {
                        "id": "the-new-york-times",
                        "name": "The New York Times"
                      },
                      "genres": [
                        "News",
                        "Daily News"
                      ],
                      "artwork_url": "https://img.rephonic.com/artwork/the-daily.jpg?width=600&height=600&quality=95",
                      "artwork_thumbnail_url": "https://img.rephonic.com/artwork/the-daily.jpg?width=70&height=70&quality=95",
                      "active": true,
                      "sponsors": {
                        "accepted": true
                      },
                      "guests": {
                        "accepted": true
                      },
                      "position": 3,
                      "change": null
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/charts/apple/united-states/all/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/categories/": {
      "get": {
        "operationId": "categories",
        "summary": "Categories",
        "description": "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) to find podcasts in it, and its `slug` with [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings) to get its Apple Podcasts chart.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/categories"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "categories": {
                      "type": "array",
                      "description": "Every podcast category.",
                      "items": {
                        "$ref": "#/components/schemas/Category"
                      }
                    }
                  },
                  "required": [
                    "categories"
                  ]
                },
                "example": {
                  "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"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/categories/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/countries/": {
      "get": {
        "operationId": "countries",
        "summary": "Countries",
        "description": "Get every country we collect Apple Podcasts data for, with its two-letter code. Use a country's `id` in the `locations` [search filter](https://rephonic.com/developers/docs/1.1/search-filters) to find podcasts whose main audience is there, and its `slug` with [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings) to get its charts.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/countries"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "countries": {
                      "type": "array",
                      "description": "Every country we collect Apple Podcasts data for.",
                      "items": {
                        "$ref": "#/components/schemas/Country"
                      }
                    }
                  },
                  "required": [
                    "countries"
                  ]
                },
                "example": {
                  "countries": [
                    {
                      "name": "United States",
                      "id": "us",
                      "slug": "united-states"
                    },
                    {
                      "name": "United Kingdom",
                      "id": "gb",
                      "slug": "united-kingdom"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/countries/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/languages/": {
      "get": {
        "operationId": "languages",
        "summary": "Languages",
        "description": "Get every language code we use for podcasts, like `en` for English. Use a language's `id` in the `languages` [search filter](https://rephonic.com/developers/docs/1.1/search-filters) to find podcasts in that language. Put a backslash before any hyphen in the code, as in `zh\\-tw`.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/languages"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "languages": {
                      "type": "array",
                      "description": "Every language.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The language code. Use it in the `languages` search filter, with a backslash before any hyphen, as in `zh\\-tw`."
                          },
                          "name": {
                            "type": "string",
                            "description": "The language's name in English."
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ]
                      }
                    }
                  },
                  "required": [
                    "languages"
                  ]
                },
                "example": {
                  "languages": [
                    {
                      "id": "en",
                      "name": "English"
                    },
                    {
                      "id": "es",
                      "name": "Spanish"
                    },
                    {
                      "id": "fr",
                      "name": "French"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/languages/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/sponsors/": {
      "get": {
        "operationId": "sponsors",
        "summary": "Sponsors",
        "description": "Search the brands we've heard advertising on podcasts, to get the names the `sponsors` [search filter](https://rephonic.com/developers/docs/1.1/search-filters) takes. Without a `query`, you get the 100 we hear most.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/sponsors"
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Only list sponsors whose name contains this. Case doesn't matter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "sponsors": {
                      "type": "array",
                      "description": "Sponsors heard on podcasts. Up to 100, most common first.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "The name, as you pass it to the search filter."
                          },
                          "count": {
                            "type": "integer",
                            "description": "How many podcasts we have seen it on."
                          }
                        },
                        "required": [
                          "name",
                          "count"
                        ]
                      }
                    }
                  },
                  "required": [
                    "sponsors"
                  ]
                },
                "example": {
                  "sponsors": [
                    {
                      "name": "Audible",
                      "count": 5000
                    },
                    {
                      "name": "Squarespace",
                      "count": 3200
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/sponsors/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/professions/": {
      "get": {
        "operationId": "professions",
        "summary": "Professions",
        "description": "Search the listener jobs in our audience estimates, to get the names the `professions` [search filter](https://rephonic.com/developers/docs/1.1/search-filters) takes. Without a `query`, you get the 100 most common.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/professions"
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Only list professions whose name contains this. Case doesn't matter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "professions": {
                      "type": "array",
                      "description": "Listener professions. Up to 100, most common first.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "The name, as you pass it to the search filter."
                          },
                          "count": {
                            "type": "integer",
                            "description": "How many podcasts we have seen it on."
                          }
                        },
                        "required": [
                          "name",
                          "count"
                        ]
                      }
                    }
                  },
                  "required": [
                    "professions"
                  ]
                },
                "example": {
                  "professions": [
                    {
                      "name": "Software Engineer",
                      "count": 8000
                    },
                    {
                      "name": "Doctor",
                      "count": 5000
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/professions/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/common/interests/": {
      "get": {
        "operationId": "interests",
        "summary": "Interests",
        "description": "Search the listener interests in our audience estimates, to get the names the `interests` [search filter](https://rephonic.com/developers/docs/1.1/search-filters) takes. Without a `query`, you get the 100 most common.",
        "tags": [
          "Reference Data"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/interests"
        },
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Only list interests whose name contains this. Case doesn't matter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "interests": {
                      "type": "array",
                      "description": "Listener interests. Up to 100, most common first.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "The name, as you pass it to the search filter."
                          },
                          "count": {
                            "type": "integer",
                            "description": "How many podcasts we have seen it on."
                          }
                        },
                        "required": [
                          "name",
                          "count"
                        ]
                      }
                    }
                  },
                  "required": [
                    "interests"
                  ]
                },
                "example": {
                  "interests": [
                    {
                      "name": "Technology",
                      "count": 10000
                    },
                    {
                      "name": "Business",
                      "count": 8000
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/common/interests/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    },
    "/api/accounts/quota/": {
      "get": {
        "operationId": "quota",
        "summary": "API Quota",
        "description": "Check how many requests you've made this month and how many your plan allows. Calling this endpoint is free, so it doesn't use any of your quota. [Monthly quota](https://rephonic.com/developers/docs/1.1#monthly-quota) explains what counts and when it resets.",
        "tags": [
          "Account"
        ],
        "externalDocs": {
          "url": "https://rephonic.com/developers/docs/1.1/quota"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiVersion"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Rephonic-Api-Version": {
                "$ref": "#/components/headers/ApiVersion"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "usage": {
                      "type": "integer",
                      "description": "How many successful requests you have made this month."
                    },
                    "quota": {
                      "type": "integer",
                      "description": "How many requests you can make each month."
                    }
                  },
                  "required": [
                    "usage",
                    "quota"
                  ]
                },
                "example": {
                  "usage": 292,
                  "quota": 10000
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          }
        },
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl https://api.rephonic.com/api/accounts/quota/ \\\n  -H \"X-Rephonic-Api-Key: YOUR_API_KEY\""
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Rephonic-Api-Key",
        "description": "Your API key, from https://rephonic.com/account."
      }
    },
    "parameters": {
      "ApiVersion": {
        "name": "X-Rephonic-Api-Version",
        "in": "header",
        "required": false,
        "description": "The API version to use. If you leave it out, we use the version pinned to your account.",
        "schema": {
          "type": "string",
          "enum": [
            "1.1"
          ]
        },
        "example": "1.1"
      }
    },
    "headers": {
      "ApiVersion": {
        "description": "The API version that answered the request.",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "The request is wrong, e.g. a missing parameter or a podcast that doesn't exist, or you've used up your monthly quota. The message says which.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "The API key is missing, or we don't recognise it.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "You hit the rate limit.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "AdRead": {
        "type": "object",
        "description": "A sponsor heard in an episode.",
        "properties": {
          "name": {
            "type": "string",
            "description": "The sponsor."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the sponsor is."
          },
          "product_or_service": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the ad promotes."
          },
          "timestamp": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Where the ad starts in the episode, in milliseconds, or `null`."
          },
          "ad_text": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the ad says, from the transcript."
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The URL the ad sends listeners to."
          },
          "promo_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "The promo code or offer in the ad."
          },
          "call_to_action": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the ad asks listeners to do."
          },
          "host_read": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether a host reads the ad, or `null` when we can't tell."
          }
        },
        "required": [
          "name",
          "description",
          "product_or_service",
          "timestamp",
          "ad_text",
          "url",
          "promo_code",
          "call_to_action",
          "host_read"
        ]
      },
      "Category": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The category's ID. Use it in the `categories` search filter."
          },
          "name": {
            "type": "string",
            "description": "The full name. A subcategory includes its parent, as in `Arts / Books`."
          },
          "short_name": {
            "type": "string",
            "description": "The name without the parent category, as in `Books`."
          },
          "slug": {
            "type": "string",
            "description": "The category's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings)."
          },
          "parent_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "The parent category's slug, or `null` for a top-level category."
          }
        },
        "required": [
          "id",
          "name",
          "short_name",
          "slug",
          "parent_slug"
        ]
      },
      "Contact": {
        "type": "object",
        "description": "An email address or a contact page.",
        "properties": {
          "medium": {
            "type": "string",
            "description": "Whether this is an email address or a web page, such as a contact form.",
            "enum": [
              "email",
              "page"
            ]
          },
          "full_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the person the contact belongs to, or `null`."
          },
          "email": {
            "type": "string",
            "description": "The email address. Email contacts only."
          },
          "url": {
            "type": "string",
            "description": "The page's URL. Page contacts only."
          },
          "role": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the contact is for, e.g. `Host`, `Sponsorships` or `Guest Suggestions`. A general contact page has the role `Contact Page`. Can be `null` for an email address."
          },
          "warning": {
            "type": "boolean",
            "description": "Whether the address is probably not a real inbox, e.g. a masked address that a podcast host puts in the RSS feed. Email contacts only."
          },
          "badges": {
            "type": "array",
            "description": "Labels for the contact. Most contacts have none.\n\n- `best`: The one contact we recommend you try first. Not every podcast has one.\n- `pitch_guests`: The best ways to pitch a guest to the show.\n- `pitch_sponsors`: The best ways to ask about advertising on the show.\n- `replies_to_pitches`: An email address where a real person has answered a pitch sent through Rephonic.",
            "items": {
              "type": "string",
              "enum": [
                "best",
                "pitch_guests",
                "pitch_sponsors",
                "replies_to_pitches"
              ]
            }
          },
          "upvotes": {
            "type": "integer",
            "description": "How many Rephonic users voted the address up. Email contacts only."
          },
          "downvotes": {
            "type": "integer",
            "description": "How many Rephonic users voted the address down. Email contacts only."
          },
          "verification_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "The result of our last check on whether email to the address gets delivered, or `null` if we haven't checked it. We leave out addresses we found to be invalid. Email contacts only.",
            "enum": [
              "valid",
              "catch-all",
              "risky",
              "unknown",
              null
            ]
          },
          "verified_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When we last checked the address, or `null`. Email contacts only.",
            "format": "date-time"
          },
          "person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactPerson"
              },
              {
                "type": "null"
              }
            ]
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Entity"
              },
              {
                "type": "null"
              }
            ],
            "description": "Set when the contact belongs to a company. Otherwise `null`."
          },
          "concierge": {
            "type": "boolean",
            "description": "Legacy. `true` for contacts our team manually verified. We no longer do this."
          }
        },
        "required": [
          "medium",
          "full_name",
          "role",
          "badges",
          "person",
          "entity",
          "concierge"
        ]
      },
      "ContactPerson": {
        "type": "object",
        "description": "Set when the contact belongs to one person, whose name and role are in `full_name` and `role`. Otherwise `null`.",
        "properties": {
          "kind": {
            "type": "string",
            "description": "The person's job on the show.",
            "enum": [
              "host",
              "producer",
              "exec-producer",
              "booker",
              "editor",
              "ad-sales",
              "crew"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short description of the person."
          }
        },
        "required": [
          "kind",
          "description"
        ]
      },
      "Country": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The country's name in English."
          },
          "id": {
            "type": "string",
            "description": "The two-letter country code, lowercase. Use it in the `locations` search filter."
          },
          "slug": {
            "type": "string",
            "description": "The country's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings)."
          }
        },
        "required": [
          "name",
          "id",
          "slug"
        ]
      },
      "CrossPromo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The podcast being promoted."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the promoted podcast is about."
          },
          "timestamp": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Where the promotion starts in the episode, in milliseconds, or `null`."
          }
        },
        "required": [
          "name",
          "description",
          "timestamp"
        ]
      },
      "Entity": {
        "type": "object",
        "description": "A company behind a podcast or a contact.",
        "properties": {
          "kind": {
            "type": "string",
            "description": "What kind of company it is.",
            "enum": [
              "production-company",
              "network",
              "ad-sales-agency",
              "talent-agency"
            ]
          },
          "name": {
            "type": "string",
            "description": "The company's name."
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The company's website."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short description of the company."
          }
        },
        "required": [
          "kind",
          "name",
          "url",
          "description"
        ]
      },
      "Episode": {
        "type": "object",
        "description": "An episode's full details.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The episode's Rephonic ID."
          },
          "title": {
            "type": "string",
            "description": "The episode's title."
          },
          "published": {
            "type": "string",
            "description": "When the episode was published.",
            "format": "date-time"
          },
          "audio_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`."
          },
          "guid": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's GUID from the RSS feed."
          },
          "itunes_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The episode's Apple Podcasts ID."
          },
          "duration": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How long the episode is, in seconds."
          },
          "transcribed": {
            "type": "boolean",
            "description": "Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's format.",
            "enum": [
              "monologue",
              "discussion",
              "interview",
              "storytelling",
              "scripted",
              "news",
              "review",
              "educational",
              "journalism",
              "documentary",
              "q_and_a",
              null
            ]
          },
          "evergreen": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is evergreen, meaning its content won't go out of date."
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is made to promote a company or organisation."
          },
          "popularity": {
            "type": [
              "number",
              "null"
            ],
            "description": "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": {
            "type": [
              "object",
              "null"
            ],
            "description": "The episode's political leaning, or `null` when it isn't political.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The leaning.",
                "enum": [
                  "left",
                  "center_left",
                  "center",
                  "center_right",
                  "right"
                ]
              },
              "explanation": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why we think so."
              }
            },
            "required": [
              "name",
              "explanation"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the episode, or `null` until we've analysed it."
          },
          "notes": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show notes from the RSS feed, as plain text."
          },
          "youtube_videos": {
            "type": "array",
            "description": "The YouTube videos we matched to the episode.",
            "items": {
              "$ref": "#/components/schemas/YoutubeVideo"
            }
          },
          "guests": {
            "type": "array",
            "description": "The guests on the episode.",
            "items": {
              "$ref": "#/components/schemas/Guest"
            }
          },
          "sponsors": {
            "type": "array",
            "description": "The sponsors heard in the episode.",
            "items": {
              "$ref": "#/components/schemas/AdRead"
            }
          },
          "topics": {
            "type": "array",
            "description": "What the episode talks about.",
            "items": {
              "$ref": "#/components/schemas/Topic"
            }
          },
          "hosts": {
            "type": "array",
            "description": "The hosts heard in the episode.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The host's name."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "A short description of the host."
                },
                "contacts": {
                  "type": "array",
                  "description": "Always empty. Get hosts' contacts from [hosts, guests and crew](https://rephonic.com/developers/docs/1.1/podcast-people).",
                  "items": {
                    "$ref": "#/components/schemas/PersonContact"
                  }
                },
                "social_accounts": {
                  "type": "array",
                  "description": "Always empty. Get hosts' social accounts from [hosts, guests and crew](https://rephonic.com/developers/docs/1.1/podcast-people).",
                  "items": {
                    "$ref": "#/components/schemas/SocialProfile"
                  }
                }
              },
              "required": [
                "name",
                "description",
                "contacts",
                "social_accounts"
              ]
            }
          },
          "credits": {
            "type": "array",
            "description": "People or companies that helped make the episode.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The person or company."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "What they did, e.g. `Editor`."
                },
                "affiliation": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The company or organisation they belong to."
                }
              },
              "required": [
                "name",
                "description",
                "affiliation"
              ]
            }
          },
          "cross_promos": {
            "type": "array",
            "description": "Other podcasts promoted in the episode.",
            "items": {
              "$ref": "#/components/schemas/CrossPromo"
            }
          },
          "key_moments": {
            "type": "array",
            "description": "Notable moments from the episode, with what was said and when.",
            "items": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string",
                  "description": "What was said."
                },
                "timestamp": {
                  "type": "integer",
                  "description": "Where it is in the episode, in milliseconds."
                }
              },
              "required": [
                "text",
                "timestamp"
              ]
            }
          },
          "questions": {
            "type": "array",
            "description": "Questions the hosts asked during the episode.",
            "items": {
              "type": "object",
              "properties": {
                "question": {
                  "type": "string",
                  "description": "The question."
                },
                "answer": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "A summary of the answer."
                },
                "timestamp": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Where the question is asked, in milliseconds."
                }
              },
              "required": [
                "question",
                "answer",
                "timestamp"
              ]
            }
          },
          "tone": {
            "type": "array",
            "description": "Two to five words that describe the tone, e.g. `conversational`. There is no fixed list.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "type": "array",
            "description": "Places mentioned in the episode.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The place, e.g. `San Diego, California, United States`."
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "safety_tags": {
            "type": "array",
            "description": "Brand safety tags for sensitive content in the episode. Empty when we found none.",
            "items": {
              "type": "string",
              "enum": [
                "adult_and_explicit_sexual_content",
                "arms_and_ammunition",
                "crime_and_harmful_acts",
                "death_injury_or_military_conflict",
                "online_piracy",
                "hate_speech_and_acts_of_aggression",
                "obscenity_and_profanity",
                "illegal_drugs_tobacco_ecigarettes_vaping_alcohol",
                "spam_or_harmful_content",
                "terrorism",
                "debated_sensitive_social_issue"
              ]
            }
          },
          "podcast": {
            "$ref": "#/components/schemas/PodcastSearchResult",
            "description": "The podcast the episode belongs to, with the same fields as a podcast search result."
          }
        },
        "required": [
          "id",
          "title",
          "published",
          "audio_url",
          "guid",
          "itunes_id",
          "duration",
          "transcribed",
          "type",
          "evergreen",
          "branded",
          "popularity",
          "political_leaning",
          "summary",
          "notes",
          "youtube_videos",
          "guests",
          "sponsors",
          "topics",
          "hosts",
          "credits",
          "cross_promos",
          "key_moments",
          "questions",
          "tone",
          "locations",
          "safety_tags",
          "podcast"
        ]
      },
      "EpisodeBase": {
        "type": "object",
        "description": "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.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The episode's Rephonic ID."
          },
          "title": {
            "type": "string",
            "description": "The episode's title."
          },
          "published": {
            "type": "string",
            "description": "When the episode was published.",
            "format": "date-time"
          },
          "audio_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`."
          },
          "guid": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's GUID from the RSS feed."
          },
          "itunes_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The episode's Apple Podcasts ID."
          },
          "duration": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How long the episode is, in seconds."
          },
          "transcribed": {
            "type": "boolean",
            "description": "Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's format.",
            "enum": [
              "monologue",
              "discussion",
              "interview",
              "storytelling",
              "scripted",
              "news",
              "review",
              "educational",
              "journalism",
              "documentary",
              "q_and_a",
              null
            ]
          },
          "evergreen": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is evergreen, meaning its content won't go out of date."
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is made to promote a company or organisation."
          },
          "popularity": {
            "type": [
              "number",
              "null"
            ],
            "description": "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": {
            "type": [
              "object",
              "null"
            ],
            "description": "The episode's political leaning, or `null` when it isn't political.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The leaning.",
                "enum": [
                  "left",
                  "center_left",
                  "center",
                  "center_right",
                  "right"
                ]
              },
              "explanation": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why we think so."
              }
            },
            "required": [
              "name",
              "explanation"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the episode, or `null` until we've analysed it."
          },
          "notes": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show notes from the RSS feed, as plain text."
          }
        },
        "required": [
          "id",
          "title",
          "published",
          "audio_url",
          "guid",
          "itunes_id",
          "duration",
          "transcribed",
          "type",
          "evergreen",
          "branded",
          "popularity",
          "political_leaning",
          "summary",
          "notes"
        ]
      },
      "EpisodeListItem": {
        "type": "object",
        "description": "An episode. We fill in `type`, `evergreen`, `branded`, `political_leaning` and `summary` once we analyse the episode, and they are `null` until then.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The episode's Rephonic ID."
          },
          "title": {
            "type": "string",
            "description": "The episode's title."
          },
          "published": {
            "type": "string",
            "description": "When the episode was published.",
            "format": "date-time"
          },
          "audio_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`."
          },
          "guid": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's GUID from the RSS feed."
          },
          "itunes_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The episode's Apple Podcasts ID."
          },
          "duration": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How long the episode is, in seconds."
          },
          "transcribed": {
            "type": "boolean",
            "description": "Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's format.",
            "enum": [
              "monologue",
              "discussion",
              "interview",
              "storytelling",
              "scripted",
              "news",
              "review",
              "educational",
              "journalism",
              "documentary",
              "q_and_a",
              null
            ]
          },
          "evergreen": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is evergreen, meaning its content won't go out of date."
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is made to promote a company or organisation."
          },
          "popularity": {
            "type": [
              "number",
              "null"
            ],
            "description": "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": {
            "type": [
              "object",
              "null"
            ],
            "description": "The episode's political leaning, or `null` when it isn't political.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The leaning.",
                "enum": [
                  "left",
                  "center_left",
                  "center",
                  "center_right",
                  "right"
                ]
              },
              "explanation": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why we think so."
              }
            },
            "required": [
              "name",
              "explanation"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the episode, or `null` until we've analysed it."
          },
          "notes": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show notes from the RSS feed, as plain text."
          },
          "youtube_videos": {
            "type": "array",
            "description": "The YouTube videos we matched to the episode.",
            "items": {
              "$ref": "#/components/schemas/YoutubeVideo"
            }
          },
          "guests": {
            "type": "array",
            "description": "The guests on the episode.",
            "items": {
              "$ref": "#/components/schemas/Guest"
            }
          },
          "sponsors": {
            "type": "array",
            "description": "The sponsors heard in the episode.",
            "items": {
              "$ref": "#/components/schemas/AdRead"
            }
          },
          "topics": {
            "type": "array",
            "description": "What the episode talks about.",
            "items": {
              "$ref": "#/components/schemas/Topic"
            }
          }
        },
        "required": [
          "id",
          "title",
          "published",
          "audio_url",
          "guid",
          "itunes_id",
          "duration",
          "transcribed",
          "type",
          "evergreen",
          "branded",
          "popularity",
          "political_leaning",
          "summary",
          "notes",
          "youtube_videos",
          "guests",
          "sponsors",
          "topics"
        ]
      },
      "EpisodeRef": {
        "type": "object",
        "description": "The episode this came from.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The episode's Rephonic ID."
          },
          "title": {
            "type": "string",
            "description": "The episode's title."
          },
          "published": {
            "type": "string",
            "description": "When the episode was published.",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "title",
          "published"
        ]
      },
      "EpisodeSearchResult": {
        "type": "object",
        "description": "An episode in search results, with a short version of its podcast.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The episode's Rephonic ID."
          },
          "title": {
            "type": "string",
            "description": "The episode's title."
          },
          "published": {
            "type": "string",
            "description": "When the episode was published.",
            "format": "date-time"
          },
          "audio_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The audio file, or `null` when Apple Podcasts hosts the audio, in which case use `itunes_id`."
          },
          "guid": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's GUID from the RSS feed."
          },
          "itunes_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The episode's Apple Podcasts ID."
          },
          "duration": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How long the episode is, in seconds."
          },
          "transcribed": {
            "type": "boolean",
            "description": "Whether we have a transcript. Get it from [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The episode's format.",
            "enum": [
              "monologue",
              "discussion",
              "interview",
              "storytelling",
              "scripted",
              "news",
              "review",
              "educational",
              "journalism",
              "documentary",
              "q_and_a",
              null
            ]
          },
          "evergreen": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is evergreen, meaning its content won't go out of date."
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the episode is made to promote a company or organisation."
          },
          "popularity": {
            "type": [
              "number",
              "null"
            ],
            "description": "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": {
            "type": [
              "object",
              "null"
            ],
            "description": "The episode's political leaning, or `null` when it isn't political.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The leaning.",
                "enum": [
                  "left",
                  "center_left",
                  "center",
                  "center_right",
                  "right"
                ]
              },
              "explanation": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why we think so."
              }
            },
            "required": [
              "name",
              "explanation"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the episode, or `null` until we've analysed it."
          },
          "notes": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show notes from the RSS feed, as plain text."
          },
          "podcast": {
            "$ref": "#/components/schemas/PodcastSummary",
            "description": "The podcast the episode belongs to."
          }
        },
        "required": [
          "id",
          "title",
          "published",
          "audio_url",
          "guid",
          "itunes_id",
          "duration",
          "transcribed",
          "type",
          "evergreen",
          "branded",
          "popularity",
          "political_leaning",
          "summary",
          "notes",
          "podcast"
        ]
      },
      "Error": {
        "type": "object",
        "description": "The body of every error response.",
        "properties": {
          "error": {
            "type": "string",
            "description": "What went wrong, in plain English."
          }
        },
        "required": [
          "error"
        ]
      },
      "Guest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The guest's name."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short description of the guest."
          },
          "affiliation": {
            "type": [
              "string",
              "null"
            ],
            "description": "The company, organisation or work the guest is known for."
          },
          "industry": {
            "type": [
              "string",
              "null"
            ],
            "description": "The guest's industry."
          },
          "purpose": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the guest was on the show, or `null`."
          },
          "alignment": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the guest suits the show's audience, or `null`."
          },
          "contacts": {
            "type": "array",
            "description": "The guest's email addresses and pages.",
            "items": {
              "$ref": "#/components/schemas/PersonContact"
            }
          },
          "social_accounts": {
            "type": "array",
            "description": "The guest's social media accounts.",
            "items": {
              "$ref": "#/components/schemas/SocialProfile"
            }
          }
        },
        "required": [
          "name",
          "description",
          "affiliation",
          "industry",
          "purpose",
          "alignment",
          "contacts",
          "social_accounts"
        ]
      },
      "GuestOutreach": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "pitchable": {
            "type": "boolean",
            "description": "`false` when the show has said it doesn't take guest pitches."
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short note on how to approach the show about guest pitches, or `null`."
          },
          "contacts": {
            "type": "array",
            "description": "The email addresses and pages to use, best first: the show's own contact for guest pitches if it has one, otherwise its general contacts. A show that doesn't take guest pitches still lists its general contacts.",
            "items": {
              "$ref": "#/components/schemas/OutreachContact"
            }
          }
        },
        "required": [
          "pitchable",
          "instructions",
          "contacts"
        ],
        "description": "How to pitch a guest to the show, or `null` when we have nothing for it."
      },
      "Link": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "What the link is.",
            "enum": [
              "website",
              "media-kit"
            ]
          },
          "url": {
            "type": "string",
            "description": "The URL."
          },
          "is_primary": {
            "type": "boolean",
            "description": "Whether it's the main link of its type."
          }
        },
        "required": [
          "type",
          "url",
          "is_primary"
        ]
      },
      "OutreachContact": {
        "type": "object",
        "description": "An email address or contact page, the same as on the contacts endpoint but without `upvotes` and `downvotes`.",
        "properties": {
          "medium": {
            "type": "string",
            "description": "Whether this is an email address or a web page, such as a contact form.",
            "enum": [
              "email",
              "page"
            ]
          },
          "full_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the person the contact belongs to, or `null`."
          },
          "email": {
            "type": "string",
            "description": "The email address. Email contacts only."
          },
          "url": {
            "type": "string",
            "description": "The page's URL. Page contacts only."
          },
          "role": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the contact is for, e.g. `Host`, `Sponsorships` or `Guest Suggestions`. A general contact page has the role `Contact Page`. Can be `null` for an email address."
          },
          "warning": {
            "type": "boolean",
            "description": "Whether the address is probably not a real inbox, e.g. a masked address that a podcast host puts in the RSS feed. Email contacts only."
          },
          "badges": {
            "type": "array",
            "description": "Labels for the contact. Most contacts have none.\n\n- `best`: The one contact we recommend you try first. Not every podcast has one.\n- `pitch_guests`: The best ways to pitch a guest to the show.\n- `pitch_sponsors`: The best ways to ask about advertising on the show.\n- `replies_to_pitches`: An email address where a real person has answered a pitch sent through Rephonic.",
            "items": {
              "type": "string",
              "enum": [
                "best",
                "pitch_guests",
                "pitch_sponsors",
                "replies_to_pitches"
              ]
            }
          },
          "verification_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "The result of our last check on whether email to the address gets delivered, or `null` if we haven't checked it. We leave out addresses we found to be invalid. Email contacts only.",
            "enum": [
              "valid",
              "catch-all",
              "risky",
              "unknown",
              null
            ]
          },
          "verified_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When we last checked the address, or `null`. Email contacts only.",
            "format": "date-time"
          },
          "person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactPerson"
              },
              {
                "type": "null"
              }
            ]
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Entity"
              },
              {
                "type": "null"
              }
            ],
            "description": "Set when the contact belongs to a company. Otherwise `null`."
          },
          "concierge": {
            "type": "boolean",
            "description": "Legacy. `true` for contacts our team manually verified. We no longer do this."
          }
        },
        "required": [
          "medium",
          "full_name",
          "role",
          "badges",
          "person",
          "entity",
          "concierge"
        ]
      },
      "Person": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The person's name."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short description of the person."
          },
          "contacts": {
            "type": "array",
            "description": "The person's email addresses and pages.",
            "items": {
              "$ref": "#/components/schemas/PersonContact"
            }
          },
          "social_accounts": {
            "type": "array",
            "description": "The person's social media accounts.",
            "items": {
              "$ref": "#/components/schemas/SocialProfile"
            }
          },
          "role": {
            "type": [
              "string",
              "null"
            ],
            "description": "A label for their role, such as `Executive Producer`."
          },
          "kind": {
            "type": "string",
            "description": "Their job on the show. Hosts have `host`.",
            "enum": [
              "host",
              "producer",
              "exec-producer",
              "booker",
              "editor",
              "ad-sales",
              "crew"
            ]
          },
          "is_lead": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the person is one of the show's main hosts today. When several hosts take turns and none of them leads, they all have `true`. Former hosts have `false`.\n\nCrew have `null`, and so do hosts when we don't know yet which of them leads the show."
          }
        },
        "required": [
          "name",
          "description",
          "contacts",
          "social_accounts",
          "role",
          "kind",
          "is_lead"
        ]
      },
      "PersonContact": {
        "type": "object",
        "properties": {
          "medium": {
            "type": "string",
            "description": "Whether this is an email address or a web page.",
            "enum": [
              "email",
              "page"
            ]
          },
          "value": {
            "type": "string",
            "description": "The email address or the page's URL."
          },
          "role": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the contact is for, e.g. `Website` or `Producer`."
          },
          "verification_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "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.",
            "enum": [
              "valid",
              "catch-all",
              "risky",
              "unknown",
              null
            ]
          },
          "verified_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When we last checked the address, or `null`.",
            "format": "date-time"
          }
        },
        "required": [
          "medium",
          "value",
          "role",
          "verification_status",
          "verified_at"
        ]
      },
      "Podcast": {
        "type": "object",
        "description": "A podcast's full details. Only [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast) returns all of it. Search and lookup results leave out `subscribers`, `latest_episode`, `topics`, `political_leaning`, `youtube` and `similar`, and have `null` in `badges`, `entities` and `links`, and in `profile` and `outreach` under `guests` and `sponsors`.",
        "properties": {
          "badges": {
            "type": "array",
            "description": "Labels for the podcast. The label `frequently_pitched` means Rephonic users pitch the show often, and `guests_booked` means they have landed guest spots on it. Can be empty.",
            "items": {
              "type": "string",
              "enum": [
                "frequently_pitched",
                "guests_booked"
              ]
            }
          },
          "id": {
            "type": "string",
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Pass it to the other endpoints."
          },
          "publisher": {
            "$ref": "#/components/schemas/Publisher"
          },
          "founded": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the show started, taken from its Apple Podcasts listing.",
            "format": "date-time"
          },
          "added": {
            "type": "string",
            "description": "When Rephonic added the show.",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "description": "The podcast's name."
          },
          "short_name": {
            "type": "string",
            "description": "The name without subtitles, host credits or \"presents\" prefixes. \"This Past Weekend w/ Theo Von\" becomes \"This Past Weekend\". The same as `name` when there's nothing to remove."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's own description, from its RSS feed or Apple Podcasts, as plain text."
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the show, or `null` until we've analysed it."
          },
          "artwork_url": {
            "type": "string",
            "description": "The cover art, 600 by 600 pixels."
          },
          "artwork_thumbnail_url": {
            "type": "string",
            "description": "The cover art, 70 by 70 pixels."
          },
          "feed_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's RSS feed."
          },
          "itunes_id": {
            "type": "integer",
            "description": "The podcast's Apple Podcasts ID."
          },
          "language": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's language code, e.g. `en`. Use it in the `languages` search filter."
          },
          "sponsors": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show takes sponsors, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              },
              "profile": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The kind of sponsors the show runs, or `null` when we have no description."
              },
              "outreach": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SponsorOutreach"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "accepted",
              "profile",
              "outreach"
            ]
          },
          "cross_promos": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to do cross-promotions with other podcasts, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "guests": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to take guests, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              },
              "profile": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The kind of guests the show usually has, or `null` when we have no description."
              },
              "outreach": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GuestOutreach"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "accepted",
              "profile",
              "outreach"
            ]
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether we think it's a corporate podcast, made to promote a company or organisation."
          },
          "active": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the show published an episode in the last 60 days."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether the show has gone from the Apple Podcasts directory."
          },
          "genres": {
            "type": "array",
            "description": "The Apple Podcasts categories the show is in, main category first.",
            "items": {
              "type": "string"
            }
          },
          "num_episodes": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many episodes the show has published."
          },
          "num_ratings": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many star ratings the show has, added up across Apple Podcasts (every country), Spotify and Podchaser."
          },
          "frequency": {
            "type": [
              "string",
              "null"
            ],
            "description": "How often the show publishes, from the average gap between its episodes.",
            "enum": [
              "daily",
              "twiceweekly",
              "weekly",
              "twicemonthly",
              "monthly",
              "infrequently",
              null
            ]
          },
          "social_reach": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The total followers across the show's social media accounts, plus its Patreon patrons. See [social accounts](https://rephonic.com/developers/docs/1.1/social-accounts)."
          },
          "engagement": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How engaged the show's listeners are, from 0 to 100. We look at the growth in new listener reviews and ratings over the past 180 days. A score of 90 or more means listeners are highly engaged, and 70 or more moderately engaged. It's `null` for inactive shows and when we don't have enough data."
          },
          "identifiers": {
            "type": "object",
            "description": "The show's ID in each podcast app. An ID is `null` when we haven't found the show in that app.",
            "properties": {
              "itunes": {
                "type": "integer",
                "description": "The Apple Podcasts ID."
              },
              "apple": {
                "type": "integer",
                "description": "The Apple Podcasts ID, the same as `itunes`."
              },
              "spotify": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Spotify show ID."
              },
              "castbox": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Castbox channel ID."
              },
              "podchaser": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podchaser ID."
              },
              "tpa": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podcast App ID."
              },
              "podaddict": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podcast Addict ID."
              },
              "playerfm": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Player FM ID."
              },
              "tunein": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The TuneIn ID, like `p1608844`."
              },
              "podbean": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Podbean ID."
              },
              "audible": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Audible ASIN."
              },
              "podrepublic": {
                "type": "integer",
                "description": "The Podcast Republic ID."
              },
              "goodpods": {
                "type": "integer",
                "description": "The Goodpods ID."
              }
            },
            "required": [
              "itunes",
              "apple",
              "spotify",
              "castbox",
              "podchaser",
              "tpa",
              "podaddict",
              "playerfm",
              "tunein",
              "podbean",
              "audible",
              "podrepublic",
              "goodpods"
            ]
          },
          "publishing_model": {
            "type": "object",
            "properties": {
              "apple": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Whether the show's episodes on Apple Podcasts are free (`free`), a mix of free and paid (`hybrid`) or all paid (`paid`). It's `null` when we don't know.",
                "enum": [
                  "free",
                  "hybrid",
                  "paid",
                  null
                ]
              }
            },
            "required": [
              "apple"
            ]
          },
          "verified": {
            "type": "boolean",
            "description": "Whether `downloads_per_episode` and `weekly_downloads` are measured by [OP3](https://op3.dev), an open podcast analytics service, instead of estimated by us."
          },
          "weekly_downloads": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per week. See `downloads_per_episode`."
          },
          "downloads_per_episode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per episode, based on public data. It doesn't include YouTube views. It's `null` when we don't have a reliable estimate, which is usual for shows that aren't active."
          },
          "entities": {
            "type": "array",
            "description": "The companies behind the show, such as its network or production company. Empty when we don't know of any.",
            "items": {
              "$ref": "#/components/schemas/Entity"
            }
          },
          "links": {
            "type": "array",
            "description": "The show's website and media kit. We include the website whenever we know it.",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          },
          "subscribers": {
            "type": "object",
            "description": "Subscriber or follower counts from the podcast apps that make them public. Apple Podcasts doesn't, so it isn't here. A count is `null` when we don't have one.",
            "properties": {
              "spotify": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Spotify followers."
              },
              "castbox": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Castbox subscribers."
              },
              "tpa": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podcast App listeners."
              },
              "tunein": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "TuneIn followers."
              },
              "podbean": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Podbean followers."
              },
              "podaddict": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Podcast Addict subscribers."
              },
              "playerfm": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Player FM subscribers."
              },
              "podrepublic": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Podcast Republic subscribers."
              }
            },
            "required": [
              "spotify",
              "castbox",
              "tpa",
              "tunein",
              "podbean",
              "podaddict",
              "playerfm",
              "podrepublic"
            ]
          },
          "latest_episode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EpisodeListItem"
              },
              {
                "type": "null"
              }
            ],
            "description": "The show's newest episode, or `null` if it has none."
          },
          "topics": {
            "type": "array",
            "description": "What the show talks about most, from its recent episodes. Up to 25, with the top topic's `weight` at 1 and the others relative to it.",
            "items": {
              "$ref": "#/components/schemas/Topic"
            }
          },
          "political_leaning": {
            "type": [
              "object",
              "null"
            ],
            "description": "The show's political leaning, or `null` when it isn't political.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The leaning.",
                "enum": [
                  "left",
                  "center_left",
                  "center",
                  "center_right",
                  "right"
                ]
              },
              "explanation": {
                "type": "string",
                "description": "Why we think so. Can be an empty string."
              }
            },
            "required": [
              "name",
              "explanation"
            ]
          },
          "youtube": {
            "type": [
              "object",
              "null"
            ],
            "description": "The show's YouTube channel, or `null` when we haven't matched one.",
            "properties": {
              "channel": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The YouTube channel ID."
                  },
                  "url": {
                    "type": "string",
                    "description": "The channel on YouTube."
                  },
                  "name": {
                    "type": "string",
                    "description": "The channel's name."
                  },
                  "handle": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The channel's handle, without the @."
                  },
                  "num_videos": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "How many videos the channel has."
                  },
                  "num_subscribers": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "How many subscribers the channel has."
                  },
                  "num_views": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "Total views across the channel."
                  },
                  "founded": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When the channel was created.",
                    "format": "date"
                  },
                  "thumbnail_url": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The channel's profile image."
                  }
                },
                "required": [
                  "id",
                  "url",
                  "name",
                  "handle",
                  "num_videos",
                  "num_subscribers",
                  "num_views",
                  "founded",
                  "thumbnail_url"
                ]
              },
              "playlist": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "The YouTube playlist the show's episodes go in, or `null`.",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The YouTube playlist ID."
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The playlist's name."
                  },
                  "description": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The playlist's description."
                  },
                  "num_videos": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "How many videos the playlist has."
                  },
                  "videos": {
                    "type": "array",
                    "description": "Up to 5 videos that match episodes from the last 60 days, newest first. Each has the matching episode in `episode`.",
                    "items": {
                      "$ref": "#/components/schemas/YoutubeVideo"
                    }
                  }
                },
                "required": [
                  "id",
                  "name",
                  "description",
                  "num_videos",
                  "videos"
                ]
              }
            },
            "required": [
              "channel",
              "playlist"
            ]
          },
          "similar": {
            "type": "array",
            "description": "Podcasts whose listeners also listen to this one, most similar first.",
            "items": {
              "$ref": "#/components/schemas/SimilarPodcast"
            }
          }
        },
        "required": [
          "id",
          "publisher",
          "founded",
          "added",
          "name",
          "short_name",
          "description",
          "summary",
          "artwork_url",
          "artwork_thumbnail_url",
          "feed_url",
          "itunes_id",
          "language",
          "cross_promos",
          "branded",
          "active",
          "deleted",
          "genres",
          "num_episodes",
          "num_ratings",
          "frequency",
          "social_reach",
          "engagement",
          "identifiers",
          "publishing_model",
          "verified",
          "weekly_downloads",
          "downloads_per_episode",
          "badges",
          "sponsors",
          "guests",
          "entities",
          "links",
          "subscribers",
          "latest_episode",
          "topics",
          "political_leaning",
          "youtube",
          "similar"
        ]
      },
      "PodcastSearchResult": {
        "type": "object",
        "description": "A podcast in search and lookup results. It has the fields of the full podcast object except `subscribers`, `latest_episode`, `topics`, `political_leaning`, `youtube` and `similar`.",
        "properties": {
          "badges": {
            "type": [
              "array",
              "null"
            ],
            "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast).",
            "items": {
              "type": "string"
            }
          },
          "id": {
            "type": "string",
            "description": "The podcast's Rephonic ID, e.g. `huberman-lab`. Pass it to the other endpoints."
          },
          "publisher": {
            "$ref": "#/components/schemas/Publisher"
          },
          "founded": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the show started, taken from its Apple Podcasts listing.",
            "format": "date-time"
          },
          "added": {
            "type": "string",
            "description": "When Rephonic added the show.",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "description": "The podcast's name."
          },
          "short_name": {
            "type": "string",
            "description": "The name without subtitles, host credits or \"presents\" prefixes. \"This Past Weekend w/ Theo Von\" becomes \"This Past Weekend\". The same as `name` when there's nothing to remove."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's own description, from its RSS feed or Apple Podcasts, as plain text."
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Our short summary of the show, or `null` until we've analysed it."
          },
          "artwork_url": {
            "type": "string",
            "description": "The cover art, 600 by 600 pixels."
          },
          "artwork_thumbnail_url": {
            "type": "string",
            "description": "The cover art, 70 by 70 pixels."
          },
          "feed_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's RSS feed."
          },
          "itunes_id": {
            "type": "integer",
            "description": "The podcast's Apple Podcasts ID."
          },
          "language": {
            "type": [
              "string",
              "null"
            ],
            "description": "The show's language code, e.g. `en`. Use it in the `languages` search filter."
          },
          "sponsors": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show takes sponsors, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              },
              "profile": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
              },
              "outreach": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
              }
            },
            "required": [
              "accepted",
              "profile",
              "outreach"
            ]
          },
          "cross_promos": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to do cross-promotions with other podcasts, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "guests": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to take guests, judging by its recent episodes. It's `null` when we haven't analysed the show yet."
              },
              "profile": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
              },
              "outreach": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
              }
            },
            "required": [
              "accepted",
              "profile",
              "outreach"
            ]
          },
          "branded": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether we think it's a corporate podcast, made to promote a company or organisation."
          },
          "active": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the show published an episode in the last 60 days."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether the show has gone from the Apple Podcasts directory."
          },
          "genres": {
            "type": "array",
            "description": "The Apple Podcasts categories the show is in, main category first.",
            "items": {
              "type": "string"
            }
          },
          "num_episodes": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many episodes the show has published."
          },
          "num_ratings": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many star ratings the show has, added up across Apple Podcasts (every country), Spotify and Podchaser."
          },
          "frequency": {
            "type": [
              "string",
              "null"
            ],
            "description": "How often the show publishes, from the average gap between its episodes.",
            "enum": [
              "daily",
              "twiceweekly",
              "weekly",
              "twicemonthly",
              "monthly",
              "infrequently",
              null
            ]
          },
          "social_reach": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The total followers across the show's social media accounts, plus its Patreon patrons. See [social accounts](https://rephonic.com/developers/docs/1.1/social-accounts)."
          },
          "engagement": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How engaged the show's listeners are, from 0 to 100. We look at the growth in new listener reviews and ratings over the past 180 days. A score of 90 or more means listeners are highly engaged, and 70 or more moderately engaged. It's `null` for inactive shows and when we don't have enough data."
          },
          "identifiers": {
            "type": "object",
            "description": "The show's ID in each podcast app. An ID is `null` when we haven't found the show in that app.",
            "properties": {
              "itunes": {
                "type": "integer",
                "description": "The Apple Podcasts ID."
              },
              "apple": {
                "type": "integer",
                "description": "The Apple Podcasts ID, the same as `itunes`."
              },
              "spotify": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Spotify show ID."
              },
              "castbox": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Castbox channel ID."
              },
              "podchaser": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podchaser ID."
              },
              "tpa": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podcast App ID."
              },
              "podaddict": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Podcast Addict ID."
              },
              "playerfm": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The Player FM ID."
              },
              "tunein": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The TuneIn ID, like `p1608844`."
              },
              "podbean": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Podbean ID."
              },
              "audible": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The Audible ASIN."
              },
              "podrepublic": {
                "type": "integer",
                "description": "The Podcast Republic ID."
              },
              "goodpods": {
                "type": "integer",
                "description": "The Goodpods ID."
              }
            },
            "required": [
              "itunes",
              "apple",
              "spotify",
              "castbox",
              "podchaser",
              "tpa",
              "podaddict",
              "playerfm",
              "tunein",
              "podbean",
              "audible",
              "podrepublic",
              "goodpods"
            ]
          },
          "publishing_model": {
            "type": "object",
            "properties": {
              "apple": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Whether the show's episodes on Apple Podcasts are free (`free`), a mix of free and paid (`hybrid`) or all paid (`paid`). It's `null` when we don't know.",
                "enum": [
                  "free",
                  "hybrid",
                  "paid",
                  null
                ]
              }
            },
            "required": [
              "apple"
            ]
          },
          "verified": {
            "type": "boolean",
            "description": "Whether `downloads_per_episode` and `weekly_downloads` are measured by [OP3](https://op3.dev), an open podcast analytics service, instead of estimated by us."
          },
          "weekly_downloads": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per week. See `downloads_per_episode`."
          },
          "downloads_per_episode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per episode, based on public data. It doesn't include YouTube views. It's `null` when we don't have a reliable estimate, which is usual for shows that aren't active."
          },
          "entities": {
            "type": [
              "array",
              "null"
            ],
            "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
          },
          "links": {
            "type": [
              "array",
              "null"
            ],
            "description": "Always `null` here. See [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast)."
          }
        },
        "required": [
          "badges",
          "id",
          "publisher",
          "founded",
          "added",
          "name",
          "short_name",
          "description",
          "summary",
          "artwork_url",
          "artwork_thumbnail_url",
          "feed_url",
          "itunes_id",
          "language",
          "sponsors",
          "cross_promos",
          "guests",
          "branded",
          "active",
          "deleted",
          "genres",
          "num_episodes",
          "num_ratings",
          "frequency",
          "social_reach",
          "engagement",
          "identifiers",
          "publishing_model",
          "verified",
          "weekly_downloads",
          "downloads_per_episode",
          "entities",
          "links"
        ]
      },
      "PodcastSummary": {
        "type": "object",
        "description": "The short version of a podcast that appears inside other results. Pass its `id` to [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast) for the rest.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The podcast's Rephonic ID."
          },
          "name": {
            "type": "string",
            "description": "The podcast's name."
          },
          "itunes_id": {
            "type": "integer",
            "description": "The podcast's Apple Podcasts ID."
          },
          "publisher": {
            "$ref": "#/components/schemas/Publisher"
          },
          "genres": {
            "type": "array",
            "description": "The Apple Podcasts categories the show is in, main category first.",
            "items": {
              "type": "string"
            }
          },
          "artwork_url": {
            "type": "string",
            "description": "The cover art, 600 by 600 pixels."
          },
          "artwork_thumbnail_url": {
            "type": "string",
            "description": "The cover art, 70 by 70 pixels."
          },
          "active": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the show published an episode in the last 60 days."
          },
          "sponsors": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show takes sponsors. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "guests": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to take guests. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "weekly_downloads": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per week. See `downloads_per_episode`. Left out of transcript results."
          },
          "downloads_per_episode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per episode, based on public data. It doesn't include YouTube views. It's `null` when we don't have a reliable estimate, which is usual for shows that aren't active. Left out of transcript results."
          }
        },
        "required": [
          "id",
          "name",
          "itunes_id",
          "publisher",
          "genres",
          "artwork_url",
          "artwork_thumbnail_url",
          "active",
          "sponsors",
          "guests"
        ]
      },
      "Publisher": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The publisher's Rephonic ID."
          },
          "name": {
            "type": "string",
            "description": "The publisher's name."
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "SimilarPodcast": {
        "type": "object",
        "description": "A podcast that shares listeners with this one. Pass its `id` to [get a podcast](https://rephonic.com/developers/docs/1.1/get-podcast) for the rest.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The podcast's Rephonic ID."
          },
          "name": {
            "type": "string",
            "description": "The podcast's name."
          },
          "itunes_id": {
            "type": "integer",
            "description": "The podcast's Apple Podcasts ID."
          },
          "publisher": {
            "$ref": "#/components/schemas/Publisher"
          },
          "genres": {
            "type": "array",
            "description": "The Apple Podcasts categories the show is in, main category first.",
            "items": {
              "type": "string"
            }
          },
          "artwork_url": {
            "type": "string",
            "description": "The cover art, 600 by 600 pixels."
          },
          "artwork_thumbnail_url": {
            "type": "string",
            "description": "The cover art, 70 by 70 pixels."
          },
          "active": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the show published an episode in the last 60 days."
          },
          "sponsors": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show takes sponsors. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "guests": {
            "type": "object",
            "properties": {
              "accepted": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether the show is likely to take guests. It's `null` when we haven't analysed the show yet."
              }
            },
            "required": [
              "accepted"
            ]
          },
          "weekly_downloads": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per week. See `downloads_per_episode`."
          },
          "downloads_per_episode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Our estimate of listeners per episode, based on public data. It doesn't include YouTube views. It's `null` when we don't have a reliable estimate, which is usual for shows that aren't active."
          },
          "position": {
            "type": "integer",
            "description": "Its place in the list, starting at 1 for the most similar."
          }
        },
        "required": [
          "id",
          "name",
          "itunes_id",
          "publisher",
          "genres",
          "artwork_url",
          "artwork_thumbnail_url",
          "active",
          "sponsors",
          "guests",
          "weekly_downloads",
          "downloads_per_episode",
          "position"
        ]
      },
      "SocialProfile": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "string",
            "description": "The social network.",
            "examples": [
              "instagram",
              "facebook",
              "twitter",
              "patreon",
              "soundcloud",
              "pinterest",
              "linkedin_profile",
              "linkedin_group",
              "tiktok"
            ]
          },
          "identifier": {
            "type": "string",
            "description": "The account's handle or ID on that network."
          },
          "url": {
            "type": "string",
            "description": "The account's URL."
          }
        },
        "required": [
          "channel",
          "identifier",
          "url"
        ]
      },
      "SponsorOutreach": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "pitchable": {
            "type": "boolean",
            "description": "`false` when the show has said it doesn't take advertising."
          },
          "instructions": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short note on how to approach the show about advertising, or `null`."
          },
          "contacts": {
            "type": "array",
            "description": "The email addresses and pages to use, best first. Empty when the show doesn't take advertising.",
            "items": {
              "$ref": "#/components/schemas/OutreachContact"
            }
          }
        },
        "required": [
          "pitchable",
          "instructions",
          "contacts"
        ],
        "description": "How to ask about advertising on the show, or `null` when we found no way to."
      },
      "Topic": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The topic, e.g. `Sleep` or `Andrew Huberman`."
          },
          "type": {
            "type": "string",
            "description": "What kind of thing the topic is.",
            "enum": [
              "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": {
            "type": "number",
            "description": "How prominent the topic is, from 0 to 1."
          }
        },
        "required": [
          "name",
          "type",
          "weight"
        ]
      },
      "YoutubeVideo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The YouTube video ID."
          },
          "title": {
            "type": "string",
            "description": "The video's title."
          },
          "num_views": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many times the video has been viewed. Always `null` in [episode transcript](https://rephonic.com/developers/docs/1.1/episode-transcript)."
          },
          "duration": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How long the video is, in seconds."
          },
          "thumbnail_url": {
            "type": "string",
            "description": "The video's thumbnail image."
          },
          "url": {
            "type": "string",
            "description": "The video on YouTube."
          },
          "episode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EpisodeBase"
              },
              {
                "type": "null"
              }
            ],
            "description": "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."
          }
        },
        "required": [
          "id",
          "title",
          "num_views",
          "duration",
          "thumbnail_url",
          "url",
          "episode"
        ]
      }
    }
  }
}
