Is there an API for movie trailers?
Yes. GET / returns every video attached to a movie in 1 request. Each item has a type, an official flag, a language code, a published_at timestamp, and the site and key that identify the video. Inception (id 27205) returns 42 videos in 9 languages. Keep the items where type is Trailer and official is true, and you have your trailer.
You get a list of video records you can rank yourself, not a stream. The reply names the video and where it lives, and your page builds the player from site and key. The same shape comes back for TV series. Season and episode paths answer with an empty list. The endpoint reference is on the TMDB trailer API page.
Are movie trailers public domain?
No. Rights to a trailer stay with its owners, usually the studio or distributor, and an API does not change that. amodb returns the video site and key, for example a YouTube key, not a video file. You embed the official player of the hosting site with that key, and the viewer streams the trailer from there. Read the hosting site's own terms for embedding, and do not download or re-host the files.
What does the movie trailer API return?
| Endpoint | Returns |
|---|---|
GET / | Trailers, teasers, clips, featurettes, behind the scenes and bloopers for a movie |
GET / | The same list for a series |
GET / | Always an empty results list |
GET / | Always an empty results list |
GET / with append_ | Details and videos in one request |
Fields on every video:
| Field | Type | Use |
|---|---|---|
type | string | Kind of video: Trailer, Teaser, Clip, Featurette, Behind the Scenes or Bloopers, as on the videos page |
official | boolean | true when the video is flagged as official |
iso_639_1, iso_3166_1 | string | Language and country codes of the video |
key, site | string | Identifier of the video and the name of the site that hosts it, YouTube on every video seen |
size | integer | Vertical resolution, 1080 on every video seen |
published_at | string | ISO 8601 timestamp, good for newest-first sorting |
name, id | string | Title of the video and its id, which is the same string as key |
Start in 3 steps
- Choose a plan on amodb pricing. Every plan has every endpoint on this page, so you pick by requests per minute.
- Enter your email and pay, then sign in with the 6 digit code amodb emails you. Your first key is created and shown once. It is 32 lowercase hex characters. The quickstart shows the first call.
- Call
GET /with the key in3/ movie/ {movie_ id}/ videos api_keyor in anAuthorization: Bearerheader.
Example request
The sample asks for the videos of Inception (id 27205), ranks them in code, and prints the best one. Ranking puts language matches first, then Trailer before Teaser, then official before unofficial, then the newest published_at.
curl -s "https://api.amodb.dev/3/movie/27205/videos" \
-H "Authorization: Bearer $AMODB_KEY"const BASE = 'https://api.amodb.dev/3';
const headers = { Authorization: `Bearer ${process.env.AMODB_KEY}` };
const TYPE_RANK = { Trailer: 0, Teaser: 2 };
function rank(video, lang) {
const language = video.iso_639_1 === lang ? 0 : 10;
const type = TYPE_RANK[video.type] ?? 4;
return language + type + (video.official ? 0 : 1);
}
async function pickTrailer(movieId, lang = 'en') {
const res = await fetch(`${BASE}/movie/${movieId}/videos`, { headers });
if (!res.ok) throw new Error(`amodb returned ${res.status}`);
const { results } = await res.json();
results.sort(
(a, b) => rank(a, lang) - rank(b, lang) || (b.published_at || '').localeCompare(a.published_at || ''),
);
return results[0] ?? null;
}
const trailer = await pickTrailer(27205, 'en');
console.log(trailer ? `${trailer.name}: ${trailer.site} ${trailer.key}` : 'no video found');Trimmed response: the first 2 of 42 videos. The list holds all languages.
{
"id": 27205,
"results": [
{
"iso_639_1": "en",
"iso_3166_1": "US",
"name": "The Dream Sequence",
"key": "mpj9dL7swwk",
"site": "YouTube",
"size": 1080,
"type": "Clip",
"official": true,
"published_at": "2022-03-09T01:00:20Z",
"id": "mpj9dL7swwk"
},
{
"iso_639_1": "en",
"iso_3166_1": "US",
"name": "35mm Theatrical Trailer #3",
"key": "cdx31ak4KbQ",
"site": "YouTube",
"size": 1080,
"type": "Trailer",
"official": false,
"published_at": "2022-03-07T06:00:19Z",
"id": "cdx31ak4KbQ"
}
]
}How do I play a trailer from its key?
The API never sends a video file. It sends the name of the hosting site and the key of the video on that site. For a YouTube video, the embed address is https:/ followed by the key, and the watch page is https:/ followed by the key.
function playerUrl(video) {
if (video.site !== 'YouTube') return null;
return `https://www.youtube.com/embed/${video.key}`;
}Every video in the data served today has site set to YouTube, but check the field in your code and keep a fallback for other values. Put the address in an iframe of the page that shows the title. The viewer streams the trailer from the hosting site, so you pay no bandwidth for the video, and the site's own embedding terms apply.
Which video should I play first?
A title often has several official trailers (a first announcement, a final cut) next to teasers and clips. Rank them with a fixed order so the page never ends up with a blooper reel in the trailer slot.
| Priority | Filter | Typical use |
|---|---|---|
| 1 | Trailer, official, language matches | The video to play |
| 2 | Trailer, not official | Regional or fan uploads when nothing official exists |
| 3 | Teaser, official | Short pre-release spots |
| 4 | Clip, Featurette | Fallback so the slot is not empty |
| skip | Behind the Scenes, Bloopers | Show in a separate extras list |
Sort ties by published_at. Newest first gives the latest cut, oldest first gives the first announcement.
Can I get movie clips and featurettes?
Yes. The same endpoint is a movie clip API, because clips arrive in the same list as trailers. Filter type to pick the kind you need.
type value | Content | Where to show it |
|---|---|---|
Trailer | Full length promotional film | Main player |
Teaser | Short spot before the trailer | Fallback player |
Clip | Scene from the movie | Scene gallery |
Featurette | Short documentary about the production | Extras tab |
Behind the Scenes | Making of footage | Extras tab |
Bloopers | Outtakes | Extras tab |
Clips and extras carry the same site, key, language and date fields as trailers, so one parser serves every list. In the sample reply above, the first item is a Clip named "The Dream Sequence".
How do trailer languages work?
Videos are tagged with a language through iso_639_1, and one title can have trailers in several. Inception has 42 videos in 9 languages. amodb returns all of them in one reply. The language and include_video_language parameters have no effect on the videos endpoints, so choose the language in your code.
| Step | What to do |
|---|---|
| 1 | Keep the videos whose iso_639_1 matches your user, for example ru |
| 2 | If none match, keep en |
| 3 | If none match, keep the rest |
Rank inside each step by type and the official flag as in the sample. Video languages follow the upload, not the 14 interface languages listed on language codes, so a trailer can be cs or he.
Can I get trailers for TV series?
A series trailer lives at /3/tv/1396/videos (Breaking Bad), which holds 9 trailers. The ranking function above works as is, because the fields do not change. Season and episode paths such as / answer 200 with an empty results list, so read the series list instead. See the TMDB TV API page for series fields.
How many requests does a trailer rail cost?
A rail of now playing movies needs one list call and one call per title: GET / (see TMDB trending API) plus ten video calls make 11 requests for ten titles.
| Task | Calls | Requests |
|---|---|---|
| Trailer for one movie | GET / | 1 |
| Details plus trailer | GET / | 1 |
| Trailer rail for 10 now playing movies | 1 list call, 10 video calls | 11 |
| Trailer for one series | GET / | 1 |
On the 20 requests per minute plan, an 11 request rail uses about 33 seconds of budget. Store the picked key next to the movie id. Trailers change rarely, so refresh a stored pick every few hours or when a title is re-released. Replies from the edge cache still count toward the rate.
Is there a free movie trailer API?
amodb is not free: no free tier, no trial, and plans start at $5.19 a month. Another option people consider is KinoCheck, so check its site for current terms. If you call TMDB directly, its free key is meant for apps that earn nothing. TMDB staff said on the TMDB forum on 2026-10-15 that an app is commercial once 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 charges nothing extra for commercial use on any plan, and its terms do not prohibit it. Trailers stay with their owners, and you are responsible for how you show them. See the TMDB API alternative page for the full comparison, and the movie API page for the rest of the catalog.
How does it compare?
| Capability | Scrape pages yourself | Free-tier metadata API | amodb |
|---|---|---|---|
| Official flag | Guess from the page title | Check their docs | official boolean on every video |
| Video type filter | Parse text | Check their docs | Six type values |
| Language choice | One locale per page | Check their docs | iso_639_1 and iso_3166_1 on every video, filtered in your code |
| Series and episodes | Separate pages to crawl | Check their docs | Series use the same endpoint, season and episode lists are empty |
| Upkeep | Breaks when markup changes | Depends on the provider | One stable JSON shape |
| Terms | You carry the risk | Check their terms | Paid plans, see amodb pricing |
How much does the movie trailer API cost?
Card, Apple Pay and Google Pay payments are prepaid for 1, 3, 6, 12 or 24 months, with 0, 10, 20, 30 or 40 percent off for the longer periods, and they do not renew automatically. Patreon is monthly only and renews on Patreon each month until you cancel there. Every plan serves every endpoint on this page, so a busy trailer rail is a question of rate.
| Plan | Requests per minute | At most per day | Price per month |
|---|---|---|---|
| Lite | 20 | 28,800 | $5.19 |
| Pro | 40 | 57,600 | $6.19 |
| Pro+ | 120 | 172,800 | $7.19 |
The lowest price is $3.11 a month: Lite for 24 months, $74.74 in one card payment. There is no free tier and no trial. Every plan has every TMDB v3 compatible endpoint, the OMDb compatible endpoint, images, 14 languages and the extensions. Pro+ also has the all in one endpoint GET /, which answers HTTP 403 with status_code 3 on Lite and Pro. See rate limits for the window and the headers, or compare plans on amodb pricing.