Hello team, I noticed that the Discover endpoint doesn't work properly with a release date check this example
Scenario:
Expected output:
Movies from the range given date (2000-01-27 - 2021-10-10) for example "The Masked Saint - 2016-01-08", "战神纪 - 2018-04-28" movies shouldn't be there
Actual output:
{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/y9Dr6yCVYRmjKuDjOjNyWxVuGjp.jpg",
"genre_ids": [
80,
28
],
"id": 370464,
"original_language": "en",
"original_title": "The Masked Saint",
"overview": "The journey of a professional wrestler who becomes a small town pastor and moonlights as a masked vigilante fighting injustice. While facing crises at home and at the church, the Pastor must evade the police and somehow reconcile his violent secret identity with his calling as a pastor.",
"popularity": 822.958,
"poster_path": "/zlT1Tc9hA1Ntye5hr7Gxos9U6U9.jpg",
"release_date": "2016-01-08",
"title": "The Masked Saint",
"video": false,
"vote_average": 3.841,
"vote_count": 22
},
{
"adult": false,
"backdrop_path": "/vUusbRUPQjU85z3mq9rp2r1GYvf.jpg",
"genre_ids": [
28,
53
],
"id": 924763,
"original_language": "en",
"original_title": "Weekend Warriors",
"overview": "A fun camping trip turns into a desperate fight for survival after two kids witness a horrific event in the wild. They have to endure the elements and wildlife and they must also find a way to reach civilization before it's too late.",
"popularity": 291.029,
"poster_path": "/uGyZZODYqcYINRPIgaHbMmawQ2I.jpg",
"release_date": "2021-04-01",
"title": "Weekend Warriors",
"video": false,
"vote_average": 7.632,
"vote_count": 19
},
{
"adult": false,
"backdrop_path": "/zUY1WawCBY8y6YBoiUCAmUorXfx.jpg",
"genre_ids": [
14,
28,
12
],
"id": 528656,
"original_language": "zh",
"original_title": "战神纪",
"overview": "Temüjin and Börte are childhood lovers who are deeply in love; but news of Temüjin's father's death swiftly disrupted their relationship. Temüjin heads back to his hometown, but was faced with a sudden attack from his father's former comrades, causing his whole tribe to be destroyed.",
"popularity": 494.47,
"poster_path": "/FgFoX4wlZUT31ErGGzVnNlh8U3.jpg",
"release_date": "2018-04-28",
"title": "Genghis Khan",
"video": false,
"vote_average": 5.143,
"vote_count": 7
},
{
"adult": false,
"backdrop_path": "/iMujahWfsIB7eO8J1oatK6NGpAQ.jpg",
"genre_ids": [
27
],
"id": 863851,
"original_language": "es",
"original_title": "Mírame",
"overview": "Lalo is a teenager tormented by the recent death of his dad, and being forced to move to an old house with his grandmother Elena. After taking his dad's old wristwatch, the ghost of a young girl begins to haunt him. Now, Lalo's life is in danger as he tries to unfold the mysterious ghost who keeps frightening him, hoping to stop her from dragging him for good.",
"popularity": 246.769,
"poster_path": "/cF0pwv6ce82pPVCIEzB5ArnuIZx.jpg",
"release_date": "2021-08-20",
"title": "Mírame",
"video": false,
"vote_average": 6.844,
"vote_count": 64
},
{
"adult": false,
"backdrop_path": "/t7nUJ8aLDkGejeLiqrGCN3OGmnD.jpg",
"genre_ids": [
27
],
"id": 810271,
"original_language": "en",
"original_title": "The Resort",
"overview": "Four friends head to Hawaii to investigate reports of a haunting at an abandoned resort in hopes of finding the infamous Half-Faced Girl. When they arrive, they soon learn you should be careful what you wish for.",
"popularity": 222.63,
"poster_path": "/bXZUVJP8Fr3RId7SSsV4RXvjnIh.jpg",
"release_date": "2021-04-30",
"title": "The Resort",
"video": false,
"vote_average": 4.598,
"vote_count": 107
},
{
"adult": false,
"backdrop_path": "/j6HmtpElHPSkoRIGNlkcqC5aU9g.jpg",
"genre_ids": [
80
],
"id": 101251,
"original_language": "en",
"original_title": "El Padrino II: Border Intrusion",
"overview": "",
"popularity": 217.207,
"poster_path": "/yHtPjWgO3wCnY21qKL3NjbBbthx.jpg",
"release_date": "2008-01-01",
"title": "El Padrino II: Border Intrusion",
"video": false,
"vote_average": 6.25,
"vote_count": 4
},
{
"adult": false,
"backdrop_path": "/5d3v2DhPsh2fO0kb2zUuFp6KovA.jpg",
"genre_ids": [
28,
878
],
"id": 491854,
"original_language": "en",
"original_title": "Foxtrot Six",
"overview": "Escalating climate change is turning the world economy upside down. With crops dying and food price spiking, FOOD has replaced oil as the world's most valuable commodity. Among the very few lands still left fertile, Indonesia is quickly rising as the next economic superpower, when its government is suddenly and ruthlessly overtaken by a popular rogue political party. In just three days, six former Marines must work together, find their long-lost brotherhood, stop a nationwide government- sanctioned genocide, and save millions of lives, for one last shot at redemption. Or die trying.",
"popularity": 213.87,
"poster_path": "/o7c8FKCZFIrLKrZSzgqufvNo4mr.jpg",
"release_date": "2019-02-21",
"title": "Foxtrot Six",
"video": false,
"vote_average": 6.457,
"vote_count": 35
},
{
"adult": false,
"backdrop_path": "/9QusGjxcYvfPD1THg6oW3RLeNn7.jpg",
"genre_ids": [
28,
12,
14
],
"id": 297802,
"original_language": "en",
"original_title": "Aquaman",
"overview": "Once home to the most advanced civilization on Earth, Atlantis is now an underwater kingdom ruled by the power-hungry King Orm. With a vast army at his disposal, Orm plans to conquer the remaining oceanic people and then the surface world. Standing in his way is Arthur Curry, Orm's half-human, half-Atlantean brother and true heir to the throne.",
"popularity": 223.85,
"poster_path": "/zdw7Wf97vsQ0YnGomxDqfcEdUjX.jpg",
"release_date": "2018-12-07",
"title": "Aquaman",
"video": false,
"vote_average": 6.902,
"vote_count": 13418
},
{
"adult": false,
"backdrop_path": "/vDf9FmgCbn9YH4JGTpIsyiKX1fa.jpg",
"genre_ids": [
28,
878
],
"id": 816741,
"original_language": "es",
"original_title": "Ojos Grises",
"overview": "In a post-apocalyptic future, mankind is color blind. A brilliant scientist suddenly dies, leaving his precious briefcase-filled with a highly-addictive synthetic drug that allows people to see colors again-to Ana, a mere 12-year-old girl. Possession of the briefcase makes her the target of a doctor with wicked plans for the drug, and her only hope to escape his pursuit relies on the aid of the dead scientist's two devoted bodyguards. Together, their epic, perilous journey pivots on a tremendous secret: Ana herself could be the key to salvaging a world in ruins.",
"popularity": 202.897,
"poster_path": "/5InVYa7CcbGioPvQ6ig4Lz4iLlR.jpg",
"release_date": "2018-05-11",
"title": "Grey Eyes",
"video": false,
"vote_average": 5.6,
"vote_count": 7
},
{
"adult": false,
"backdrop_path": "/38Tiuonb8H0FqmR4WLcRCIfUVGV.jpg",
"genre_ids": [
10751,
14,
878
],
"id": 487047,
"original_language": "en",
"original_title": "A Witches' Ball",
"overview": "Every year the Witching World gathers to celebrate the newly inducted witches into their world. Beatrix (12) is eager to become part of this world, but when her pending magical status is jeopardized she needs the help of her furry best friend Muggs (voiced by Joey Fatone) to solve some magical riddles before the big event. Will Beatrix sink or soar on the night of the Witches' Ball?",
"popularity": 182.39,
"poster_path": "/70RiLlSIi5q17Ybnq61rUt8JVoU.jpg",
"release_date": "2017-05-06",
"title": "A Witches' Ball",
"video": false,
"vote_average": 6.228,
"vote_count": 57
},
{
"adult": false,
"backdrop_path": "/lnW8H1fNtzzI8OOrjZmXzMn5A0j.jpg",
"genre_ids": [
12,
10751,
878
],
"id": 506517,
"original_language": "hr",
"original_title": "Moj dida je pao s Marsa",
"overview": "Una and an alien robot have 24 hours to find her Grandpa who was kidnapped by aliens. The extraordinary adventure leads to friendship, the rational robotic logic is replaced by emotions and Una's selfless love saves her partly alien family.",
"popularity": 155.232,
"poster_path": "/bWXH1kEDlLkHmn2R0udaspgVQSJ.jpg",
"release_date": "2019-03-21",
"title": "My Grandpa is an Alien",
"video": false,
"vote_average": 7.3,
"vote_count": 23
},
{
"adult": false,
"backdrop_path": "/uBz7ji0Zw3vX99WH31rHFG5X0Az.jpg",
"genre_ids": [
28,
18
],
"id": 845861,
"original_language": "hi",
"original_title": "State of Siege: Temple Attack",
"overview": "Based on the true incident of the 2002 terrorist attack in Gujarat's Akshardham temple, the story revolves around the bravery of NSG commandos, who stood up for their country and their people in the worst of times.",
"popularity": 178.981,
"poster_path": "/ckghAN8FuYY2icUyJjVkKXiBrek.jpg",
"release_date": "2021-07-09",
"title": "State of Siege: Temple Attack",
"video": false,
"vote_average": 6.19,
"vote_count": 29
},
{
"adult": false,
"backdrop_path": "/mDfJG3LC3Dqb67AZ52x3Z0jU0uB.jpg",
"genre_ids": [
12,
28,
878
],
"id": 299536,
"original_language": "en",
"original_title": "Avengers: Infinity War",
"overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.",
"popularity": 182.633,
"poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg",
"release_date": "2018-04-25",
"title": "Avengers: Infinity War",
"video": false,
"vote_average": 8.251,
"vote_count": 28399
},
{
"adult": false,
"backdrop_path": "/hRPKfuotMeyRiXXGPKmmrVXD5DG.jpg",
"genre_ids": [
28
],
"id": 504148,
"original_language": "en",
"original_title": "The Serpent",
"overview": "Top special agent Lucinda Kavsky works for a secret part of the CIA. She's given a special assignment but then set up by her own agency.",
"popularity": 167.707,
"poster_path": "/5OSfx8jJrjHWO9SU3Wtfd7Rs8PF.jpg",
"release_date": "2021-01-28",
"title": "The Serpent",
"video": false,
"vote_average": 5.712,
"vote_count": 33
},
{
"adult": false,
"backdrop_path": "/hziiv14OpD73u9gAak4XDDfBKa2.jpg",
"genre_ids": [
12,
14
],
"id": 671,
"original_language": "en",
"original_title": "Harry Potter and the Philosopher's Stone",
"overview": "Harry Potter has lived under the stairs at his aunt and uncle's house his whole life. But on his 11th birthday, he learns he's a powerful wizard—with a place waiting for him at the Hogwarts School of Witchcraft and Wizardry. As he learns to harness his newfound powers with the help of the school's kindly headmaster, Harry uncovers the truth about his parents' deaths—and about the villain who's to blame.",
"popularity": 196.477,
"poster_path": "/wuMc08IPKEatf9rnMNXvIDxqP4W.jpg",
"release_date": "2001-11-16",
"title": "Harry Potter and the Philosopher's Stone",
"video": false,
"vote_average": 7.915,
"vote_count": 26066
},
{
"adult": false,
"backdrop_path": "/nIiSCZvxDeCeXrOJnpbmRB8FcKH.jpg",
"genre_ids": [
28,
80,
18
],
"id": 79026,
"original_language": "en",
"original_title": "El padrino",
"overview": "In the streets of East Los Angeles, Manny is a formidable drug dealer. Impressed by his extravagant lifestyle and prowess, his young son, Kilo, yearns to follow in his footsteps. Kilo resolves to learn how to prosper in the drug world, and his new life as a dealer begins. In a world where a man wants everything, he may end up with nothing.",
"popularity": 153.353,
"poster_path": "/10J7EQ8WvMYku8lcZrLewV2Ko4I.jpg",
"release_date": "2004-09-27",
"title": "El padrino: The Latin Godfather",
"video": false,
"vote_average": 6.917,
"vote_count": 42
},
{
"adult": false,
"backdrop_path": "/1pFSJ9lxMYLkgLS5gmnwm1AEiqx.jpg",
"genre_ids": [
878
],
"id": 798141,
"original_language": "en",
"original_title": "Doors",
"overview": "Without warning, millions of mysterious alien “doors” suddenly appear around the globe. In a rush to determine the reason for their arrival, mankind must work together to understand the purpose of these cosmic anomalies.",
"popularity": 149.081,
"poster_path": "/pGPUXyhQTOqskKdDOD3Fmicqfc0.jpg",
"release_date": "2021-03-23",
"title": "Doors",
"video": false,
"vote_average": 5,
"vote_count": 149
},
{
"adult": false,
"backdrop_path": "/esyl5uvebhZPNIRcmGPUCZhRGRc.jpg",
"genre_ids": [
27
],
"id": 753453,
"original_language": "en",
"original_title": "V/H/S/94",
"overview": "A mysterious VHS tape leads a police S.W.A.T. team to the discovery of a sinister cult whose collection of pre-recorded material reveals a nightmarish conspiracy.",
"popularity": 160.446,
"poster_path": "/9fSogEkqDfJQTuGHsTFloQz3Tw8.jpg",
"release_date": "2021-09-26",
"title": "V/H/S/94",
"video": false,
"vote_average": 6.211,
"vote_count": 389
},
{
"adult": false,
"backdrop_path": "/zqwmvcLjif1xMWiUEFMiPtojy8i.jpg",
"genre_ids": [
28,
53,
27
],
"id": 786573,
"original_language": "en",
"original_title": "HellKat",
"overview": "A fallen MMA fighter must win a netherworld no-holds-barred death tournament against man, beast and demon to save her soul.",
"popularity": 146.548,
"poster_path": "/sNUQVeU78lVomwC7bR8SyCRnjdg.jpg",
"release_date": "2021-02-02",
"title": "HellKat",
"video": false,
"vote_average": 5.6,
"vote_count": 23
},
{
"adult": false,
"backdrop_path": "/bSvUW4JQ6g4QiKvwejcfcPRd4Ke.jpg",
"genre_ids": [
12,
35,
10751,
14
],
"id": 118,
"original_language": "en",
"original_title": "Charlie and the Chocolate Factory",
"overview": "A young boy wins a tour through the most magnificent chocolate factory in the world, led by the world's most unusual candy maker.",
"popularity": 158.801,
"poster_path": "/wfGfxtBkhBzQfOZw4S8IQZgrH0a.jpg",
"release_date": "2005-07-13",
"title": "Charlie and the Chocolate Factory",
"video": false,
"vote_average": 7.049,
"vote_count": 14458
}
],
"total_pages": 22756,
"total_results": 455120
}
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 7, 2024 at 11:03 AM
Hi @Mezo2023,
A few things...
primary_release_date.xxx
andrelease_date.xxx
in the same query. I'm not sure which filter would win in this scenario, but one of them will overwrite the other.release_date.xxx
but you need to add theregion
filter as well.primary_release_date.xxx
would be the better filter to use.Reply by Mezo2023
on February 7, 2024 at 12:43 PM
Hello Bell, I am glad for your reply and assistance...
Thanks in advance
Reply by Travis Bell
on February 7, 2024 at 12:48 PM
If you don't want to filter by region, drop the
release_date.xxx
filters.This was your query above. In this case, The Masked Saint should be there as it has a release date of
2016-01-08
, which sits within your query of2000-01-27..2021-10-10
.