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 svar (pÄ sida 1 av 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

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus pÄ sökrutan
p öppna profilmenyn
esc stÀng ett öppet fönster
? öppna tangentbordsgenvÀg fönstret

PĂ„ mediasidor

b gÄ tillbaka (eller till förÀlder nÀr det Àr tillÀmpligt)
e gÄ till redigerings sidan

PÄ tv-sÀsongssidor

(höger pil) gÄ till nÀsta sÀsong
(vÀnster pil) gÄ till den föregÄende sÀsongen

PĂ„ tv-avsnittssidor

(höger pil) gÄ till nÀsta avsnitt
(vÀnster pil) gÄ till föregÄende avsnitt

PĂ„ alla bildsidor

a öppna lÀgg till bild fönstret

PĂ„ alla redigeringssidor

t öppna översÀttnings vÀljaren
ctrl+ s skicka förmulÀr

PĂ„ diskussionssidor

n skapa ny diskussion
w vÀxla sedd-status
p vÀxla offentligt/privat
c vÀxla stÀng/öppna
a öppna aktivitet
r svara pÄ diskussionen
l gÄ till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nÀsta sida
(vÀnster pil) föregÄende sida

InstÀllningar

Vill du betygsÀtta denna artikel eller lÀgga till den i en lista?

Logga in