📚 Encyclopedia

Web Development · updated 2026-10-13

Where-to-stream lookups (TMDB watch providers and the Streaming Availability API)

tmdbjustwatchstreamingapirapidapivanilla-jslocalstorage

To answer "where can I watch this?" for any movie or show, two free or freemium APIs cover nearly everything. StreamScout (~/dev/streamscout, a zero-build vanilla JS PWA, 2026-09) combines them.

TMDB (required)

Movie of the Night Streaming Availability API v4 (optional, RapidAPI)

GET /shows/movie%2F{tmdbId}?country=xx (or tv%2F...) adds what TMDB lacks: real rent/buy prices, HD/UHD quality badges, expiresSoon flags and deep links into each service. Treat it as an enhancement: if it fails or the key is missing, degrade silently to TMDB-only data.

Handling user-supplied keys in a static app

Testing without real keys

A QA page that loads the app with a stub script replacing both APIs with canned responses, snapshotting and restoring the real localStorage on pagehide, makes every screen (home, search, detail, empty state) screenshot-testable in headless Chrome.

See also

Sources: home memory misc-side-projects (StreamScout, post #1630)