How to get latest (or all) episodes of a podcast?
You can use GET /podcasts/{id} to fetch detailed metadata of a podcast AND its episodes.
You'll get up to 10 episodes in the "episodes" field in the response. You can use the next_episode_pub_date parameter to do pagination and fetch more episodes.
And you can use the sort parameter to change how you want episodes to be sorted, i.e., recent_first or oldest_first
Use POST /podcasts
If you need to fetch latest episodes of multiple podcasts at once, then use POST /podcasts. You can find the latest episodes in the latest_episodes field:
If you haven't used Listen Notes Podcast API yet, get API keys here - Get API keys