Movie ratings API: IMDb, Rotten Tomatoes, Metacritic
The movie ratings API is GET /3/movie/{movie_id}/ratings. It returns IMDb, Kinopoisk, Metacritic, Rotten Tomatoes and TMDB scores in one object, and any of the five can be null. IMDb, Kinopoisk and TMDB are out of 10, Metacritic and Rotten Tomatoes out of 100. Add append_to_response=ratings to merge it into details.
Which ratings does the API return?
The ratings endpoint returns five scores for a movie or series in one object: IMDb, Kinopoisk, Metacritic, Rotten Tomatoes and TMDB. IMDb, Kinopoisk and TMDB are out of 10, and Metacritic and Rotten Tomatoes are out of 100. Any of the five can be null, because a source may hold no score for the title, so write your code against null. For Fight Club (movie 550) IMDb reads 8.8 with 2,669,989 votes.
amodb serves the endpoint under the TMDB v3 base URL https:/ with plans from $5.19 a month, see amodb pricing. TMDB's own movie details return only the TMDB user score and imdb_id, so the other scores come from this endpoint. A scoreboard that needs more than one source takes one request here.
GET / returns the scores that rating sources publish for one movie. The reply has the movie id and five source keys: imdb, kinopoisk, metacritic, rotten_tomatoes and tmdb. Each source key holds an object with value and votes, or null when that source is not known for the title.
The sample loads Fight Club (id 550) and prints every source, marking the unknown ones.
curl -sf "https://api.amodb.dev/3/movie/550/ratings" \
-H "Authorization: Bearer $AMODB_KEY"const res = await fetch('https://api.amodb.dev/3/movie/550/ratings', {
headers: { Authorization: `Bearer ${process.env.AMODB_KEY}` },
});
if (!res.ok) throw new Error(`amodb returned ${res.status}`);
const ratings = await res.json();
for (const source of ['imdb', 'kinopoisk', 'metacritic', 'rotten_tomatoes', 'tmdb']) {
const score = ratings[source];
console.log(source, score ? `${score.value} (votes: ${score.votes ?? 'unknown'})` : 'not known');
}import os
import requests
r = requests.get(
"https://api.amodb.dev/3/movie/550/ratings",
headers={"Authorization": f"Bearer {os.environ['AMODB_KEY']}"},
timeout=10,
)
r.raise_for_status()
ratings = r.json()
for source in ("imdb", "kinopoisk", "metacritic", "rotten_tomatoes", "tmdb"):
score = ratings[source]
if score is None:
print(source, "not known")
else:
print(source, score["value"], "votes:", score["votes"] or "unknown")<?php
$ch = curl_init('https://api.amodb.dev/3/movie/550/ratings');
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");
}
$ratings = json_decode($body, true);
foreach (['imdb', 'kinopoisk', 'metacritic', 'rotten_tomatoes', 'tmdb'] as $source) {
$score = $ratings[$source];
echo $source, ' ', $score === null ? 'not known' : $score['value'] . ' votes: ' . ($score['votes'] ?? 'unknown'), PHP_EOL;
}package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
"time"
)
type Score struct {
Value float64 `json:"value"`
Votes *int `json:"votes"`
}
type Ratings struct {
IMDb *Score `json:"imdb"`
Kinopoisk *Score `json:"kinopoisk"`
Metacritic *Score `json:"metacritic"`
RottenTomatoes *Score `json:"rotten_tomatoes"`
TMDB *Score `json:"tmdb"`
}
func show(name string, s *Score) {
if s == nil {
fmt.Println(name, "not known")
return
}
if s.Votes == nil {
fmt.Println(name, s.Value, "votes: unknown")
return
}
fmt.Println(name, s.Value, "votes:", *s.Votes)
}
func main() {
req, _ := http.NewRequest("GET", "https://api.amodb.dev/3/movie/550/ratings", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("AMODB_KEY"))
client := &http.Client{Timeout: 10 * time.Second}
res, err := client.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
if res.StatusCode != http.StatusOK {
panic(res.Status)
}
var r Ratings
if err := json.NewDecoder(res.Body).Decode(&r); err != nil {
panic(err)
}
show("imdb", r.IMDb)
show("kinopoisk", r.Kinopoisk)
show("metacritic", r.Metacritic)
show("rotten_tomatoes", r.RottenTomatoes)
show("tmdb", r.TMDB)
}Parameters
movie_idpathrequiredNumeric movie id, for example550.api_keyqueryone of twoYour key. Use this or theAuthorization: Bearerheader.
Response fields
| Field | Type | Notes |
|---|---|---|
id | integer | Movie id. Not present when you use append_to_response. |
imdb | object or null | IMDb score, out of 10 with one decimal. |
kinopoisk | object or null | Kinopoisk score, out of 10 with one decimal. |
metacritic | object or null | Metacritic score, out of 100 as an integer. |
rotten_tomatoes | object or null | Rotten Tomatoes score, out of 100 as an integer. |
tmdb | object or null | TMDB user score, out of 10 with up to three decimals. |
value | number | Inside each source object. The score on that source's own scale. |
votes | integer or null | Inside each source object. Number of votes behind the score, or null when it is not known. |
Read the five source keys by name and skip any other key. The source keys always come in the same order: imdb, kinopoisk, metacritic, rotten_tomatoes, tmdb.
Example response
{
"id": 550,
"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 }
}Only IMDb and TMDB come with a vote count here. Kinopoisk, Metacritic and Rotten Tomatoes have a score and a null vote count.
Can I get ratings for a TV series?
GET / has the same keys and the same null rules. Pass the series id, for example 1396 for Breaking Bad.
| Method and path | Returns | Parameters |
|---|---|---|
GET / | id and five sources | movie_id |
GET / | id and five sources | tv_id |
curl -sf "https://api.amodb.dev/3/tv/1396/ratings" -H "Authorization: Bearer $AMODB_KEY"Breaking Bad has no Metacritic score, so that source is null:
{
"id": 1396,
"imdb": { "value": 9.5, "votes": 2671962 },
"kinopoisk": { "value": 8.9, "votes": null },
"metacritic": null,
"rotten_tomatoes": { "value": 96, "votes": null },
"tmdb": { "value": 9, "votes": 18863 }
}How do I add ratings to a details call?
append_ works on movie and TV details. The object arrives under the ratings key next to the usual fields, without its own id. A list page needs one request per title instead of two.
| Request | Where the scores appear |
|---|---|
/ | ratings in the movie record |
/ | ratings and credits in the series record |
See the movie details API and TMDB TV API pages for the other values you can append.
Why is a rating source null?
A null source is not a zero score. It means the score is missing for the title.
| Key | Source | Scale | Label to show |
|---|---|---|---|
imdb | IMDb | 0 to 10 | IMDb |
kinopoisk | Kinopoisk | 0 to 10 | Kinopoisk |
metacritic | Metacritic | 0 to 100 | Metacritic |
rotten_tomatoes | Rotten Tomatoes | 0 to 100 | Rotten Tomatoes |
tmdb | TMDB | 0 to 10 | TMDB |
Coverage varies by title, so code against null, not against a fixed list of sources. Any of the five keys can be null for any title.
How do ratings differ from vote_average?
The vote_average and vote_count fields on a movie or series record are the TMDB user score. The tmdb key carries the same score in the same shape as the other four, so one call gives you all five sources in one format.
Each source has its own audience and scale. Do not average them and do not compare a value from one source with the vote count of another.
Show ratings in an app
Render only the sources that are present. A short badge list is enough for a card. Add the scale so a reader can tell 8.8 out of 10 from 67 out of 100.
const labels = {
imdb: ['IMDb', 10],
kinopoisk: ['Kinopoisk', 10],
metacritic: ['Metacritic', 100],
rotten_tomatoes: ['Rotten Tomatoes', 100],
tmdb: ['TMDB', 10],
};
function badges(ratings) {
return Object.entries(labels)
.filter(([key]) => ratings[key])
.map(([key, [label, max]]) => `${label} ${ratings[key].value}/${max}`);
}Show the label with every value. When all five are null, hide the block instead of showing empty badges.
Does Rotten Tomatoes have an API?
You can read the Rotten Tomatoes score through amodb without a separate Rotten Tomatoes key. The ratings endpoint returns it in rotten_tomatoes, out of 100, with the other four sources in the same call. Fight Club shows 81 and Breaking Bad shows 96 in the examples above.
The score is not guaranteed. A title can have no Rotten Tomatoes score, and the same goes for Metacritic, as the Breaking Bad answer shows with "metacritic": null. Rotten Tomatoes and Metacritic scores belong to their owners. Whether Rotten Tomatoes offers its own public API is a question for its site: check their site for current terms. The same goes for a Metacritic API.
How much does an IMDb rating API cost?
The official IMDb API is sold through AWS Marketplace and costs $400,000 per 12 months plus metered fees. Most apps use a cheaper route, so the table lines up the options that return a rating. Prices and terms were read on 2026-10-19.
| Option | Scores returned | Price and terms |
|---|---|---|
| IMDb official API | IMDb data | AWS Marketplace listing "IMDb and Box Office Mojo API" at $400,000 per 12 months plus metered fees. The bulk "Essential" data listing is $150,000 per 12 months. No free API tier. |
| IMDb free datasets | IMDb TSV files | Free, for personal and non-commercial use only. |
| OMDb | IMDb, Metascore and Rotten Tomatoes in a Ratings array, N/A on some titles | Free key with 1,000 requests a day. Patreon tiers: $1 a month for 100,000 a day, $5 for 500,000, $10 with no daily limit. Terms say personal, non-commercial use. |
| TMDB | Its own user score and imdb_id, no IMDb, Rotten Tomatoes or Metacritic score | Free only until the app earns money, then $149 a month for companies under $1M revenue. |
| MDBList | IMDb, TMDb, Letterboxd, Rotten Tomatoes, Metacritic, MyAnimeList and RogerEbert | Free for 1,000 requests a day, EUR 1.20 to EUR 20 a month. |
| Trakt | Trakt community ratings | Standard API free, 500 GET requests per 5 minutes. Premium API $149 a month. |
| amodb | IMDb, Kinopoisk, Metacritic, Rotten Tomatoes and TMDB, each can be null | $5.19, $6.19 or $7.19 a month. No extra charge for commercial use; the terms do not prohibit it. Scores stay with their owners. |
For a personal project a free OMDb or TMDB key can be enough. For a paid app, OMDb's terms say personal and non-commercial use and TMDB asks $149 a month once you earn, while amodb starts at $5.19 a month. Sources: AWS Marketplace listing, OMDb on Patreon, OMDb legal page, TMDB movie details reference, MDBList plans and Trakt Premium.
OMDb style requests with the Ratings array work on amodb too, see the OMDb API documentation. The compare pages IMDb API, OMDb API and Kinopoisk API cover the other services in more depth.
Errors
Failures keep the TMDB error body, where success is false and status_code names the problem. A title with no scores is not one of them.
| HTTP | status_code | When |
|---|---|---|
| 401 | 7 | The key is missing or wrong. |
| 402 | 36 | The plan period has ended. |
| 404 | 34 | No movie or series with that id. |
| 429 | 25 | Over your requests per minute. Wait for the Retry-After seconds. |
An unknown score is null, not an error. Details are on error codes and rate limits.
Practical notes
- Ratings are cached at the edge for 6 hours, like details. Refreshing more often returns the same body.
- A request with
append_counts as one request against your 20, 40 or 120 requests per minute.to_ response= ratings - Store scores with the date you fetched them. Votes grow over time and the numbers move.
- To map an IMDb or Kinopoisk id to a title first, use search by IMDb id. For feelings rather than scores, see the movie mood API.
- A bot can print the scores in a chat reply, as the Discord movie bot tutorial does with an embed. A Python script that prints the IMDb rating is in TMDB API in Python.
- Every other endpoint is listed in the API reference.