TV Episode Guide API

Every episode of the TV shows you name, from TVmaze: season and episode number, title, air date and time, runtime, rating, summary and image, joined with each season's premiere and end dates, episode count and network. Takes TVmaze ids, IMDb ids or TVmaze show links.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 23 fieldsv1.0

Data from tvmaze.com/api

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Show IDs
Shows to list: TVmaze ids such as 82, IMDb ids such as tt0944947, or TVmaze show links; up to 100 per run. One per line, or separated by commas.
Example: 82
Include specialsoptional
Also list specials, such as behind-the-scenes and one-off episodes, which have no episode number.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/tvmaze-episodes/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/tvmaze-episodes/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"show_ids":["82"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

show_idslistrequired
Shows to list: TVmaze ids such as 82, IMDb ids such as tt0944947, or TVmaze show links; up to 100 per run.
example: 82
include_specialsyes/no
Also list specials, such as behind-the-scenes and one-off episodes, which have no episode number.
default: falseexample: false

What's in each record

23 fields: 20 here, 3 technical ones under Technical details.

Basics

  • Show name

    Example Game of Thrones

  • Season number

    Example 1

  • Number

    Episode number within the season; empty for specials.

    Example 1

  • Episode type

    regular, significant_special or insignificant_special.

    Example regular

  • Episode name

    Title of the episode.

    Example Winter is Coming

  • Runtime (minutes)

    Length of the episode in minutes.

    Example 60

  • Rating

    Average rating on TVmaze, out of 10.

    Example 8.2

  • Description

    Short summary of the episode in plain text.

    Example Lord Eddard Stark, ruler of the North, is summoned to court by his old friend, King Robert Baratheon, to serve as the…

  • Season premiere

    True for the first episode of its season.

    Example Yes

  • Season finale

    True for the last episode of a season that is over or has reached its planned episode count.

    Example No

  • Season episode count

    Number of episodes planned for the season, when known.

    Example 10

  • Network

    TV network or streaming service of that season.

    Example HBO

  • Streaming

    Yes when that season comes out on a streaming service rather than a TV network.

    Example No

Dates

  • Air date

    The day it first aired or will air, in the network's own time zone.

    Example Apr 17, 2011

  • Air time

    The time it airs, as HH:MM in the network's own time zone.

    Example 21:00

  • Airs at

    The moment it first aired or will air, in UTC.

    Example Apr 18, 2011

  • Season premiere date

    The day the season began.

    Example Apr 17, 2011

  • Season end date

    The day the season's last listed episode airs.

    Example Jun 19, 2011

Pictures and media

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idTVmaze's id of the episode.
  • Show ID show_idTVmaze's id of the show.
  • Show IMDb ID show_imdb_idThe show's IMDb id, such as tt0944947.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
show_idtextShow ID (hidden)3 of 3
show_nametextShow name3 of 3
show_imdb_idtextShow IMDb ID (hidden)3 of 3
seasonnumberSeason number3 of 3
numbernumberNumber3 of 3
episode_typetextEpisode type3 of 3
episode_nametextEpisode name3 of 3
air_datedateAir date3 of 3
air_timetextAir time3 of 3
airs_atdate and timeAirs at3 of 3
runtime_minutesnumberRuntime (minutes)3 of 3
ratingnumberRating3 of 3
imageimage linkImage3 of 3
descriptiontextDescription3 of 3
is_season_premiereyes or noSeason premiere3 of 3
is_season_finaleyes or noSeason finale3 of 3
season_premiere_datedateSeason premiere date3 of 3
season_end_datedateSeason end date3 of 3
season_episode_countnumberSeason episode count3 of 3
networktextNetwork3 of 3
is_streamingyes or noStreaming3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordShow nameSeason numberNumberEpisode typeEpisode nameRuntime (minutes)RatingDescriptionSeason premiereSeason finaleSeason episode countNetworkStreamingAir dateAir timeAirs atSeason premiere dateSeason end dateLinkImage
1Game of Thrones11regularWinter is Coming608.2Lord Eddard Stark, ruler of the North, is summoned to court by his old friend, King Robert Baratheon, to serve as the King's Hand. Eddard reluctantly agrees after learning of a possible threat to the King's life. Eddard's bastard son Jon Snow must make a painful decision about…YesNo10HBONoApr 17, 201121:00Apr 18, 2011Apr 17, 2011Jun 19, 2011tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-comingstatic.tvmaze.com/uploads/images/original_untouched/478/1195111.jpg
2Game of Thrones12regularThe Kingsroad608.2An incident on the Kingsroad threatens Eddard and Robert's friendship. Jon and Tyrion travel to the Wall, where they discover that the reality of the Night's Watch may not match the heroic image of it.NoNo10HBONoApr 24, 201121:00Apr 25, 2011Apr 17, 2011Jun 19, 2011tvmaze.com/episodes/4953/game-of-thrones-1x02-the-kingsroadstatic.tvmaze.com/uploads/images/original_untouched/478/1195110.jpg
3Game of Thrones13regularLord Snow608Jon Snow attempts to find his place amongst the Night's Watch. Eddard and his daughters arrive at King's Landing.NoNo10HBONoMay 1, 201121:00May 2, 2011Apr 17, 2011Jun 19, 2011tvmaze.com/episodes/4954/game-of-thrones-1x03-lord-snowstatic.tvmaze.com/uploads/images/original_untouched/478/1195109.jpg

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Up to 100 shows per run. TVmaze answers about 20 requests in 10 seconds, so a run of many shows takes a few minutes.
  • Specials are left out unless include_specials is on; specials have no episode number and often no air date.
  • Ratings are TVmaze user averages out of 10 and stay empty until enough people vote. Summaries and images are often missing for older, daily and non-English shows.
  • Upcoming episodes appear once TVmaze lists them, sometimes without a title or date. A season still airing without a set episode count has no episode marked as its finale yet.
  • air_date and air_time are in the network's own time zone; airs_at is UTC.
  • IMDb ids are matched through TVmaze's own lookup; a show TVmaze does not list is skipped.
  • Episode data comes from TVmaze under the CC BY-SA 4.0 licence: credit TVmaze (tvmaze.com) with a link when you publish it.

Version history

A run uses the live version unless the request names another one with version.