Best-results engine (both APIs, every screen)
Region is detected from the device locale, then sent to both APIs. TMDB never decides availability. MotN never replaces posters/ratings.
- Home trending: TMDB trending/popular for that language, then MotN availability in that country. Drop titles with no offer. Sort: on your services first, then TMDB popularity.
- Today’s counts: MotN
/changes?change_type=newper catalog in the country (Netflix 7, Prime 19…). - Upcoming: MotN
/changes?change_type=upcoming(Netflix, Prime, Disney+, Max, Apple TV, Mubi). TMDB upcoming as extra, still MotN-checked. - Top on a service: MotN
/shows/top?country&service(official Netflix/Prime/Disney/Max/Hulu/Apple top 10 in that country). - Leaving: MotN
change_type=expiringon the user’s catalogs. - Search: TMDB search → MotN by TMDB id for the country → badge “On your services” / “In your region” / hidden if nowhere.
- Title page: TMDB details + videos. MotN
/shows/movie/tmdbIdor series id. Group offers: Your services → Other in region. Deep link from MotN only. - Fallback: if MotN is down, show TMDB metadata and “Availability unavailable” — do not invent Netflix badges from TMDB watch/providers (conflicts). If TMDB is down, MotN show object still has titles/posters for that row.
