# Core concepts

> Podcasts, episodes, identifiers, feeds and where transcripts come from.

Source: https://www.podcastlookup.com/documentation/concepts

## Podcasts

A podcast is a public RSS feed. The directory covers about 4.7 million of them in 128 languages and is refreshed daily: titles, authors, artwork, categories, languages, hosting provider, episode counts and the date of the newest episode.

Podcasts are identified by a positive **integer id**, for example `8017674`. Ids are stable: store them.

> **Note: Episode counts over 1,000**
>
> Counts from the directory stop at 1,000. When `episode_count_is_minimum` is `true`, the show has at least that many episodes; list its episodes for the exact number.

## Episodes

Episodes are read **from each show's own feed**, on demand:

- The first time anyone lists a podcast's episodes, we download its feed and store every episode. That first call can take a few seconds for large feeds.
- After that, episodes are served from storage. `checked_at` tells you when the feed was last read.
- To pick up an episode published minutes ago, [refresh the podcast](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md).

Episodes are identified **within their podcast** by a short string **id** made of its title and a short hash (for example `the-future-of-audio-3f9a1c2b7e`). Always take it from the episodes list rather than building it yourself. An episode is always addressed as podcast id + episode id. The episode's `guid` from the feed is also returned for matching with your own data.

## Transcripts

An episode's transcript comes from one of two sources, given by `source`:

| Source | What you get |
| --- | --- |
| `podcast_lookup` | Our transcript: language, speakers (name and role, such as host or guest), and segments with `speaker`, `start_seconds`, `end_seconds` and `text`. |
| `publisher` | The transcript the show publishes in its own feed (WebVTT, SRT, JSON, HTML or text), read into the same segments. Speakers are as the file labels them, often `Speaker 1`, `Speaker 2` or none, and plain-text files may have no timestamps. The original files are in `files`. |

We read the publisher's transcript when you first ask for it. Our own transcript replaces it once we transcribe the episode. When there is neither, you can **request a transcript**. Requests are counted per episode: the more an episode is requested, the sooner it is transcribed.

## Search

Search matches words in titles, authors and descriptions, ranks the best matches first, and falls back to fuzzy matching when nothing matches exactly (`fuzzy_match: true`). Filters with several values (`lang=fr&lang=en`) match podcasts having **any** of them; different filters combine with **and**.

Totals above 10,000 are approximate (`total_is_lower_bound: true`), and results stop at page 417.

## Links back to the website

Most responses include a `url` to the matching page on the website, handy for showing a "View on Podcast Lookup" link to your users.