Skip to Content
Podcast Lookup

Get a transcript

Speaker-labelled, timestamped transcript of an episode, ours or the one the podcast publishes in its feed.

GET/api/v1/podcasts/{id}/episodes/{episode}/transcript1 credit

Example

curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes/the-future-of-audio-3f9a1c2b7e/transcript" \
  -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY"

Response

Two sources share one shape, told apart by source:

  • podcast_lookup: ours. Every speaker is named, with a role (host, guest…), and every segment is timestamped.
  • publisher: the transcript the podcast publishes in its own feed, read the first time you ask for it. Speakers are as the file labels them ("Speaker 1", a name, or null when the file has none), and timed is false when the file has no timestamps (some plain-text files), with start_seconds and end_seconds set to null.
{
  "podcast_id": 8017674,
  "episode_id": "the-future-of-audio-3f9a1c2b7e",
  "source": "podcast_lookup",
  "language": "en",
  "speakers": [
    { "id": "S1", "name": "Jordan Lee", "role": "host" },
    { "id": "S2", "name": "Sam Rivera", "role": "guest" }
  ],
  "segments": [
    { "speaker": "Jordan Lee", "start_seconds": 0.4, "end_seconds": 6.92, "text": "Welcome back to The AI Hour." },
    { "speaker": "Sam Rivera", "start_seconds": 7.1, "end_seconds": 11.3, "text": "Thanks for having me." }
  ],
  "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e"
}

Prop

Type

Turning segments into text

const timestamp = (s: number) => new Date(s * 1000).toISOString().slice(11, 19)

const text = transcript.segments
  .map((segment) => `[${timestamp(segment.start_seconds)}] ${segment.speaker}: ${segment.text}`)
  .join("\n")

Errors

404 transcript_not_available when there is no transcript yet. The message tells you whether transcription was already requested, and how many times. Request a transcript to add it to the queue.

MCP equivalent

get_transcript with podcast_id and episode_id.