Movie details API: get a movie by id
The movie details API returns one movie by id at GET /3/movie/{movie_id} in the same JSON as TMDB v3, so a TMDB client only needs a new base URL. One request merges up to 20 sub-resources with append_to_response, including credits, videos and ratings from five sources. Details are cached for 6 hours.
How do I get movie details by id?
Send GET / with your key. The id is the numeric id TMDB uses, so a movie you already store as 550 (Fight Club) keeps that id here. The reply is one JSON object with 26 top level fields and costs one request of your 20, 40 or 120 per minute. If you only have a title, call the TMDB search API first to get the id. Every endpoint is listed in the API reference.
The call returns the core record for one movie: titles, overview, runtime, genres, release date, budget, revenue, production companies and image paths. The example below asks for the movie in English and appends its ratings in the same call.
curl -s "https://api.amodb.dev/3/movie/550?language=en-US&append_to_response=ratings" \
-H "Authorization: Bearer $AMODB_KEY"const url = 'https://api.amodb.dev/3/movie/550?language=en-US&append_to_response=ratings';
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.AMODB_KEY}` } });
if (!res.ok) throw new Error(`amodb returned ${res.status}`);
const movie = await res.json();
console.log(movie.title, movie.runtime, movie.ratings.imdb?.value);import os
import requests
r = requests.get(
"https://api.amodb.dev/3/movie/550",
params={"language": "en-US", "append_to_response": "ratings"},
headers={"Authorization": f"Bearer {os.environ['AMODB_KEY']}"},
timeout=10,
)
r.raise_for_status()
movie = r.json()
imdb = movie["ratings"]["imdb"]
print(movie["title"], movie["runtime"], imdb and imdb["value"])<?php
$url = 'https://api.amodb.dev/3/movie/550?language=en-US&append_to_response=ratings';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AMODB_KEY')],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status !== 200) {
throw new RuntimeException("amodb returned $status");
}
$movie = json_decode($body, true);
echo $movie['title'], ' ', $movie['runtime'], ' ', $movie['ratings']['imdb']['value'] ?? 'n/a', PHP_EOL;package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
type Movie struct {
Title string `json:"title"`
Runtime int `json:"runtime"`
}
func main() {
url := "https://api.amodb.dev/3/movie/550?language=en-US"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("AMODB_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
if res.StatusCode != http.StatusOK {
panic(res.Status)
}
var m Movie
json.NewDecoder(res.Body).Decode(&m)
fmt.Println(m.Title, m.Runtime)
}Parameters
movie_idpathrequiredNumeric movie id, for example550.api_keyqueryone of twoYour key. Use this or theAuthorization: Bearerheader.languagequeryTMDB tag such asen-US,ru-RUorpt-BR. 14 base languages are served. Defaulten-US.append_to_responsequeryComma separated list of up to 20 sub-resources to merge into the reply.
Response fields
| Field | Type | Notes |
|---|---|---|
id | integer | Movie id. |
imdb_id | string or null | IMDb id such as tt0137523. |
title, original_title | string | Localized and original title. |
original_language | string | Language code such as en. |
overview, tagline | string | Localized text, empty when no translation exists. |
homepage | string | Official site, empty when unknown. |
release_date | string | YYYY-MM-DD, empty when unknown. |
status | string | Release state, for example Released or In Production. |
runtime | integer | Minutes. |
budget, revenue | integer | US dollars, 0 when unknown. |
genres | array | Objects with id and name. |
belongs_to_collection | object or null | id, name, poster_path, backdrop_path. See collections. |
production_companies | array | id, logo_path, name, origin_country. |
production_countries | array | iso_3166_1, name. |
spoken_languages | array | english_name, iso_639_1, name. |
origin_country | array | Country codes such as US. |
poster_path, backdrop_path | string or null | Append to https:/. See images. |
popularity | number | Relative score used by the popular list. |
vote_average, vote_count | number, integer | Aggregate user score. |
adult, video | boolean | Both are false. Adult titles are never served. |
Example response
GET /, with long arrays and text shortened:
{
"adult": false,
"backdrop_path": "/b9HyPoxwxjxkWEUL5ErZdhApQe2.jpg",
"belongs_to_collection": null,
"budget": 63000000,
"genres": [
{
"id": 18,
"name": "Drama"
},
{
"id": 53,
"name": "Thriller"
}
],
"homepage": "https://www.20thcenturystudios.com/movies/fight-club",
"id": 550,
"imdb_id": "tt0137523",
"origin_country": [
"US",
"DE"
],
"original_language": "en",
"original_title": "Fight Club",
"overview": "A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking n...",
"popularity": 39.0054,
"poster_path": "/jSziioSwPVrOy9Yow3XhWIBDjq1.jpg",
"production_companies": [
{
"id": 25,
"logo_path": "/nM2MfoMqzJQRiSynsDabOtFKetD.png",
"name": "20th Century Fox",
"origin_country": "US"
},
{
"id": 508,
"logo_path": "/4sGWXoboEkWPphI6es6rTmqkCBh.png",
"name": "Regency Enterprises",
"origin_country": "US"
}
],
"production_countries": [
{
"iso_3166_1": "US",
"name": "United States of America"
},
{
"iso_3166_1": "DE",
"name": "Germany"
}
],
"release_date": "1999-10-15",
"revenue": 101209702,
"runtime": 139,
"spoken_languages": [
{
"english_name": "English",
"iso_639_1": "en",
"name": "English"
}
],
"status": "Released",
"tagline": "Mischief. Mayhem. Soap.",
"title": "Fight Club",
"video": false,
"vote_average": 8.437,
"vote_count": 33039,
"ratings": {
"imdb": {
"value": 8.8,
"votes": 2669989
},
"kinopoisk": {
"value": 8.7,
"votes": null
},
"metacritic": {
"value": 67,
"votes": null
},
"rotten_tomatoes": {
"value": 81,
"votes": null
},
"tmdb": {
"value": 8.437,
"votes": 33039
}
}
}The ratings block comes from append_to_response. Each provider is a {value, votes} object or null, as described on the movie ratings API page. IMDb, Kinopoisk and TMDB are out of 10, Metacritic and Rotten Tomatoes out of 100.
How does append_to_response save requests?
One call can replace six. List the sub-resources you need and each arrives under its own key. The standard TMDB values work: credits, videos, images, keywords, translations, external_ids, release_dates, alternative_titles, recommendations, similar, reviews, lists and watch/providers. amodb adds five more.
| Value | Adds | Details |
|---|---|---|
ratings | IMDb, Kinopoisk, Metacritic, Rotten Tomatoes and TMDB scores | Movie ratings API |
moods | Mood meters | Movie mood API |
soundtracks | Tracks heard in the movie | Movie soundtrack API |
wikidata | Wikidata id, budget, box office, awards, filming locations | Search by IMDb id |
showtimes | Cinema showtimes where known | Cinema showtimes API |
Each appended block counts as part of one HTTP request. A request with ten appended values still uses one of your 20, 40 or 120 requests per minute. The appended ratings, moods and soundtracks blocks leave out the id key that the standalone paths return.
The table below compares one call with separate calls for the same data. Cached replies count toward the rate too, so appending is the cheaper way to read several blocks.
| Goal | Calls | Requests used |
|---|---|---|
| Details only | /movie/550 | 1 |
| Details, credits, videos and ratings in one call | / | 1 |
| The same four blocks with separate calls | /movie/550, /credits, /videos, /ratings | 4 |
Which related movie endpoints are there?
All paths below share the base https:/ and the language parameter.
| Method and path | Returns | Extra parameters |
|---|---|---|
GET / | {id, titles}, often an empty array | none |
GET / | Release dates and certifications per country | none |
GET / | A list of 20 recommended movies | none |
GET / | A list of 20 similar movies | none |
GET / | results is empty for most titles | none |
GET / | Public lists that contain the movie | page |
GET / | Streaming and rental providers per country | none |
GET /movie/latest | The newest movie record added | none |
The recommendations and similar lists always return page 1 with 20 items. The lists reply is paged with page, 20 lists per page. Paged lists elsewhere on the API take page from 1 to 500.
Credits, images, videos, translations, keywords and external ids have their own pages: the credits API, TMDB image URL, TMDB trailer API, translations API, keywords API and search by IMDb id. amodb does not offer the TMDB changes paths.
How is this different from the TMDB movie details endpoint?
The path, the query parameters and the JSON fields are the same. What changes is the host, the key and a few extras. TMDB's own movie details reference returns its user score (vote_average, vote_count) and an imdb_id, with no IMDb, Rotten Tomatoes or Metacritic score. Facts about TMDB below were read on 2026-10-19.
| TMDB | amodb | |
|---|---|---|
| Base URL | https:/ | https:/ |
| Path | GET / | GET / |
| Movie ids | TMDB ids | The same ids |
| Scores in the reply | vote_average, vote_count | The same, plus ratings from five sources through append_to_response |
| Extra append values | None of these | moods, soundtracks, wikidata, showtimes |
| Rate limit | About 40 requests per second per IP, and TMDB says it could change | 20, 40 or 120 requests per minute per account |
| Logo or attribution | TMDB terms require the TMDB logo and a not-endorsed notice | No amodb logo; credit JustWatch and licensed texts and images as marked |
| Write methods | Rating and list methods exist | Not offered, they answer 405 |
For the full comparison of price, terms and limits, read amodb vs TMDB and the TMDB API alternative page.
Personal or commercial project?
TMDB is free only until your app earns money. Its staff say an app counts as commercial the moment it earns revenue from ads, in-app purchases, donations or subscriptions, and the commercial plan costs $149 a month for companies under $1M revenue (TMDB staff, 2026-03-31). amodb costs from $5.19 a month, which is 3.5% of that price, charges nothing extra for commercial use and requires no amodb logo. Third party credits still apply: credit JustWatch for where to watch data, and show the attribution credit wherever a text or image carries one. See amodb pricing for the three plans.
What errors can the movie details API return?
Errors use the TMDB body, for example {"success": false,.
| HTTP | status_code | When |
|---|---|---|
| 401 | 7 | The key is missing or wrong. |
| 402 | 36 | The plan period has ended. |
| 404 | 34 | No movie with that id, a path that is not offered, or an adult title. |
| 405 | 37 | You called a write method such as rating a movie. |
| 429 | 25 | You went over your requests per minute. Wait for the Retry-After seconds. |
The full list is on the error codes page, and limits per plan are on rate limits.
Practical notes
- Store the
idandimdb_idtogether. Either one finds the movie again through search by IMDb id. - Request the language you display. A text field can be empty when no translation exists in that language, so check for an empty string and re-request in
en-USif you need a fallback. - Cache details on your side for a few hours. The server cache already holds them for 6 hours, so a shorter client cache gains nothing.
- To list movies instead of reading one, see the TMDB search API, the TMDB discover API and the TMDB trending API.
- To call this endpoint from code, follow TMDB API in Python or TMDB API in JavaScript. For the product overview, see the movie API page.