Append To Response

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:

https://api.themoviedb.org/3/movie/157336?api_key=<<api_key>>
https://api.themoviedb.org/3/movie/157336/videos?api_key=<<api_key>>

But with append_to_response you can issue a single request:

https://api.themoviedb.org/3/movie/157336?api_key=<<api_key>>&append_to_response=videos

Even more powerful, you can issue multiple requests, just comma separate the values:

https://api.themoviedb.org/3/movie/157336?api_key=<<api_key>>&append_to_response=videos,images

📘

Note

Each method will still respond to whatever query parameters are supported by each individual request. This is worth pointing out specifically for images since your language parameter will filter images. This is where the include_image_language parameter can be useful as outlined in the image language page.