append_to_response
is an easy and efficient way to append extra requests to any top level namespace. The movie, TV show, TV season, TV episode and person detail methods all support a query parameter called append_to_response
. This makes it possible to make sub requests within the same namespace in a single HTTP request. Each request will get appended to the response as a new JSON object.
Here’s a quick example, let’s assume you want the movie details and the videos for a movie. Usually you would think you have to issue two requests:
append_to_response
you can issue a single request:
http://files.tmdb.org/p/exports/movie_ids_05_15_2024.json.gz
http://files.tmdb.org/p/exports/adult_movie_ids_05_15_2024.json.gz
/search
- Text based search is the most common way. You provide a query string and we provide the closest match. Searching by text takes into account all original, translated, alternative names and titles./discover
- Sometimes it useful to search for movies and TV shows based on filters or definable values like ratings, certifications or release dates. The discover method make this easy./find
- The last but still very useful way to find data is with existing external IDs. For example, if you know the IMDB ID of a movie, TV show or person, you can plug that value into this method and we’ll return anything that matches. This can be very useful when you have an existing tool and are adding our service to the mix.
Take a look at the search & query for details page for some basic workflows you might use to search and query data.