The Movie Database Support

I recently stumbled upon what I believe is a bug. When I was querying for popular movies, I saw "Nightb****", from the name of it, you can guess that it's an R rated movie. However, the API did not classify it as adult. Why is that? Is this intentional?

4 replies (on page 1 of 1)

Jump to last post

The adult setting is only used for (hardcore) pornography and that certainly doesn't apply to Nightbitch.

Is there a way to tell if a movie is R rated using the API?

I'm not that familiar with the API, but the R-Rating is entered in the release section, if you can access that over the API: https://www.themoviedb.org/movie/728949-nightbitch/edit?active_nav_item=release_information

@Voyvoda_LLC said:
Is there a way to tell if a movie is R rated using the API?

Hello. I'm going to butt in on this conversation. :-)
The age ratings here on TMDb are called Certification.
To be different from Rating, the user vote.

Using Details of a Movie you can get the Certification.
See the list of data that will be in the response
https://developer.themoviedb.org/reference/movie-release-dates

Using Search it is not possible.

But using Discover it is.
https://developer.themoviedb.org/reference/discover-movie
The filters are the first 4 in the list.

certification - string
use in conjunction with region

certification.gte - string
use in conjunction with region

certification.lte - string
use in conjunction with region

certification_country - string
use in conjunction with the certification, certification.gte and certification.lte filters

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?

Увайсці