Search
Autocomplete search
Search for titles and/or people by name or partial name. Optimized for building autocomplete/typeahead search interfaces. Results include relevance scores and thumbnail images.
get/autocomplete-search
Query parameters
search_valuestring required
Example:Breaking bad
The search phrase (can be partial, e.g., "The Sha" will find "The Shawshank Redemption")
search_type1 | 2 | 3 | 4 | 5
Filter result types:
- 1 - Titles and people (default)
- 2 - Titles only
- 3 - Movies only
- 4 - TV shows only
- 5 - People only
Response
Autocomplete results
Example response
{
"results": [
{
"name": "Breaking Bad",
"relevance": 445.23,
"type": "tv_series",
"id": 3173903,
"year": 2008,
"result_type": "title",
"imdb_id": "tt0903747",
"tmdb_id": 1396,
"tmdb_type": "tv",
"image_url": "http://www.some-poster-site.com/image.jpg"
}
]
}