Search
Use Trakt search when you want to find a specific movie or show by title.
Recommended Title Search Flow
To provide the best search experience, call both exact search and broader search, then combine the results:
- Use exact search first for strong title matches.
- Use broader search second for fuzzy and expanded matches.
- De-duplicate results by Trakt ID.
- Show exact matches first, followed by broader results.
This matches how Trakt's own frontend search works.
Exact Search
Use exact search when the user is looking for a known movie or show title.
GET /search/movie/exact?query=weaponsFor shows:
GET /search/show/exact?query=fromExact search is best for title-first results and should be the first request in an autocomplete or search results UI.
Broader Search
Use the broader search endpoint to include fuzzy matches and other relevant results.
GET /search/movie?query=weaponsFor shows:
GET /search/show?query=fromBroader search can return useful related results, but ranking may differ from exact title expectations.
Example Combined Flow
exactResults = GET /search/movie/exact?query=weapons&extended=full&page=1&limit=1
broadResults = GET /search/movie?query=weapons&extended=full&page=1&limit=50
results = dedupeByTraktId([
...exactResults,
...broadResults,
])Display the combined results in that order.