The Movie Database Support

Hello, I want to list the TV series according to the date of the last episode, almost the same as we see in the airing-today section, I couldn't find a way to list it in the same way.

https://api.themoviedb.org/3/tv/airing_today?api_key=THEKEY&language=es-ES&air_date.lte=2024-05-02&air_date.gte=2024-05-02&page=1

the TV serie "The Boss" or "El encargado" It should appear on that date but it doesn't, it seems to ignore the date filter.

5 replies (on page 1 of 1)

Jump to last post

Hi @LeandroA,

Indeed, /tv/airing_today does not support a air_date.lte or air_date.gte filter.

If you want to use those filters, you'll have to switch over to use /discover/tv.

@travisbell said:

Hi @LeandroA,

Indeed, /tv/airing_today does not support a air_date.lte or air_date.gte filter.

If you want to use those filters, you'll have to switch over to use /discover/tv.

In any case, the results are not as expected, they all give very different results to those indicated, it seems that this part of the API is not working well, I have seen other posts reporting similar problems.

What request isn't working as expected?

@travisbell said:

What request isn't working as expected?

What I'm looking for is to get this list, using the date filter https://www.themoviedb.org/tv/airing-today

In no case can I obtain the series that premiere episodes in the indicated date range, or a pagination in order of episode premiere dates.

If you want to filter TV shows by their premiere date (I'm assuming you're talking about season 1, episode 1) then you need to use first_air_date.lte and/or first_air_date.gte.

If you are wanting to query specific shows that simply have an episode airing within the date range, then your discover query is correct. No Rancho Fundo is being returned because as you can see here, it has an episode airing today (Aug. 7).

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

লগইন