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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
The episode's page on TVmaze.
Example tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-coming
Pictures and media
- Image
Still image from the episode.
Example Open the image
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
show_id | text | Show ID (hidden) | 3 of 3 |
show_name | text | Show name | 3 of 3 |
show_imdb_id | text | Show IMDb ID (hidden) | 3 of 3 |
season | number | Season number | 3 of 3 |
number | number | Number | 3 of 3 |
episode_type | text | Episode type | 3 of 3 |
episode_name | text | Episode name | 3 of 3 |
air_date | date | Air date | 3 of 3 |
air_time | text | Air time | 3 of 3 |
airs_at | date and time | Airs at | 3 of 3 |
runtime_minutes | number | Runtime (minutes) | 3 of 3 |
rating | number | Rating | 3 of 3 |
image | image link | Image | 3 of 3 |
description | text | Description | 3 of 3 |
is_season_premiere | yes or no | Season premiere | 3 of 3 |
is_season_finale | yes or no | Season finale | 3 of 3 |
season_premiere_date | date | Season premiere date | 3 of 3 |
season_end_date | date | Season end date | 3 of 3 |
season_episode_count | number | Season episode count | 3 of 3 |
network | text | Network | 3 of 3 |
is_streaming | yes or no | Streaming | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Show name | Season number | Number | Episode type | Episode name | Runtime (minutes) | Rating | Description | Season premiere | Season finale | Season episode count | Network | Streaming | Air date | Air time | Airs at | Season premiere date | Season end date | Link | Image |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Game of Thrones | 1 | 1 | regular | Winter is Coming | 60 | 8.2 | Lord 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… | Yes | No | 10 | HBO | No | Apr 17, 2011 | 21:00 | Apr 18, 2011 | Apr 17, 2011 | Jun 19, 2011 | tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-coming | static.tvmaze.com/uploads/images/original_untouched/478/1195111.jpg |
| 2 | Game of Thrones | 1 | 2 | regular | The Kingsroad | 60 | 8.2 | An 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. | No | No | 10 | HBO | No | Apr 24, 2011 | 21:00 | Apr 25, 2011 | Apr 17, 2011 | Jun 19, 2011 | tvmaze.com/episodes/4953/game-of-thrones-1x02-the-kingsroad | static.tvmaze.com/uploads/images/original_untouched/478/1195110.jpg |
| 3 | Game of Thrones | 1 | 3 | regular | Lord Snow | 60 | 8 | Jon Snow attempts to find his place amongst the Night's Watch. Eddard and his daughters arrive at King's Landing. | No | No | 10 | HBO | No | May 1, 2011 | 21:00 | May 2, 2011 | Apr 17, 2011 | Jun 19, 2011 | tvmaze.com/episodes/4954/game-of-thrones-1x03-lord-snow | static.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.