{"openapi":"3.1.0","info":{"title":"Podcast API - Search, Episodes & AI Summaries","description":"Search podcasts and episodes, read any podcast's RSS feed as clean JSON (episodes, audio, show notes, chapters) and get AI summaries or transcripts.","version":"v1"},"servers":[{"url":"https://podcast-api-search-episodes-ai-summaries.p.rapidapi.com","description":"RapidAPI"}],"paths":{"/v1/podcasts/search":{"get":{"tags":["Search"],"summary":"Search podcasts by keyword","description":"Podcasts matching the keywords in the Apple Podcasts directory (2.5M+\nshows): title, author, RSS feed URL, cover art, genres, episode count and\ndate of the latest episode. Pass `feed_url` or `apple_id` to the episode\nendpoints. 1 credit.","operationId":"searchPodcasts","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Keywords: a show name, a topic, a person.","examples":["artificial intelligence"],"title":"Q"},"description":"Keywords: a show name, a topic, a person."},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":2,"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...).","examples":["us"],"default":"us","title":"Country"},"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...)."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Results, 1-50.","default":20,"title":"Limit"},"description":"Results, 1-50."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastSearchResponse"},"examples":{"Search Podcasts":{"summary":"Search Podcasts","value":{"country":"us","results":[{"apple_id":290783428,"title":"Planet Money","author":"NPR","feed_url":"https://feeds.npr.org/510289/podcast.xml","genres":["Business"],"episode_count":650,"latest_episode":"2026-11-21"}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Search Podcasts"}},"/v1/podcasts/search/episodes":{"get":{"tags":["Search"],"summary":"Search episodes across every podcast","description":"Episodes whose title or description match the keywords, across every\npodcast of the Apple Podcasts directory: title, podcast, date, duration,\naudio URL, GUID and feed. Find every interview of a person or every episode\non a topic. 1 credit.","operationId":"searchEpisodes","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Keywords: a show name, a topic, a person.","examples":["artificial intelligence"],"title":"Q"},"description":"Keywords: a show name, a topic, a person."},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":2,"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...).","examples":["us"],"default":"us","title":"Country"},"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...)."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Results, 1-50.","default":20,"title":"Limit"},"description":"Results, 1-50."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeSearchResponse"},"examples":{"Search Episodes":{"summary":"Search Episodes","value":{"results":[{"apple_episode_id":1000786914684,"published":"2026-11-23T13:00:00Z","duration_seconds":1830}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Search Episodes"}},"/v1/podcasts/top":{"get":{"tags":["Search"],"summary":"Top podcasts chart of a country, by genre","description":"Apple Podcasts' top chart of a country, overall or for one genre, with\neach show's RSS feed, author, genres and episode count. 1 credit.","operationId":"getTopPodcasts","parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":2,"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...).","examples":["us"],"default":"us","title":"Country"},"description":"Apple Podcasts store, 2-letter country code (us, gb, fr, de...)."},{"name":"genre","in":"query","required":false,"schema":{"enum":["arts","business","comedy","education","fiction","government","history","health-fitness","kids-family","leisure","music","news","religion-spirituality","science","society-culture","sports","technology","true-crime","tv-film"],"type":"string","description":"Chart of one genre; all genres by default.","title":"Genre"},"description":"Chart of one genre; all genres by default."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Podcasts, 1-100.","default":25,"title":"Limit"},"description":"Podcasts, 1-100."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastSearchResponse"},"examples":{"Get Top Podcasts":{"summary":"Get Top Podcasts","value":{"country":"us","results":[{"apple_id":290783428,"title":"Planet Money","author":"NPR","feed_url":"https://feeds.npr.org/510289/podcast.xml","genres":["Business"],"episode_count":650,"latest_episode":"2026-11-21"}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Top Podcasts"}},"/v1/podcasts/episodes":{"get":{"tags":["Episodes"],"summary":"A podcast and its episodes, from its RSS feed","description":"List a podcast's episodes from its RSS feed, Apple Podcasts link or\nApple ID: the show's details, then episodes newest first with title, date,\nduration, audio file, numbers, show notes and published transcripts.\n1 credit.","operationId":"getPodcastEpisodes","parameters":[{"name":"feed","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048,"description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID.","examples":["https://feeds.npr.org/510289/podcast.xml"],"title":"Feed"},"description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Episodes, 1-200.","default":20,"title":"Limit"},"description":"Episodes, 1-200."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"description":"Episodes to skip (paging).","default":0,"title":"Offset"},"description":"Episodes to skip (paging)."},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date","description":"Only episodes published on or after this date (YYYY-MM-DD).","examples":["2026-01-01"],"title":"Since"},"description":"Only episodes published on or after this date (YYYY-MM-DD)."},{"name":"notes","in":"query","required":false,"schema":{"type":"boolean","description":"Full show notes, links and chapters of each episode (else a 300-character description).","default":false,"title":"Notes"},"description":"Full show notes, links and chapters of each episode (else a 300-character description)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedResponse"},"examples":{"Get Podcast Episodes":{"summary":"Get Podcast Episodes","value":{"show":{"title":"Planet Money","author":"NPR","language":"en","categories":["Business"],"type":"episodic","funding":[{}],"persons":[{"role":"host"}]},"episode_count":650,"offset":0,"episodes":[{"published":"2026-11-21T00:00:00Z","duration_seconds":1830,"audio":{"type":"audio/mpeg"},"episode_type":"full","links":[{}],"chapters":[{"start_seconds":754.0,"start":"00:12:34","title":"Why prices went up"}],"chapters_source":"podcast:chapters","transcripts":[{"type":"text/vtt"}],"persons":[{"role":"host"}]}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Nothing found for this identifier. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Podcast Episodes"}},"/v1/podcasts/episode":{"get":{"tags":["Episodes"],"summary":"One episode with full show notes, links and chapters","description":"Get one episode in full: show notes as clean text, every link in them\nand timestamped chapters. An Apple Podcasts episode link in `feed` picks\nthat episode. 404 `episode_not_found` (not billed) when nothing matches.\n1 credit.","operationId":"getEpisode","parameters":[{"name":"feed","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048,"description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID.","examples":["https://feeds.npr.org/510289/podcast.xml"],"title":"Feed"},"description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID."},{"name":"episode","in":"query","required":false,"schema":{"type":"string","maxLength":500,"description":"Which episode: GUID, audio URL, title (or part of it), episode number, or 'latest'.","examples":["latest"],"default":"latest","title":"Episode"},"description":"Which episode: GUID, audio URL, title (or part of it), episode number, or 'latest'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeResponse"},"examples":{"Get Episode":{"summary":"Get Episode","value":{"episode":{"published":"2026-11-21T00:00:00Z","duration_seconds":1830,"audio":{"type":"audio/mpeg"},"episode_type":"full","links":[{}],"chapters":[{"start_seconds":754.0,"start":"00:12:34","title":"Why prices went up"}],"chapters_source":"podcast:chapters","transcripts":[{"type":"text/vtt"}],"persons":[{"role":"host"}]}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Nothing found for this identifier. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Episode"}},"/v1/podcasts/episode/summary":{"post":{"tags":["AI"],"summary":"AI summary of an episode from its show notes","description":"Summarize an episode from its show notes in seconds: key points,\ntopics, guests, books and tools mentioned, sponsors and format. 400\n`notes_too_short` (not billed) when the notes are too thin: use Transcribe\nEpisode with `summary: true` instead. 10 credits.","operationId":"summarizeEpisode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeRequest"},"examples":{"Summarize Episode":{"summary":"Summarize Episode","value":{"feed":"https://feeds.npr.org/510289/podcast.xml","episode":"latest"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryResponse"},"examples":{"Summarize Episode":{"summary":"Summarize Episode (real response)","value":{"feed_url":"https://feeds.npr.org/510289/podcast.xml","podcast":"Planet Money","episode":{"guid":"1fc9b921-fb6f-4af6-88fa-a8bc420fd5fc","title":"You Can Seize Everything (The U.S. is reviving pirate law)","published":"2026-11-20T22:00:00Z","duration_seconds":1475,"audio":{"url":"https://tracking.swap.fm/track/XvDEoI11TR00olTUO8US/prfx.byspotify.com/e/play.podtrac.com/npr-510289/npr.simplecastaudio.com/.../default.mp3","type":"audio/mpeg","bytes":23613527},"episode_type":"full","explicit":false,"link":"https://www.npr.org/2026/11/20/nx-s1-6049085/iran-oil-tanker-prize-law-court","description":"The U.S. is working on bringing back the ancient maritime practice of prize law — which allowed for privateers, or more recently, navies, to seize enemy-linked ships, and quickly sell them off.\n\nWhy? Well, the U.S. has been seizing lots of big boats — oil tankers linked to Iran and Venezuela — in…"},"source":"show notes","summary":{"summary":"This episode explores the U.S. government's revival of ancient maritime prize law to manage the seizure of oil tankers linked to Iran and Venezuela. By utilizing these historical legal frameworks, the government aims to expedite the sale of seized vessels and their cargo to avoid the high maintenance costs associated with long-term ownership of these ships.","key_points":["The U.S. is reviving the practice of prize law to handle seized assets.","Prize law historically allowed for the seizure and quick sale of enemy-linked ships.","The Pentagon is currently seizing oil tankers to disrupt illicit networks.","Maintaining seized vessels is extremely expensive for the government.","Selling seized tankers and their cargo quickly helps mitigate ongoing maintenance costs.","A federal judge has been tasked with establishing a modern-day prize court."],"topics":["Maritime Law","Prize Law","Economics","International Relations","Oil Trade","Government Policy"],"guests":[],"resources":["Planet Money: A Guide to the Economic Forces That Shape Your Life"],"sponsors":[],"format":"narrative"}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Nothing found for this identifier. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Summarize Episode"}},"/v1/podcasts/episode/transcribe":{"post":{"tags":["AI"],"summary":"Transcribe an episode's audio, with an optional AI summary","description":"Transcribe an episode's audio verbatim with timestamps; optional\nspeakers, SRT/VTT and AI summary with chapters. Up to 90 minutes (longer:\n400 `media_too_long`, not billed). 5 credits per started minute, +2 per\nminute with speakers, +1 per minute with the summary.","operationId":"transcribeEpisode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscribeEpisodeRequest"},"examples":{"Transcribe Episode":{"summary":"Transcribe Episode","value":{"feed":"https://feeds.npr.org/510289/podcast.xml","episode":"latest","speakers":false,"summary":false,"formats":["srt"],"max_minutes":90}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscribeEpisodeResponse"},"examples":{"Transcribe Episode":{"summary":"Transcribe Episode","value":{"episode":{"published":"2026-11-21T00:00:00Z","duration_seconds":1830,"audio":{"type":"audio/mpeg"},"episode_type":"full","links":[{}],"chapters":[{"start_seconds":754.0,"start":"00:12:34","title":"Why prices went up"}],"chapters_source":"podcast:chapters","transcripts":[{"type":"text/vtt"}],"persons":[{"role":"host"}]},"transcript":{"duration_seconds":309.4,"minutes_billed":6,"language":"en","segments":[{"start":12.0,"end":17.5,"speaker":"S1","text":"Welcome to the show."}],"subtitles":{},"insights":{"chapters":[{}]}}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Nothing found for this identifier. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Transcribe Episode"}}},"components":{"schemas":{"Audio":{"properties":{"url":{"type":"string","title":"Url"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","examples":["audio/mpeg"]},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"}},"type":"object","required":["url"],"title":"Audio"},"Chapter":{"properties":{"start":{"type":"string","title":"Start","description":"Start time, HH:MM:SS or MM:SS."},"title":{"type":"string","title":"Title"}},"type":"object","required":["start","title"],"title":"Chapter"},"Episode":{"properties":{"guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"published":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published","examples":["2026-11-21T00:00:00Z"]},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds","examples":[1830]},"audio":{"anyOf":[{"$ref":"#/components/schemas/Audio"},{"type":"null"}]},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode","description":"Episode number."},"season":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season"},"episode_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Type","examples":["full"]},"explicit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explicit"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Show notes as plain text (cut at 300 chars in lists)."},"links":{"anyOf":[{"items":{"$ref":"#/components/schemas/EpisodeLink"},"type":"array"},{"type":"null"}],"title":"Links","description":"Links found in the show notes (full notes only)."},"chapters":{"anyOf":[{"items":{"$ref":"#/components/schemas/EpisodeChapter"},"type":"array"},{"type":"null"}],"title":"Chapters","description":"From the feed's chapters (Podcasting 2.0 or Podlove) or the timestamps written in the show notes."},"chapters_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapters Source","examples":["podcast:chapters","psc:chapters","show notes"]},"transcripts":{"anyOf":[{"items":{"$ref":"#/components/schemas/Transcript"},"type":"array"},{"type":"null"}],"title":"Transcripts","description":"Transcripts published by the podcaster."},"persons":{"anyOf":[{"items":{"$ref":"#/components/schemas/Person"},"type":"array"},{"type":"null"}],"title":"Persons","description":"Hosts and guests named by the feed (Podcasting 2.0)."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords"}},"type":"object","title":"Episode"},"EpisodeChapter":{"properties":{"start_seconds":{"type":"number","title":"Start Seconds","examples":[754.0]},"start":{"type":"string","title":"Start","description":"HH:MM:SS.","examples":["00:12:34"]},"title":{"type":"string","title":"Title","examples":["Why prices went up"]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["start_seconds","start","title"],"title":"EpisodeChapter"},"EpisodeHit":{"properties":{"apple_episode_id":{"type":"integer","title":"Apple Episode Id","examples":[1000786914684]},"title":{"type":"string","title":"Title"},"podcast":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Podcast","description":"Podcast title."},"apple_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Apple Id","description":"The podcast's Apple ID."},"feed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Url"},"published":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published","description":"ISO 8601, UTC.","examples":["2026-11-23T13:00:00Z"]},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds","examples":[1830]},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guid","description":"The episode's GUID in its feed."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Plain text, up to 600 chars."},"apple_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apple Url"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"}},"type":"object","required":["apple_episode_id","title"],"title":"EpisodeHit"},"EpisodeLink":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"EpisodeLink"},"EpisodeRequest":{"properties":{"feed":{"type":"string","maxLength":2048,"minLength":1,"title":"Feed","description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID.","examples":["https://feeds.npr.org/510289/podcast.xml"]},"episode":{"type":"string","maxLength":500,"title":"Episode","description":"Which episode: its GUID, its audio URL, its title (or part of it), its episode number, or 'latest' (default).","default":"latest","examples":["latest"]},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Language of the summary (e.g. 'English', 'fr'). The show notes' language by default."}},"type":"object","required":["feed"],"title":"EpisodeRequest"},"EpisodeResponse":{"properties":{"feed_url":{"type":"string","title":"Feed Url"},"podcast":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Podcast"},"episode":{"$ref":"#/components/schemas/Episode"}},"type":"object","required":["feed_url","episode"],"title":"EpisodeResponse"},"EpisodeSearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"country":{"type":"string","title":"Country"},"count":{"type":"integer","title":"Count"},"results":{"items":{"$ref":"#/components/schemas/EpisodeHit"},"type":"array","title":"Results"}},"type":"object","required":["query","country","count","results"],"title":"EpisodeSearchResponse"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status","examples":[400]},"code":{"type":"string","title":"Code","examples":["invalid_url"]},"message":{"type":"string","title":"Message","examples":["A website URL is required."]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"FeedResponse":{"properties":{"feed_url":{"type":"string","title":"Feed Url"},"show":{"$ref":"#/components/schemas/Show"},"episode_count":{"type":"integer","title":"Episode Count","description":"Episodes in the feed.","examples":[650]},"offset":{"type":"integer","title":"Offset","default":0},"count":{"type":"integer","title":"Count","description":"Episodes in this answer."},"episodes":{"items":{"$ref":"#/components/schemas/Episode"},"type":"array","title":"Episodes"},"partial":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Partial","description":"The feed was malformed past some point: what came before."}},"type":"object","required":["feed_url","show","episode_count","count","episodes"],"title":"FeedResponse"},"Funding":{"properties":{"url":{"type":"string","title":"Url"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"type":"object","required":["url"],"title":"Funding"},"Guest":{"properties":{"name":{"type":"string","title":"Name"},"about":{"type":"string","title":"About","description":"Who they are, as the notes say."}},"type":"object","required":["name","about"],"title":"Guest"},"Insights":{"properties":{"summary":{"type":"string","title":"Summary","description":"What the recording is about, in a paragraph."},"key_points":{"items":{"type":"string"},"type":"array","title":"Key Points"},"chapters":{"items":{"$ref":"#/components/schemas/Chapter"},"type":"array","title":"Chapters"},"action_items":{"items":{"type":"string"},"type":"array","title":"Action Items","description":"Tasks or decisions mentioned (meetings); empty otherwise."}},"type":"object","required":["summary","key_points","chapters","action_items"],"title":"Insights"},"NotesSummary":{"properties":{"summary":{"type":"string","title":"Summary","description":"What the episode is about, in a paragraph."},"key_points":{"items":{"type":"string"},"type":"array","title":"Key Points"},"topics":{"items":{"type":"string"},"type":"array","title":"Topics","description":"Short topic tags."},"guests":{"items":{"$ref":"#/components/schemas/Guest"},"type":"array","title":"Guests"},"resources":{"items":{"type":"string"},"type":"array","title":"Resources","description":"Books, tools, studies, websites or works mentioned."},"sponsors":{"items":{"type":"string"},"type":"array","title":"Sponsors","description":"Brands that sponsor the episode."},"format":{"type":"string","title":"Format","description":"One of: interview, conversation, solo, panel, news, narrative, fiction, other."}},"type":"object","required":["summary","key_points","topics","guests","resources","sponsors","format"],"title":"NotesSummary","description":"What the model returns (no constraints: the service trims)."},"Person":{"properties":{"name":{"type":"string","title":"Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","examples":["host"]}},"type":"object","required":["name"],"title":"Person"},"PodcastHit":{"properties":{"apple_id":{"type":"integer","title":"Apple Id","examples":[290783428]},"title":{"type":"string","title":"Title","examples":["Planet Money"]},"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author","examples":["NPR"]},"feed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Url","description":"RSS feed: pass it (or apple_id) to the episode endpoints.","examples":["https://feeds.npr.org/510289/podcast.xml"]},"apple_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apple Url"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork","description":"600 px cover art URL."},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","examples":[["Business"]]},"episode_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Count","description":"Episodes listed by Apple.","examples":[650]},"latest_episode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Episode","description":"Date of the latest episode (UTC).","examples":["2026-11-21"]},"explicit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explicit"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank","description":"Chart position (top charts only)."}},"type":"object","required":["apple_id","title"],"title":"PodcastHit"},"PodcastSearchResponse":{"properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"country":{"type":"string","title":"Country","examples":["us"]},"count":{"type":"integer","title":"Count"},"results":{"items":{"$ref":"#/components/schemas/PodcastHit"},"type":"array","title":"Results"}},"type":"object","required":["country","count","results"],"title":"PodcastSearchResponse"},"Segment":{"properties":{"start":{"type":"number","title":"Start","description":"Seconds from the start.","examples":[12.0]},"end":{"type":"number","title":"End","description":"Seconds from the start.","examples":[17.5]},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker","examples":["S1"]},"text":{"type":"string","title":"Text","examples":["Welcome to the show."]}},"type":"object","required":["start","end","text"],"title":"Segment"},"Show":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","examples":["Planet Money"]},"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author","examples":["NPR"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Plain text."},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","examples":["en"]},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","examples":[["Business"]]},"explicit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explicit"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"'episodic' or 'serial' (oldest first).","examples":["episodic"]},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"copyright":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copyright"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner","description":"Owner's name (never the owner's email)."},"complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Complete","description":"The show has ended and will publish no new episode."},"podcast_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Podcast Guid","description":"Podcasting 2.0 GUID."},"funding":{"items":{"$ref":"#/components/schemas/Funding"},"type":"array","title":"Funding"},"persons":{"items":{"$ref":"#/components/schemas/Person"},"type":"array","title":"Persons"},"new_feed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Feed Url","description":"The feed moved here (itunes:new-feed-url)."},"updated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated","description":"Feed's last build date."}},"type":"object","title":"Show"},"Subtitles":{"properties":{"srt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Srt"},"vtt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vtt"}},"type":"object","title":"Subtitles"},"SummaryResponse":{"properties":{"feed_url":{"type":"string","title":"Feed Url"},"podcast":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Podcast"},"episode":{"$ref":"#/components/schemas/Episode"},"source":{"type":"string","const":"show notes","title":"Source","default":"show notes"},"summary":{"$ref":"#/components/schemas/NotesSummary"}},"type":"object","required":["feed_url","episode","summary"],"title":"SummaryResponse"},"TranscribeEpisodeRequest":{"properties":{"feed":{"type":"string","maxLength":2048,"minLength":1,"title":"Feed","description":"The podcast: its RSS feed URL, its Apple Podcasts link (an episode link picks that episode) or its Apple ID.","examples":["https://feeds.npr.org/510289/podcast.xml"]},"episode":{"type":"string","maxLength":500,"title":"Episode","description":"Which episode: its GUID, its audio URL, its title (or part of it), its episode number, or 'latest' (default).","default":"latest","examples":["latest"]},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Spoken language if you know it (e.g. 'en'); detected otherwise. The summary is written in it."},"speakers":{"type":"boolean","title":"Speakers","description":"Label who speaks (S1, S2...). +2 credits per minute.","default":false},"summary":{"type":"boolean","title":"Summary","description":"Add an AI summary of the transcript: key points, chapters with timestamps, action items. +1 credit per 2 minutes (4 at least).","default":false},"formats":{"items":{"type":"string","enum":["srt","vtt"]},"type":"array","title":"Formats","description":"Subtitle files to include: 'srt', 'vtt'.","examples":[["srt"]]},"max_minutes":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Max Minutes","description":"Refuse (400 media_too_long, not billed) episodes longer than this. 90 at most.","default":90}},"type":"object","required":["feed"],"title":"TranscribeEpisodeRequest"},"TranscribeEpisodeResponse":{"properties":{"feed_url":{"type":"string","title":"Feed Url"},"podcast":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Podcast"},"episode":{"$ref":"#/components/schemas/Episode"},"transcript":{"$ref":"#/components/schemas/TranscriptResponse"}},"type":"object","required":["feed_url","episode","transcript"],"title":"TranscribeEpisodeResponse"},"Transcript":{"properties":{"url":{"type":"string","title":"Url"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","examples":["text/vtt"]},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},"type":"object","required":["url"],"title":"Transcript"},"TranscriptResponse":{"properties":{"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"File name or final URL."},"duration_seconds":{"type":"number","title":"Duration Seconds","examples":[309.4]},"minutes_billed":{"type":"integer","title":"Minutes Billed","description":"Started minutes of audio, the basis of the credits.","examples":[6]},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","examples":["en"]},"text":{"type":"string","title":"Text","description":"The full transcript."},"segments":{"items":{"$ref":"#/components/schemas/Segment"},"type":"array","title":"Segments"},"speakers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Speakers","description":"Speaker labels found, when speakers=true."},"subtitles":{"anyOf":[{"$ref":"#/components/schemas/Subtitles"},{"type":"null"}]},"insights":{"anyOf":[{"$ref":"#/components/schemas/Insights"},{"type":"null"}]}},"type":"object","required":["duration_seconds","minutes_billed","text","segments"],"title":"TranscriptResponse"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key"},"RapidAPIHost":{"type":"apiKey","in":"header","name":"X-RapidAPI-Host"}}},"tags":[{"name":"Search","description":"Podcasts and episodes by keyword, and the top charts, from Apple Podcasts."},{"name":"Episodes","description":"Any podcast's feed as clean JSON: show, episodes, audio, show notes, chapters."},{"name":"AI","description":"An episode summarised from its show notes, or transcribed and summarised from its audio."}],"security":[{"RapidAPIKey":[],"RapidAPIHost":[]}]}