Movies
Changed onGet the trending movies on TMDB.
get/3/trending/movie/{time_window}
Request
- Base URLhttps://api.themoviedb.org
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
time_window'day' | 'week' required
Query parameters
languagestring
ISO-639-1-ISO-3166-1 code
Response
200
Example response
{
"page": 1,
"results": [
{
"backdrop_path": "/44immBwzhDVyjn87b3x3l9mlhAD.jpg",
"id": 934433,
"title": "Scream VI",
"original_language": "en",
"original_title": "Scream VI",
"overview": "Following the latest Ghostface killings, the four survivors leave Woodsboro behind and start a fresh chapter.",
"poster_path": "/wDWwtvkRRlgTiUr6TyLSMX8FCuZ.jpg",
"media_type": "movie",
"genre_ids": [
27
],
"popularity": 609.941,
"release_date": "2023-03-08",
"vote_average": 7.374,
"vote_count": 684
}
],
"total_pages": 1000,
"total_results": 20000
}Changes
- info
endpoint added
- info