The Movie Database Support Forum

Is there a way to filter out adult films when using Combined Credits API?

I'm currently seeing a bunch of adult films when searching for Asa Akira combined credits for example: https://api.themoviedb.org/3/person/232008/combined_credits?language=en-US

And I need to filter out adult films as my app is rated for ages 13+

Thanks in advance!

5 Antworten (Seite 1 von 1)

Jump to last post

Hi @lgrube3, I don't see any way to do this. Someone else may come along with with a solution I haven't thought of.

I am wondering, since the adult flag is returned in the results, why can't you solve this by coding to skip the results that are flagged adult?

Thanks! I might need to do some filtering on the front-end.

Any plans to add this as a query param?

I would guess not for that particular query and filter, but here are all the future plans.

@lgrube3 said:
Any plans to add this as a query param?

I don't know if it solves your problem, but...
It is only possible with movies using Discover.
https://developer.themoviedb.org/reference/discover-movie
Examples with 232008, Asa Akira, using &include_adult= false and true:

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_people=232008
total_pages 1
total_results   5

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&include_adult=true&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_people=232008
total_pages 16
total_results   312

I need tv shows included as well but this is a nice approach. Thanks for sharing.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden