Back to APIs
TMDB
The Movie Database (TMDB) provides metadata for millions of movies and TV shows — cast, ratings, trailers, posters, and more.
Base URL
https://api.themoviedb.org/3moviesTV showscastratingsimages
Endpoints
GET
/movie/popularFetch a list of currently popular movies.
const response = await fetch("https://api.themoviedb.org/3/movie/popular?language=en-US&page=1", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
console.log(data);Response Preview
{
"page": 1,
"results": [{
"title": "Dune: Part Two",
"vote_average": 8.3,
"popularity": 1420.5,
"release_date": "2024-03-01",
"overview": "Follow the mythic journey of Paul Atreides..."
}]
}