TMDB API tutorials
These TMDB API tutorials build small, working movie apps step by step: search, details, posters, ratings, a Telegram bot and a Discord bot. The code uses the TMDB v3 JSON shape against https://api.amodb.dev/3, so only the base URL and key differ from TMDB. Each tutorial lists what you need, numbered steps and the JSON you should see.
-
TMDB API Python tutorial: search a movie and read ratings
TMDB API Python tutorial with requests: search a title, fetch cast and IMDb rating in 2 calls, retry on 429 and cache replies. Runs on amodb, TMDB v3 shape.
-
TMDB API JavaScript tutorial: movie cards with Node.js fetch
TMDB API JavaScript tutorial for Node.js 20: load details, credits and 5 ratings in 1 request per movie with fetch, a TTL cache and 429 retry. No npm packages.
-
TMDB API PHP tutorial: a cURL client and a movie page
TMDB API PHP tutorial with cURL: one function with 429 retry and a 6 hour file cache, plus a movie page with poster, cast and IMDb score. PHP 8.2 or newer.
-
TMDB API golang tutorial: top rated movies with net/http
TMDB API golang tutorial: build a CLI that lists top rated movies by genre and year with typed structs, a 429 retry on Retry-After and a 30 minute disk cache.
-
TMDB API Java tutorial: an episode guide with HttpClient
TMDB API Java tutorial with the JDK HttpClient and Jackson: print every episode of a season in 1 request, retry on 429 and cache replies. Java 17 or newer.
-
TMDB API C# tutorial for .NET 8
Call the TMDB API from C# with HttpClient on .NET 8. Search a title, load IMDb and TMDB ratings and a poster URL in 2 requests, with no NuGet package.
-
TMDB API Swift tutorial with SwiftUI
Use the TMDB API from Swift: an iOS 16 SwiftUI app with URLSession lists 20 trending movies with posters in 1 request and keeps the key off the device.
-
Next.js movie app tutorial with the App Router
Build a Next.js movie app on Next.js 15: server components call a TMDB v3 compatible API for trending, search and ratings and keep the key off the browser.
-
Telegram movie bot tutorial with grammY
Build a Telegram movie bot with grammY and Node.js: /movie returns the poster, year, runtime and IMDb rating in 2 API requests. Searches titles, no streaming.
-
Discord movie bot tutorial with discord.js
Build a Discord movie bot with discord.js v14: a /movie slash command replies with an embed of poster, IMDb and Kinopoisk ratings in 2 API requests.
Start with one key
Every plan gets the same data, all 14 languages and images. Plans differ in requests per minute, and Pro+ also gets /3/all: everything about a title or person in one request.
$ curl https://api.amodb.dev/3/movie/550 -H "Authorization: Bearer $AMODB_KEY" curl https://api.amodb.dev/3/movie/550 -H "Authorization: Bearer $AMODB_KEY"