#
The Movie Database (TMDB)
Track new movies and TV shows across your favorite streaming services - all in one place with AI-powered discovery.
#
Overview
Connect Weavestream to The Movie Database (TMDB) to monitor:
- 🎬 New releases on Netflix, Amazon Prime, Hulu, Disney+, and more
- 📺 TV shows premiering on your streaming services
- ⭐ Trending content across platforms
- 🔍 Search & discovery using AI to find what to watch
Estimated Setup Time: 5 minutes
#
Prerequisites
- Free TMDB account (we'll create one together)
- Weavestream installed on your Mac
#
Part 1: Create TMDB Account & Get API Key
#
Step 1: Sign Up for TMDB
- Go to https://www.themoviedb.org/signup
- Fill in:
- Username
- Password
- Click "Sign Up"
- Check your email and verify your account
#
Step 2: Request API Access
- Sign into TMDB at https://www.themoviedb.org
- Click on your profile icon (top right)
- Select "Settings"
- In the left sidebar, click "API"
- Click "Request an API Key" or "Create"
#
Step 3: Choose API Type
- Select "Developer" (for personal/non-commercial use)
- Accept the terms of use
- Click "Submit"
#
Step 4: Fill Out Application Form
You'll be asked some questions. Here's what to enter:
Application Name:
Weavestream Personal Monitor
Application URL:
https://weavestream.io
(or just put your personal website/blog if you have one)
Application Summary:
Personal media monitoring dashboard to track new releases on streaming services.
Click "Submit"
#
Step 5: Copy Your API Key
After approval (usually instant), you'll see:
📋 API Key (v3 auth) - This is what you need!
- Example:
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6 - Copy this entire string
Also visible:
- API Read Access Token (v4 auth) - We'll use this for Bearer authentication
- Example:
eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJh...(much longer)
📋 Copy the "API Read Access Token (v4)" - This is your Bearer token
#
Part 2: Configure Weavestream
#
Step 1: Add TMDB as a Source
- Open Weavestream
- Click the "+" button in the sidebar
- Select "Add Source"
- Fill in the source details:
- Name:
TMDB - Base URL:
https://api.themoviedb.org/3 - Auth Type:
Bearer - Bearer Token: Paste your API Read Access Token (v4)
- Icon: Select
video.fillorfilmortv - Color: Choose your preference (suggested:
#01B4E4- TMDB blue, or#A0A0A0- gray) - Refresh Interval:
1440(daily - TMDB data doesn't change hourly)
- Name:
- Click "Add" or "Save"
#
Step 2: Add Streaming Service Endpoints
Now we'll add endpoints for each streaming service you want to monitor.
#
Endpoint 1: Netflix New Releases
Configuration:
- Name:
Netflix - Path:
/discover/movie - Method:
GET
Query Parameters:
with_watch_providers:8(Netflix's provider ID)watch_region:US(or your region:GB,CA, etc.)sort_by:primary_release_date.desc(newest first)
Optional - Filter by date:
primary_release_date.gte:2024-01-01(movies released after this date)primary_release_date.lte:2024-12-31(movies released before this date)
Field Mapping:
- ID Field:
id - Title Field:
title - Date Field:
release_date - Summary Fields:
overview - Status Field: (leave empty or use
vote_averagefor ratings)
Pagination:
- Type:
Page-based - Page Size:
20(TMDB default) - Max Items:
100(or adjust based on how many you want)
#
Endpoint 2: Amazon Prime Video
Same as Netflix, but change:
- Name:
Amazon Prime - Query Parameters:
with_watch_providers:9(Amazon Prime's provider ID)watch_region:USsort_by:primary_release_date.desc
All other settings same as Netflix.
#
Endpoint 3: Hulu
- Name:
Hulu - Query Parameters:
with_watch_providers:15watch_region:USsort_by:primary_release_date.desc
#
Endpoint 4: Disney+
- Name:
Disney+ - Query Parameters:
with_watch_providers:337watch_region:USsort_by:primary_release_date.desc
#
Endpoint 5: Apple TV+
- Name:
Apple TV+ - Query Parameters:
with_watch_providers:350watch_region:USsort_by:primary_release_date.desc
#
Endpoint 6: HBO Max
- Name:
HBO Max - Query Parameters:
with_watch_providers:384watch_region:USsort_by:primary_release_date.desc
#
Endpoint 7: Paramount+
- Name:
Paramount+ - Query Parameters:
with_watch_providers:531watch_region:USsort_by:primary_release_date.desc
#
Popular Streaming Provider IDs
If you want to add other services:
#
Region Codes
Change watch_region based on your location:
#
Part 3: Advanced Endpoints (Optional)
#
TV Shows Instead of Movies
For TV shows, change the path to /discover/tv and adjust fields:
Configuration:
- Path:
/discover/tv - Query Parameters: Same as movies
- Field Mapping:
- Title Field:
name(instead oftitle) - Date Field:
first_air_date(instead ofrelease_date) - Everything else same
- Title Field:
#
Trending Content
Get what's trending right now:
Configuration:
- Name:
Trending Movies - Week - Path:
/trending/movie/week - Method:
GET - Query Parameters: (none needed)
- Field Mapping: Same as other movie endpoints
#
Top Rated Movies
Configuration:
- Name:
Top Rated Movies - Path:
/movie/top_rated - Method:
GET - Query Parameters:
language:en-USpage:1
- Field Mapping: Same as other movie endpoints
#
Upcoming Releases
Configuration:
- Name:
Upcoming Releases - Path:
/movie/upcoming - Method:
GET - Query Parameters:
language:en-USregion:US
- Field Mapping: Same as other movie endpoints
#
Search by Genre
Want only action movies on Netflix?
Configuration:
- Name:
Netflix Action Movies - Path:
/discover/movie - Query Parameters:
with_watch_providers:8watch_region:USwith_genres:28(Action genre ID)sort_by:popularity.desc
Popular Genre IDs: | Genre | ID | |-------|-----| | Action | 28 | | Comedy | 35 | | Drama | 18 | | Horror | 27 | | Sci-Fi | 878 | | Thriller | 53 | | Romance | 10749 | | Animation | 16 | | Documentary | 99 | | Family | 10751 |
#
Part 4: Create Useful Filters
#
Filter 1: This Month's Releases (All Platforms)
- Under TMDB source, click "+" → "New Filter"
- Name:
New This Month - Select Endpoints: All streaming service endpoints
- Add Condition:
- Field:
release_date - Operator:
in last - Value:
30 days
- Field:
- Save
#
Filter 2: Highly Rated Only
- Create new filter
- Name:
Highly Rated (8+ Stars) - Select Endpoints: All endpoints
- Add Condition:
- Field:
vote_average - Operator:
greater than or equal - Value:
8.0
- Field:
- Save
#
Filter 3: Action Movies (All Services)
- Create new filter
- Name:
Action Movies - Select Endpoints: All movie endpoints
- Add Condition:
- Field:
genre_ids(might need to use raw JSON filtering) - Operator:
contains - Value:
28
- Field:
- Save
#
Part 5: Use AI to Discover Content
Now for the fun part! Ask AI questions about what to watch.
#
Example Questions:
Discovery:
- "What are the best new movies on Netflix this month?"
- "Show me highly rated sci-fi movies across all my streaming services"
- "What documentaries came out recently on Hulu?"
- "Find me comedies that just came to Disney+"
Recommendations:
- "I liked Inception and Interstellar - what should I watch next?"
- "Recommend a movie for date night from my services"
- "What are the top rated thrillers available right now?"
- "Find me something similar to Stranger Things"
Comparisons:
- "Which streaming service has the most new releases this month?"
- "Compare action movies between Netflix and Prime Video"
- "What's the highest rated movie available across all my services?"
Planning:
- "What should I watch this weekend?"
- "Build me a watch list for the next month"
- "What movies are leaving Netflix soon?" (if you track this)
#
Part 6: Pro Tips
#
Tip 1: Set Different Refresh Intervals
TMDB data doesn't change frequently:
- New releases: Refresh daily (1440 minutes)
- Trending: Refresh every 6 hours (360 minutes)
- Top rated: Refresh weekly (10080 minutes)
#
Tip 2: Filter by Release Date Range
To avoid syncing thousands of old movies, add date filters:
Query Parameters:
primary_release_date.gte: 2024-01-01
This only gets movies from 2024 onward.
#
Tip 3: Combine Multiple Genres
Want action comedies?
with_genres: 28,35
(Action=28, Comedy=35)
#
Tip 4: Sort Options
Change sort_by parameter:
popularity.desc- Most popular firstvote_average.desc- Highest rated firstprimary_release_date.desc- Newest firstrevenue.desc- Highest grossing first
#
Tip 5: Include Adult Content (18+)
By default, adult content is filtered. To include:
include_adult: true
#
Tip 6: Language Filters
Get movies in specific languages:
with_original_language: en (English)
with_original_language: es (Spanish)
with_original_language: ja (Japanese)
#
Troubleshooting
#
Issue: "Invalid API key"
Solution:
- Make sure you copied the API Read Access Token (v4), not the API Key (v3)
- The token should be very long (starts with
eyJ...) - Verify you're using Bearer auth type in Weavestream
- Check the token hasn't expired (TMDB tokens don't expire unless revoked)
#
Issue: "No results returned"
Solution:
- Check your
watch_region- some content isn't available in all regions - Try removing date filters (
primary_release_date.gte) - Verify the provider ID is correct for your region
- Test without filters first, then add them back
#
Issue: "Resource not found"
Solution:
- Verify the path starts with
/(e.g.,/discover/movie) - Check for typos in the path
- Make sure base URL is
https://api.themoviedb.org/3(includes/3)
#
Issue: Results are in wrong language
Solution: Add language query parameter:
language: en-US
Available languages:
en-US- English (US)en-GB- English (UK)es-ES- Spanish (Spain)fr-FR- Frenchde-DE- Germanja-JP- Japanese
#
Issue: Too many results, slow syncing
Solution:
- Add date range filters to limit results
- Reduce page size in pagination settings
- Set max items per sync lower (e.g., 50 instead of 100)
- Increase refresh interval (daily instead of hourly)
#
Rate Limits
TMDB API limits:
- Free tier: 40 requests per 10 seconds
- Sufficient for: Most personal use cases
Weavestream automatically respects rate limits. If you have many endpoints, consider:
- Staggering sync times
- Reducing refresh frequency
- Limiting max items per sync
#
Additional Resources
#
TMDB Documentation:
- API Documentation: https://developers.themoviedb.org/3
- Discover Movies: https://developers.themoviedb.org/3/discover/movie-discover
- Discover TV Shows: https://developers.themoviedb.org/3/discover/tv-discover
- Provider IDs: https://api.themoviedb.org/3/watch/providers/movie
- Genre IDs: https://api.themoviedb.org/3/genre/movie/list
#
Useful API Endpoints:
- Get poster images: Use
poster_pathfield +https://image.tmdb.org/t/p/w500/ - Get trailers:
/movie/{movie_id}/videos - Get cast/crew:
/movie/{movie_id}/credits - Get recommendations:
/movie/{movie_id}/recommendations
#
Privacy & Data
What TMDB Knows:
- Your API requests (what you search/browse)
- Your watch region
- When you make requests
What TMDB Doesn't Know:
- What you actually watch
- Your streaming service credentials
- Personal information (beyond your TMDB account)
Data Storage:
- Weavestream stores movie data locally on your Mac
- No data is sent to Weavestream servers
- TMDB API calls are direct from your Mac to TMDB
#
Import Template (Quick Setup)
Want to skip manual setup? Import this template:
- In Weavestream, click "Import Source"
- Paste the JSON from your message
- Update the Bearer token with your API Read Access Token
- Sync!
All endpoints (Netflix, Prime, Hulu, Disney+) will be pre-configured.
#
Summary Checklist
Before you finish, verify:
- ✅ TMDB account created and verified
- ✅ API Read Access Token (v4) obtained
- ✅ TMDB source added to Weavestream with Bearer auth
- ✅ At least one streaming service endpoint configured
- ✅ Field mappings working (titles and release dates visible)
- ✅ Sync completed successfully
- ✅ Smart filters created for easy discovery
- ✅ Tested AI questions about your content
You're all set! Start discovering what to watch tonight! 🍿
Last updated: February 2026 TMDB API version: v3