Movie and TV data API: titles, ratings, cast and episodes
Data on millions of movies, TV series, episodes and people as clean JSON: ratings and votes, genres, runtimes, directors, writers, cast with characters, filmographies, episodes by season, box office and release dates. 18 endpoints, built on IMDb's public datasets (refreshed daily) and Wikidata.
Built on IMDb's public datasets and Wikidata; not affiliated with IMDb or Amazon.
What you get
Refreshed daily
Ratings, votes and new titles come from IMDb's datasets, rebuilt every day; Wikidata weekly.
Up to 1,000 per call
/ratings takes up to 1,000 ids and /title 100, and each is one call.
Same filters everywhere
Type, genres, country, original language, years, runtime and adult content on every list.
Search that forgives
Case and accents are ignored: amelie finds Amélie; word starts work too.
More than IMDb has
Box office, budget, Metascore, Rotten Tomatoes, release dates and TMDb ids from Wikidata.
Clear errors
statusCode, error and message in every error body. Errors on our side cost nothing.
Who it is for
Movie and TV apps
Titles, ratings, cast and episodes for your site or app.
Watchlists and recommendations
Ratings of a whole list at once, and similar titles.
Bots and games
Discord and Telegram bots, trivia and random picks.
Research and AI
Film data for analysis, datasets and LLM agents.
How to use it
- Sign up for free and copy your API key from the TTech API dashboard.
-
Send the key in the
x-api-keyheader with every call. -
Call any endpoint below at
https://api.ttechapi.com/v1/moviesplus its path, as in the examples.
Titles
| Endpoint | Required | Returns | Credits |
|---|---|---|---|
GET /title | ids | Everything about up to 100 titles: years, runtime, genres, rating, directors, cast, Wikidata fields | 1 credit |
GET /ratings | ids | Rating and votes of up to 1,000 titles at once | 1 credit |
GET /credits | ids | Directors, writers, cast with characters and crew | 1 credit |
GET /episodes | id | Every episode of a series, by season or best rated first | 1 credit |
GET /akas | ids | Alternative titles by country and language | 1 credit |
GET /similar | id | Titles like it, with a score | 1 credit |
People
| Endpoint | Required | Returns | Credits |
|---|---|---|---|
GET /name | ids | Name, birth and death year, professions, known-for titles, photo | 1 credit |
GET /filmography | id | A person's credits as actor, director, writer, producer and more | 1 credit |
Search
| Endpoint | Required | Returns | Credits |
|---|---|---|---|
GET /search-titles | query | Titles by name, with the title filters | 1 credit |
GET /search-names | query | People by name | 1 credit |
GET /autocomplete | query | Titles and people together, for a search box | 1 credit |
Lists
| Endpoint | Required | Returns | Credits |
|---|---|---|---|
GET /discover | Titles by filters, sorted by votes, rating, year, Metascore, box office or budget | 1 credit | |
GET /top-rated | A Top 250-style list by weighted rating, or the lowest rated | 1 credit | |
GET /trending | Titles gaining the most votes lately | 1 credit | |
GET /upcoming | Movies and series not out yet, for any country | 1 credit | |
GET /random | Random titles matching the filters | 1 credit |
Reference
| Endpoint | Required | Returns | Credits |
|---|---|---|---|
GET /facets | Every genre, type, country and language the filters take, with counts | 1 credit | |
GET /info | The date of the data being served | 1 credit |
Call it from code
curl -G "https://api.ttechapi.com/v1/movies/title" \
--data-urlencode "ids=tt0133093,tt0903747" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://api.ttechapi.com/v1/movies/title?ids=tt0133093%2Ctt0903747', {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const data = await res.json();import requests
res = requests.get(
"https://api.ttechapi.com/v1/movies/title",
params={"ids": "tt0133093,tt0903747"},
headers={"x-api-key": "YOUR_API_KEY"},
)
print(res.json())<?php
$ch = curl_init('https://api.ttechapi.com/v1/movies/title?ids=tt0133093%2Ctt0903747');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-api-key: YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest(http.MethodGet, "https://api.ttechapi.com/v1/movies/title?ids=tt0133093%2Ctt0903747", nil)
if err != nil {
panic(err)
}
req.Header.Set("x-api-key", "YOUR_API_KEY")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(string(data))
}
Answers from the API have the headers x-credits-used and x-credits-remaining. When our
gateway refuses a call (wrong key, no credits left, too many requests), the body has statusCode,
error, message and requestId, and nothing is charged. A missing or wrong key gets HTTP 401.
Input
| Parameter | Type | What it does |
|---|---|---|
ids / id | string | IMDb ids, comma-separated: titles tt0133093 (The Matrix), people nm0000206 (Keanu Reeves) |
query | string | Search text; case and accents ignored, whole words or word starts |
title_types | string | movie, tvSeries, tvMiniSeries, tvMovie, tvEpisode, short, video, ... |
genres | string | All of these genres, e.g. Sci-Fi,Action |
countries, languages | string | Country of origin (IN, US) and original language (ta, hi, en) |
year_from, year_to, min_votes, sort_by, limit | string | Ranges, vote floor, order and page size on lists |
Output
Every answer has the same shape; data holds the rows. GET /ratings?ids=tt0133093,tt0211915,tt0000404:
| Field | What it is |
|---|---|
tconst, primary_title, title_type, start_year | The title |
average_rating, num_votes | Rating and votes |
snapshot | Which day's copy of the data answered |
missing | Asked-for ids the data does not have |
meta | About the whole answer, such as total for paging |
Errors come in the body with HTTP 200, e.g. {"statusCode": 404, "error": "NOT_FOUND", "message": "..."}; check statusCode.
{
"statusCode": 200,
"endpoint": "ratings",
"snapshot": "20261203-033000-512345",
"count": 2,
"missing": [
"tt0000404"
],
"meta": {},
"data": [
{
"tconst": "tt0133093",
"primary_title": "The Matrix",
"title_type": "movie",
"start_year": 1999,
"average_rating": 8.7,
"num_votes": 2297147
},
{
"tconst": "tt0211915",
"primary_title": "Amélie",
"title_type": "movie",
"start_year": 2001,
"average_rating": 8.3,
"num_votes": 820000
}
]
}Pricing
One API key and one credit balance for every TTech API.
From 1 credit per call
Every endpoint of this API costs 1 credit.
300 free credits, no credit card
Given once to try every endpoint, valid for 1 month.
Plans from $14.99/month
Build, Grow and Scale, or a custom plan.
Use it with AI agents
Our MCP server gives your assistant 4 tools for this API: movies_search, movies_title, movies_person, movies_discover. A tool call costs the same credits as the REST call. Pick your assistant:
Run this, then type /mcp in Claude Code and sign in to TTech.
claude mcp add --transport http ttech https://mcp.ttechapi.com/mcpOr install our Claude Code plugin from GitHub. It adds the same server and a YouTube research skill. Then type /mcp and sign in.
claude plugin marketplace add ttechapi/claude-plugins
claude plugin install ttech@ttechTo skip the question before each tool call, add "mcp__ttech" to permissions.allow in .claude/settings.json.
- In claude.ai or Claude Desktop, open Customize > Connectors, select + Add and Add custom connector.
- Paste this URL and continue:
https://mcp.ttechapi.com/mcp- Select Connect and sign in with your TTech account.
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Then open Cursor's MCP settings and connect TTech to sign in.
{
"mcpServers": {
"ttech": {
"url": "https://mcp.ttechapi.com/mcp"
}
}
}Add the server, then sign in through the browser.
codex mcp add ttech --url https://mcp.ttechapi.com/mcp
codex mcp login ttech- In ChatGPT on the web, open Plugins, select + and Add custom MCP server (on plans that allow custom MCP servers).
- Paste this URL and choose OAuth:
https://mcp.ttechapi.com/mcp- Sign in with your TTech account and review the tools.
Add this to .vscode/mcp.json, then start the server and sign in.
{
"servers": {
"ttech": {
"type": "http",
"url": "https://mcp.ttechapi.com/mcp"
}
}
}More on MCP and every client: AI agents.
Brief for any LLM
Endpoints, inputs, outputs, examples and MCP setup in one Markdown text. Paste it into ChatGPT, Claude or Gemini and ask for the code you need. Also at /movie-tv-data-api.md.
Good to know
- Every call costs 1 credit, whatever its parameters.
- No plots, biographies, videos, IMDb poster images or weekend box office.
- Country and language filters use Wikidata, so a title Wikidata lacks never matches them.
- Errors from our side (5xx) are not billed.
FAQ
Is this the official IMDb API?
No. It is an independent API built on IMDb's public datasets and Wikidata, not affiliated with IMDb or Amazon.
How fresh is the data?
Ratings, votes and titles are rebuilt every day; the Wikidata fields every week. /info gives the dates.
Can I get a Top 250 list?
Yes: GET /top-rated gives the top 250 movies by weighted rating; filters give the best series, Indian or Tamil films and more.
Which languages can call it?
Any language that can make an HTTPS request, and no-code tools such as n8n, Make and Zapier.
How much does a call cost?
Each call costs 1 credit. The Free plan gives 300 free credits once, valid for 1 month, with no credit card. Paid plans start at $14.99/month.
How fast can I call it?
Free allows 5 calls a second, Build 10, Grow 20 and Scale 50. Custom plans have their own limits.