TMDB diagnostics

Movie and series API readiness.

This page verifies TMDB environment setup, test search behavior, and the current mock fallback path.

Developer Mode

Environment key

TMDB_API_KEY

TMDB status

Missing key

Data mode

mocked

Test search

This calls the local TMDB search API and reports whether the response is real or mocked.

Mocked TMDB fallback
{
  "mode": "mocked",
  "statusLabel": "Mocked TMDB fallback",
  "query": "John Wick",
  "results": [
    {
      "id": "john-wick",
      "tmdbId": null,
      "title": "John Wick",
      "mediaType": "movie",
      "overview": "A retired assassin returns to an underworld ruled by codes, debts, and consequences.",
      "releaseYear": "2014",
      "rating": 8.4,
      "posterPath": null,
      "posterUrl": null,
      "genres": [
        "Action",
        "Thriller",
        "Crime"
      ],
      "source": "tmdb",
      "deepLink": "https://www.themoviedb.org/search?query=John%20Wick",
      "providers": {
        "mode": "mocked",
        "statusLabel": "Mock provider data for FI",
        "region": "FI",
        "link": "https://www.themoviedb.org/movie/john-wick/watch",
        "stream": [
          {
            "id": "netflix",
            "name": "Netflix",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          },
          {
            "id": "prime",
            "name": "Prime Video",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          }
        ],
        "rent": [
          {
            "id": "apple",
            "name": "Apple TV",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          },
          {
            "id": "youtube",
            "name": "YouTube",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          }
        ],
        "buy": [
          {
            "id": "apple-buy",
            "name": "Apple TV",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          },
          {
            "id": "youtube-buy",
            "name": "YouTube",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/john-wick/watch"
          }
        ]
      }
    },
    {
      "id": "the-raid",
      "tmdbId": null,
      "title": "The Raid",
      "mediaType": "movie",
      "overview": "A relentless action film about a tactical team trapped inside a criminal tower.",
      "releaseYear": "2011",
      "rating": 8.1,
      "posterPath": null,
      "posterUrl": null,
      "genres": [
        "Action",
        "Thriller",
        "Martial arts"
      ],
      "source": "tmdb",
      "deepLink": "https://www.themoviedb.org/search?query=The%20Raid",
      "providers": {
        "mode": "mocked",
        "statusLabel": "Mock provider data for FI",
        "region": "FI",
        "link": "https://www.themoviedb.org/movie/the-raid/watch",
        "stream": [
          {
            "id": "netflix",
            "name": "Netflix",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          },
          {
            "id": "prime",
            "name": "Prime Video",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          }
        ],
        "rent": [
          {
            "id": "apple",
            "name": "Apple TV",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          },
          {
            "id": "youtube",
            "name": "YouTube",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          }
        ],
        "buy": [
          {
            "id": "apple-buy",
            "name": "Apple TV",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          },
          {
            "id": "youtube-buy",
            "name": "YouTube",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/the-raid/watch"
          }
        ]
      }
    },
    {
      "id": "great-soundtrack-drive",
      "tmdbId": null,
      "title": "Drive",
      "mediaType": "movie",
      "overview": "A minimalist crime film with neon mood, quiet tension, and iconic synth tracks.",
      "releaseYear": "2011",
      "rating": 7.8,
      "posterPath": null,
      "posterUrl": null,
      "genres": [
        "Crime",
        "Soundtrack",
        "Drama"
      ],
      "source": "tmdb",
      "deepLink": "https://www.themoviedb.org/search?query=Drive",
      "providers": {
        "mode": "mocked",
        "statusLabel": "Mock provider data for FI",
        "region": "FI",
        "link": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch",
        "stream": [
          {
            "id": "netflix",
            "name": "Netflix",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          },
          {
            "id": "prime",
            "name": "Prime Video",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          }
        ],
        "rent": [
          {
            "id": "apple",
            "name": "Apple TV",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          },
          {
            "id": "youtube",
            "name": "YouTube",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          }
        ],
        "buy": [
          {
            "id": "apple-buy",
            "name": "Apple TV",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          },
          {
            "id": "youtube-buy",
            "name": "YouTube",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/movie/great-soundtrack-drive/watch"
          }
        ]
      }
    },
    {
      "id": "boardwalk-empire",
      "tmdbId": null,
      "title": "Boardwalk Empire",
      "mediaType": "tv",
      "overview": "Atlantic City power players build empires during Prohibition through politics and crime.",
      "releaseYear": "2010",
      "rating": 7.4,
      "posterPath": null,
      "posterUrl": null,
      "genres": [
        "Crime",
        "Drama",
        "History"
      ],
      "source": "tmdb",
      "deepLink": "https://www.themoviedb.org/search?query=Boardwalk%20Empire",
      "providers": {
        "mode": "mocked",
        "statusLabel": "Mock provider data for FI",
        "region": "FI",
        "link": "https://www.themoviedb.org/tv/boardwalk-empire/watch",
        "stream": [
          {
            "id": "crunchyroll",
            "name": "Crunchyroll",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          },
          {
            "id": "hbo",
            "name": "HBO Max",
            "category": "stream",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          }
        ],
        "rent": [
          {
            "id": "apple",
            "name": "Apple TV",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          },
          {
            "id": "youtube",
            "name": "YouTube",
            "category": "rent",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          }
        ],
        "buy": [
          {
            "id": "apple-buy",
            "name": "Apple TV",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          },
          {
            "id": "youtube-buy",
            "name": "YouTube",
            "category": "buy",
            "logoPath": null,
            "deepLink": "https://www.themoviedb.org/tv/boardwalk-empire/watch"
          }
        ]
      }
    }
  ]
}

Setup notes

Add TMDB_API_KEY to the local environment to switch search and details to real data.
Keep the mock fallback active so demos never fail when a key is unavailable.
Add watch provider filtering later so MULOME can rank results by connected services.
Cache popular searches and details before production to protect quota.