Movie Suggestions
Explore how to use the TMDB API to retrieve user reviews, recommended movies, and similar movie lists based on keywords and genres. Understand the differences between movie recommendations and similar movie endpoints and learn to customize API requests with parameters such as language and pagination.
We'll cover the following...
Movie reviews
Movie reviews help individuals who have not watched the movie yet, to decide whether they want to watch it or not.
We can get user reviews for a movie using the movie reviews endpoint. The endpoint takes an integer path parameter movie_id and returns all the reviews for the requested movie.
This is the base URL in focus:
https://api.themoviedb.org/3/movie/{movie_id}/reviews?api_key={ourTMDBapikey}
Request parameters
The following input query parameters can be used with this endpoint:
Name | Type | Category | Description |
| string | optional | This is an |
| integer | optional | This is used to specify which page to query. Its value can be in a range 1–1000 inclusive. The default value is |
The widget below has the code to fetch all the user reviews for our requested movie.
The following values can be used for this example:
Movie Name | Movie ID |
The Godfather | 238 |
Titanic | 597 |
Child's Play | 10585 |
Dhamaal | 20413 |
Big Hero 6 | 177572 |
Click "Edit" to enter the values for API_KEY and ...