TheTVDB Series & Episode Guide Scraper avatar

TheTVDB Series & Episode Guide Scraper

Pricing

Pay per event

Go to Apify Store
TheTVDB Series & Episode Guide Scraper

TheTVDB Series & Episode Guide Scraper

Scrapes episode guide data from TheTVDB — the canonical episode-level metadata source powering Kodi, Plex, and Sonarr. Extracts full episode lists with air dates, runtime, overview, directors, writers, and guest stars for any series by slug.

Pricing

Pay per event

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Scrapes episode guide data from TheTVDB — the canonical episode metadata source powering Kodi, Plex, Sonarr, and most PVR software. You give it a list of series slugs; it returns a flat dataset with one row per episode, fully populated.

No API key required. No account needed.

What It Returns

Each row represents one episode. The schema is flat and consistent.

FieldTypeDescription
series_slugstringThe series slug from the URL (e.g. game-of-thrones)
series_namestringSeries display name
tvdb_idintegerTheTVDB numeric series ID
networkstringBroadcasting network or streaming service
statusstringContinuing or Ended
first_airedstringISO 8601 date the first episode aired
season_numberintegerSeason number
episode_numberintegerEpisode number within the season
episode_codestringStandard code — S01E01, S02E03, etc.
episode_titlestringEpisode title
episode_airedstringISO 8601 date this episode aired
episode_runtimeintegerRuntime in minutes
episode_overviewstringEnglish synopsis
guest_starsstringComma-separated guest star names
directorsstringComma-separated director names
writersstringComma-separated writer names

How to Use It

Find the slug in the TheTVDB URL. For https://www.thetvdb.com/series/game-of-thrones, the slug is game-of-thrones. Paste it (or several of them) into the Series Slugs field.

Input Parameters

ParameterTypeDefaultDescription
seriesSlugsarrayOne or more TheTVDB series slugs. Required.
maxItemsinteger10Maximum episode records to return across all series.

Example Input

{
"seriesSlugs": ["breaking-bad", "the-wire", "sopranos"],
"maxItems": 200
}

Example Output Record

{
"series_slug": "breaking-bad",
"series_name": "Breaking Bad",
"tvdb_id": 81189,
"network": "AMC",
"status": "Ended",
"first_aired": "2008-01-20",
"season_number": 1,
"episode_number": 1,
"episode_code": "S01E01",
"episode_title": "Pilot",
"episode_aired": "2008-01-20",
"episode_runtime": 58,
"episode_overview": "Walter White, a struggling high school chemistry teacher, is diagnosed with inoperable lung cancer and turns to manufacturing methamphetamine to secure his family's financial future.",
"guest_stars": "Max Arciniega, Aaron Hill, Raymond Cruz",
"directors": "Vince Gilligan",
"writers": "Vince Gilligan"
}

Use Cases

  • Building episode-aware watchlist apps that need structured air date data
  • Populating PVR/media server databases with episode metadata
  • TV analytics — air date patterns, runtime trends, network comparisons across seasons
  • Training or augmenting language models with structured TV knowledge
  • Research: tracking writer and director credits across a series run

How It Works

Three-level crawl, all server-rendered HTML. No JavaScript execution required.

  1. Series page — Fetches /series/<slug> to extract the TVDB ID, network, status, and first air date.
  2. Episode list — Fetches /series/<slug>/allseasons/official to collect all episode codes, titles, and detail URLs.
  3. Episode detail — Fetches each /series/<slug>/episodes/<id> page to extract air date, runtime, English overview, and the full cast/crew table.

Concurrency is kept moderate. TheTVDB is a community-maintained database.

Notes

  • episode_overview is always the English translation. TheTVDB stores overviews in many languages; this actor selects English specifically.
  • guest_stars, directors, and writers are comma-separated strings. Empty when not listed on the episode.
  • The maxItems limit applies across all series combined. If you specify three slugs and maxItems: 30, you get approximately 10 episodes per series (order is non-deterministic within a run).
  • The scraper follows aired order (/allseasons/official). DVD order and absolute order are not crawled.

Data sourced from TheTVDB — the community-driven television database powering Kodi, Plex, and Sonarr since 2007.