Use case · NewsletterAPI
Every episode, written up and sent
Your audience reads more than it listens. Watch your show, or any show, and turn each new episode into an email with the key points and the best quotes, linked to the exact second they were said.
New episode
38 min · The Startup Ideas Podcast
Transcript
7,163 words · 2 speakers named
Email · Open Source + AI is Creating Millionaires
Open Source + AI is Creating Millionaires
In their words
“And so these are the types of SaaS you're seeing on Twitter and YouTube a lot right now that are doing really, really well.”
“Before we talk about how these open source apps make money, can you just explain why it feels like open source is having a moment in the agentic age?”
Quotes, speakers and timestamps from real transcripts.
Out within hours
Check the feed every few hours. When an episode appears, the write-up follows as soon as its transcript is ready.
Quotes people can click
Every quote links to its moment on the episode page, where the transcript plays along with the audio.
Grows search and listens
Written episodes rank, get shared and send readers back to the audio. The episode page is already indexed for you.
How it works
4 steps. Real endpoints, real fields.
Copy the code as it is: it calls the same API the website runs on. Swap in your key and your shows.
- 1
Check the feed for new episodes
Refreshing re-reads the RSS feed and says how many episodes are new. List exactly those.
watch.tsconst API_BASE = "https://www.podcastlookup.com/api/v1" const lookup = (path: string, init?: RequestInit) => fetch(API_BASE + path, { ...init, headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, }).then((res) => res.json()) const podcastId = 4458228 // from search, or the show's page const { new_episodes } = await lookup(`/podcasts/${podcastId}/refresh`, { method: "POST" }) if (new_episodes === 0) process.exit(0) const { episodes } = await lookup(`/podcasts/${podcastId}/episodes?page_size=${new_episodes}`) - 2
Get the transcript, or ask for it
If the episode is transcribed, fetch it. If not, request it and try again on the next run: the request moves it up the queue.
transcript.tsconst episode = episodes[0] const base = `/podcasts/${podcastId}/episodes/${episode.id}` if (!episode.transcript) { await lookup(`${base}/transcription-request`, { method: "POST" }) process.exit(0) // next run picks it up } const { speakers, segments, url } = await lookup(`${base}/transcript`) - 3
Write the issue with Claude
Pass the lines with speaker names and timestamps. Ask for your format: three takeaways, two quotes, one question for readers.
write.tsimport Anthropic from "@anthropic-ai/sdk" const transcript = segments .map((s) => `[${Math.floor(s.start_seconds)}s] ${s.speaker}: ${s.text}`) .join("\n") const message = await new Anthropic().messages.create({ model: "claude-opus-5-5", max_tokens: 16000, system: "You write our weekly email. Plain words, no hype.", messages: [{ role: "user", content: `Write the email for "${episode.title}": 3 takeaways, 2 exact quotes with the speaker and a link to ${url}#t=<seconds>, and one question for readers. ${transcript}`, }], }) - 4
Schedule it
Run it every few hours with cron, a GitHub Action or a Vercel cron. Send through your newsletter tool’s API.
.github/workflows/newsletter.ymlon: schedule: [{ cron: "0 */4 * * *" }] # every 4 hours jobs: send: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npx tsx newsletter.ts env: PODCAST_LOOKUP_API_KEY: ${{ secrets.PODCAST_LOOKUP_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
What it costs
One credit per call.
The Free plan is enough to try it. Pro covers hourly checks across dozens of shows.
- Feed check (refresh)
- 1
- List the new episode
- 1
- Its transcript
- 1
- One weekly show, checked 6 times a day
- ≈ 190 / month
What’s behind it
The data you’d otherwise build.
Feeds crawled, episodes stored, conversations transcribed with every speaker named.
4.7M
podcasts, refreshed daily
128
languages
56K
episodes stored
199.5K
words transcribed
Questions, answered
More use cases
What else people build.
4.7M podcasts. One API key away.
Choose a plan, create an API key, and make your first call.