TVMaze API
Free TV show data — schedules, episodes, cast — no API key required.
What it does
TVMaze is a free TV database API: search shows, get full show details (genres, status, network, runtime, images, summary), list seasons and episodes, look up a show by external ID (IMDb/TVDB), and fetch the daily broadcast schedule by country.
Base URL
Authentication
None for the public API. A separate premium API (user lists, following, calendar) uses HTTP Basic with your TVMaze account.
Code examples
curl -s "https://api.tvmaze.com/singlesearch/shows?q=breaking+bad&embed=episodes" curl -s "https://api.tvmaze.com/shows/169/episodes" curl -s "https://api.tvmaze.com/schedule?country=US&date=2026-01-01"
import requests
show = requests.get("https://api.tvmaze.com/singlesearch/shows",
params={"q": "The Wire"}, timeout=10).json()
eps = requests.get(f"https://api.tvmaze.com/shows/{show['id']}/episodes", timeout=10).json()
print(show["name"], "-", len(eps), "episodes")Rate limits & quotas
Roughly 20 calls every 10 seconds per IP. Exceed it and you get HTTP 429 — wait a few seconds and retry. Use ?embed= (e.g. embed=episodes, embed[]=cast&embed[]=seasons) to fetch related data in one request.
Key response fields
| id / name / status | Show ID, title, and Running/Ended |
| genres / premiered / network.name | Classification and broadcaster |
| image.medium / image.original | Poster URLs |
| _embedded.episodes[] | With embed=episodes: season, number, airdate, name |
| summary | HTML synopsis |
Common errors
| 404 | No show/episode with that ID, or singlesearch found nothing. |
| 429 | More than ~20 calls/10s — back off. |
| (HTML in summary) | The summary field contains <p> tags — strip or render them. |
When to use it (and alternatives)
The best free option for episode lists, air dates and TV schedules. Pair it with TMDB (richer images and movie coverage) or Trakt (user watch state). Look up by IMDb ID via /lookup/shows?imdb=tt0903747.
FAQ
Is TVMaze completely free?
The public data API is free and needs no key. Only the premium account features (personal watchlists, following, iCal export) are paid.
How do I get all episodes with the show in one call?
Use /singlesearch/shows?q=NAME&embed=episodes or /shows/{id}?embed[]=episodes&embed[]=cast. The related data appears under _embedded.
What is the difference between search and singlesearch?
/search/shows returns a scored list of candidates; /singlesearch/shows returns just the top match as one object, which is usually what you want.
New to APIs?
Short guides for working with this API — and any other.