curl --request GET \
--url https://api.themoviedb.org/3/account/%7B{account_id}%7D/favorite/movies \
--header 'Authorization: Bearer <token>'
{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/hZkgoQYus5vegHoetLkCJzb17zJ.jpg",
"genre_ids": [
18
],
"id": 550,
"original_language": "en",
"original_title": "Fight Club",
"overview": "A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking new form of therapy. Their concept catches on, with underground \"fight clubs\" forming in every town, until an eccentric gets in the way and ignites an out-of-control spiral toward oblivion.",
"popularity": 208.31,
"poster_path": "/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg",
"release_date": "1999-10-15",
"title": "Fight Club",
"video": false,
"vote_average": 8.437,
"vote_count": 29477
}
],
"total_pages": 1,
"total_results": 1
}
StartFragment
This endpoint allows you to get a user’s list of favourite movies.
curl --request GET \
--url https://api.themoviedb.org/3/account/%7B{account_id}%7D/favorite/movies \
--header 'Authorization: Bearer <token>'
{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/hZkgoQYus5vegHoetLkCJzb17zJ.jpg",
"genre_ids": [
18
],
"id": 550,
"original_language": "en",
"original_title": "Fight Club",
"overview": "A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking new form of therapy. Their concept catches on, with underground \"fight clubs\" forming in every town, until an eccentric gets in the way and ignites an out-of-control spiral toward oblivion.",
"popularity": 208.31,
"poster_path": "/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg",
"release_date": "1999-10-15",
"title": "Fight Club",
"video": false,
"vote_average": 8.437,
"vote_count": 29477
}
],
"total_pages": 1,
"total_results": 1
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
language format of the details you want to get.
"en-US"
what page the query belongs
"1"
filter the query by ascending or descending order
"created_at.asc"
filter by the user session ID
"string"
list favourite movies
The response is of type object
.