Which languages does the movie metadata API serve?

amodb's movie metadata API serves text in 14 languages from one key, with one id per title in every language. Send language=ru-RU and the title, overview, tagline and genre names of /3/movie/550 come back in Russian; send a tag outside the 14, such as de-DE, and the reply is English with status 200. Every plan from $5.19 a month includes all 14 languages.

LanguageCodeExample tagWriting direction
Englishenen-USLeft to right
Russianruru-RULeft to right
Ukrainianukuk-UALeft to right
Belarusianbebe-BYLeft to right
Chinesezhzh-CNLeft to right
Portugueseptpt-BRLeft to right
Bulgarianbgbg-BGLeft to right
Hebrewhehe-ILRight to left
Czechcscs-CZLeft to right
Romanianroro-ROLeft to right
Frenchfrfr-FRLeft to right
Polishplpl-PLLeft to right
Italianitit-ITLeft to right
Spanisheses-ESLeft to right

The language parameter works on every endpoint that returns text, and it takes the same TMDB tags your client already sends. Ids stay the same in every language, so one row in your database serves all 14. The parameter rules are on language codes.

How does language fallback work?

Fallback happens at two levels: the tag you send, and each field in the reply.

The tag. amodb takes the part of the tag before the first - or _, lowercases it, and serves that language when it is one of the 14. Anything else returns English. A request never fails because of its tag.

You sendYou getNote
ru-RU, ru or ru_RURussianOne edge cache entry for all three
pt-BR or pt-PTPortugueseThe same text for both regions
zh-CN or zh-TWChineseThe same text for both regions
he-ILHebrewRight to left, see the Hebrew section below
de-DE, ja-JP or ko-KREnglishStatus 200; original_title keeps the original script

Japanese and Korean are not served as interface languages. Their original titles still come back in original_title for movies and original_name for TV series.

Each field. Not every title has text in every language. An overview can come back empty when no translation exists, and a title or tagline can come back in English. The API does not invent text. Use a fixed order so the page always shows something:

  1. Request the language you display.
  2. If a field is empty, request en-US for the same id, or read the English entry from the translations list.
  3. If the title is empty, show original_title.
  4. Store which language each field came from, so you can retry later.

The edge cache holds one copy per base language for each cached path, so the English fallback for a popular title is usually served from cache. It still counts as one request toward your rate, because the rate limit runs before the cache.

What data you get

EndpointLocalized content
GET /3/movie/{movie_id}title, overview, tagline, genre names
GET /3/tv/{tv_id}name, overview, tagline, genre names
GET /3/tv/{tv_id}/season/{season_number}Season and episode name and overview
GET /3/person/{person_id}biography
GET /3/genre/movie/listGenre names for filters and menus
GET /3/movie/{movie_id}/translationsEvery language of a title in one reply
GET /3/movie/{movie_id}/imagesPosters tagged by language, filtered with include_image_language
GET /3/movie/{movie_id}/videosVideos tagged by iso_639_1, all languages in one reply

Field lists are on movie details API and TMDB TV API, and the localized genre lists on TMDB genre ids.

Start in 3 steps

  1. Choose a plan on amodb pricing. The language set is the same on every plan: every plan has every TMDB v3 compatible endpoint, the OMDb compatible endpoint, images, 14 languages and the extensions.
  2. Enter your email and pay, then sign in with the 6 digit code amodb emails you. Your first key is created and shown once.
  3. Call any endpoint with a language tag, and send the key as api_key or as a Bearer header.

Example request

The bash sample prints the title of Fight Club (id 550) in three languages. It uses jq to print one field. The PHP sample requests Belarusian and falls back to English when the overview is blank.

bashphp
for lang in en-US ru-RU he-IL; do
  curl -s "https://api.amodb.dev/3/movie/550?language=$lang" \
    -H "Authorization: Bearer $AMODB_KEY" | jq -r '.title'
done
<?php
function amodb(string $path, array $query = []): array
{
    $url = 'https://api.amodb.dev/3' . $path . '?' . http_build_query($query);
    $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");
    }
    return json_decode($body, true);
}

function localizedMovie(int $id, string $lang): array
{
    $movie = amodb("/movie/$id", ['language' => $lang]);
    $movie['text_language'] = $lang;
    if (trim($movie['overview'] ?? '') === '') {
        $fallback = amodb("/movie/$id", ['language' => 'en-US']);
        $movie['overview'] = $fallback['overview'] ?? '';
        $movie['text_language'] = 'en-US';
    }
    return $movie;
}

$movie = localizedMovie(550, 'be-BY');
echo $movie['title'], ' (', $movie['original_title'], ')', PHP_EOL;
echo '[', $movie['text_language'], '] ', $movie['overview'], PHP_EOL;

Response for language=ru-RU, trimmed to a few fields. The key text_language in the PHP sample is added by your code, not by the API.

JSON
{
  "genres": [
    {
      "id": 18,
      "name": "драма"
    },
    {
      "id": 53,
      "name": "триллер"
    }
  ],
  "id": 550,
  "original_language": "en",
  "original_title": "Fight Club",
  "overview": "Сотрудник страховой компании страдает хронической бессонницей и отчаянно пытается вырваться из мучительно скучной жизни. Однажды в очередной командировке он...",
  "poster_path": "/66RvLrRJTm4J8l3uHXWF09AICol.jpg",
  "tagline": "«Интриги. Хаос. Мыло»",
  "title": "Бойцовский клуб"
}

Genre ids stay the same across languages (18 is drama, 53 is thriller), so store the id and look up the name in the language you display. The same pattern works in any language your server runs; the movie API page shows it in JavaScript.

How many requests does a multilingual site need?

Each detail call returns one language. The translations call returns text for every language at once, but only the text fields, so genre names, credits and posters still come from detail calls.

Languages on your siteDetail calls per titleWith one translations callNotes
11Not neededOne language tag
221 call plus 1 detail callThe detail call gives ids, credits and images
551 call plus 1 detail callGenre names come from the cached genre list
14141 call plus 1 detail callThe translations list can hold more than 14 entries

On the Lite plan at 20 requests per minute, a 5 language catalog of 1,000 titles costs 5,000 detail calls, about 4 hours and 10 minutes, or 2,000 calls with the translations route, about 1 hour and 40 minutes. Fetch /3/genre/movie/list once per language and keep it: 14 calls cover the genre names for every title in every language.

List every translation of a title

GET /3/movie/{movie_id}/translations returns a translations array, one entry per language that has data. The list can be longer than the 14 served languages: Fight Club has 50 entries. Use it to build a language switcher, or to store all texts of a title in one row.

FieldMeaning
iso_639_1, iso_3166_1Language and country codes
english_nameLanguage name in English
data.title (movies) or data.name (TV), data.overview, data.taglineLocalized text, the title can be empty
data.homepage, data.runtimeOptional values for that translation

The same endpoint exists for TV series and episodes. TV entries carry data.name and no runtime, and episode entries carry only name and overview. Seasons answer with an empty list, and people and collections have no translations endpoint. Details are on translations API. One translations call replaces up to 14 detail calls when you want all languages at once.

Posters and videos by language

Pictures and videos carry their own language tags in iso_639_1. On the image endpoints, pass a comma separated list and add null for items with no language, such as textless posters. The reply holds the matching items, so rank them in your code.

ParameterUsed onExample
include_image_languageImage endpointsru,en,null

The video endpoints return every language in one reply and ignore include_video_language, so filter on iso_639_1 yourself. Image files load from https://img.amodb.dev/t/p/{size}/{file} in 10 sizes from w92 to original, with no key and a 30 day cache. See TMDB image URL for the rules.

Hebrew and right-to-left text

Hebrew is the only right-to-left language of the 14. Handle it in the page, not in the data:

  • Set lang="he" and dir="rtl" on the element that holds the text.
  • Wrap Latin titles inside Hebrew text in a <bdi> element so punctuation does not jump to the wrong side.
  • Use logical CSS properties such as margin-inline-start instead of left and right.

The API returns plain Unicode and adds no direction marks, so the markup decides the direction.

How it compares

CapabilityScrape pages yourselfEnglish-only datasetamodb
LanguagesOne site locale per requestEnglish14 languages with language
Same id across languagesDifferent urls per localeNot applicableSame numeric id everywhere
All translations of a titleFetch each locale pageNot applicableOne translations call
Localized postersPer-locale image urlsCheck their docsinclude_image_language filter
Original titleParse from page textCheck their docsoriginal_title, original_name
Unknown language tagDepends on the siteNot applicableEnglish with status 200

For a TMDB client that only needs a new base URL, see TMDB API alternative.

How much does multilingual movie metadata cost?

The language set is the same on every plan, so what you choose is the rate and the period, plus the /3/all endpoint on Pro+: $5.19, $6.19 or $7.19 a month for 20, 40 or 120 requests per minute. Buy 1, 3, 6, 12 or 24 months prepaid, with 0, 10, 20, 30 or 40 percent off the longer ones; Lite on 24 months is $74.74, or $3.11 a month. Card, Apple Pay and Google Pay payments do not renew automatically, and Patreon is monthly and renews on Patreon until you cancel there. A site in five languages needs up to five detail calls per title, and repeat requests are served from the edge cache for 6 hours. No free tier. See amodb pricing.