Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url 'https://api.themoviedb.org/3/movie/{{movie_id}}/videos' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.themoviedb.org/3/movie/{{movie_id}}/videos"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.themoviedb.org/3/movie/{{movie_id}}/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/movie/{{movie_id}}/videos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/movie/{{movie_id}}/videos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/movie/{{movie_id}}/videos")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/movie/{{movie_id}}/videos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 845781,
"results": [
{
"id": "676848eb52ab12dfea5e4573",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "lVqQwMlwH9s",
"name": "Kiernan Shipka and Lucy Liu Paint Each Other",
"official": true,
"published_at": "2024-12-21T19:00:32.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "6763c68794196aaed2fffcd6",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "XlUu7QU_7I8",
"name": "Quick Draw with the Cast",
"official": true,
"published_at": "2024-12-18T18:00:30.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "675bd0e24b5280ff0c1bf99e",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "syASIeI7I0E",
"name": "Red One Comes Home",
"official": true,
"published_at": "2024-12-12T17:44:46.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "67578c20e528400caac19d49",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "c1nIlvynTC4",
"name": "Streaming December 12",
"official": true,
"published_at": "2024-12-09T14:27:14.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "6733ae63678d3856a76b4612",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "TMDR2_4223Y",
"name": "The Most Wonderful Time Of The Year Featurette",
"official": true,
"published_at": "2024-11-12T17:00:02.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672e7b7872ba92c1087a0294",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "9YumnnfaED8",
"name": "Wish",
"official": true,
"published_at": "2024-11-08T15:45:12.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672e7b7f72ba92c1087a0297",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "tJ-i_dFBsDc",
"name": "Suit up",
"official": true,
"published_at": "2024-11-08T15:42:39.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672e7b8755fbf9881c5e9ca7",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "BbShpkOEs6A",
"name": "Let's Save Christmas",
"official": true,
"published_at": "2024-11-08T15:42:07.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672d93a1ebe21def08c8ebda",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "vqTlP-3SlAs",
"name": "The Rock x Thursday Night Football",
"official": true,
"published_at": "2024-11-08T00:59:59.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672d8bed6c10939a51515d17",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "hwfgp7HvsU4",
"name": "London Launch",
"official": true,
"published_at": "2024-11-07T09:35:01.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672c6569898d18e69095eee3",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "CzlOv1bJugQ",
"name": "Christmas Ad",
"official": true,
"published_at": "2024-11-06T17:29:45.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "671d2fd0fefd1e0510004e1c",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "2CvdsyN5yKs",
"name": "See it in IMAX",
"official": true,
"published_at": "2024-10-25T16:00:02.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "671a9c696e4210780f78d650",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "BJqPkhWglgk",
"name": "TNT x Red One - Rugby Spot",
"official": true,
"published_at": "2024-10-24T13:35:16.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "6712c08725c70b8b1d67e007",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "ThJ9XCXLR44",
"name": "Two Turtle Doves Featurette",
"official": true,
"published_at": "2024-10-18T16:00:34.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "66f0c20f7300a5ba213b6f50",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "7l3hfD74X-4",
"name": "Official Trailer 2",
"official": true,
"published_at": "2024-09-23T00:00:03.000Z",
"site": "YouTube",
"size": 1080,
"type": "Trailer"
},
{
"id": "667aea1e0585b4e5ef159a19",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "U8XH3W0cMss",
"name": "Official Trailer",
"official": true,
"published_at": "2024-06-25T16:00:14.000Z",
"site": "YouTube",
"size": 1080,
"type": "Trailer"
}
]
}This endpoint retrieves a list of videos associated with a particular movie.
curl --request GET \
--url 'https://api.themoviedb.org/3/movie/{{movie_id}}/videos' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.themoviedb.org/3/movie/{{movie_id}}/videos"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.themoviedb.org/3/movie/{{movie_id}}/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/movie/{{movie_id}}/videos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/movie/{{movie_id}}/videos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/movie/{{movie_id}}/videos")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/movie/{{movie_id}}/videos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 845781,
"results": [
{
"id": "676848eb52ab12dfea5e4573",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "lVqQwMlwH9s",
"name": "Kiernan Shipka and Lucy Liu Paint Each Other",
"official": true,
"published_at": "2024-12-21T19:00:32.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "6763c68794196aaed2fffcd6",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "XlUu7QU_7I8",
"name": "Quick Draw with the Cast",
"official": true,
"published_at": "2024-12-18T18:00:30.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "675bd0e24b5280ff0c1bf99e",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "syASIeI7I0E",
"name": "Red One Comes Home",
"official": true,
"published_at": "2024-12-12T17:44:46.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "67578c20e528400caac19d49",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "c1nIlvynTC4",
"name": "Streaming December 12",
"official": true,
"published_at": "2024-12-09T14:27:14.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "6733ae63678d3856a76b4612",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "TMDR2_4223Y",
"name": "The Most Wonderful Time Of The Year Featurette",
"official": true,
"published_at": "2024-11-12T17:00:02.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672e7b7872ba92c1087a0294",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "9YumnnfaED8",
"name": "Wish",
"official": true,
"published_at": "2024-11-08T15:45:12.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672e7b7f72ba92c1087a0297",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "tJ-i_dFBsDc",
"name": "Suit up",
"official": true,
"published_at": "2024-11-08T15:42:39.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672e7b8755fbf9881c5e9ca7",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "BbShpkOEs6A",
"name": "Let's Save Christmas",
"official": true,
"published_at": "2024-11-08T15:42:07.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "672d93a1ebe21def08c8ebda",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "vqTlP-3SlAs",
"name": "The Rock x Thursday Night Football",
"official": true,
"published_at": "2024-11-08T00:59:59.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672d8bed6c10939a51515d17",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "hwfgp7HvsU4",
"name": "London Launch",
"official": true,
"published_at": "2024-11-07T09:35:01.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "672c6569898d18e69095eee3",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "CzlOv1bJugQ",
"name": "Christmas Ad",
"official": true,
"published_at": "2024-11-06T17:29:45.000Z",
"site": "YouTube",
"size": 1080,
"type": "Teaser"
},
{
"id": "671d2fd0fefd1e0510004e1c",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "2CvdsyN5yKs",
"name": "See it in IMAX",
"official": true,
"published_at": "2024-10-25T16:00:02.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "671a9c696e4210780f78d650",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "BJqPkhWglgk",
"name": "TNT x Red One - Rugby Spot",
"official": true,
"published_at": "2024-10-24T13:35:16.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "6712c08725c70b8b1d67e007",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "ThJ9XCXLR44",
"name": "Two Turtle Doves Featurette",
"official": true,
"published_at": "2024-10-18T16:00:34.000Z",
"site": "YouTube",
"size": 1080,
"type": "Featurette"
},
{
"id": "66f0c20f7300a5ba213b6f50",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "7l3hfD74X-4",
"name": "Official Trailer 2",
"official": true,
"published_at": "2024-09-23T00:00:03.000Z",
"site": "YouTube",
"size": 1080,
"type": "Trailer"
},
{
"id": "667aea1e0585b4e5ef159a19",
"iso_3166_1": "US",
"iso_639_1": "en",
"key": "U8XH3W0cMss",
"name": "Official Trailer",
"official": true,
"published_at": "2024-06-25T16:00:14.000Z",
"site": "YouTube",
"size": 1080,
"type": "Trailer"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Videos
845781
Show child attributes
[ { "id": "676848eb52ab12dfea5e4573", "iso_3166_1": "US", "iso_639_1": "en", "key": "lVqQwMlwH9s", "name": "Kiernan Shipka and Lucy Liu Paint Each Other", "official": true, "published_at": "2024-12-21T19:00:32.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "6763c68794196aaed2fffcd6", "iso_3166_1": "US", "iso_639_1": "en", "key": "XlUu7QU_7I8", "name": "Quick Draw with the Cast", "official": true, "published_at": "2024-12-18T18:00:30.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "675bd0e24b5280ff0c1bf99e", "iso_3166_1": "US", "iso_639_1": "en", "key": "syASIeI7I0E", "name": "Red One Comes Home", "official": true, "published_at": "2024-12-12T17:44:46.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "67578c20e528400caac19d49", "iso_3166_1": "US", "iso_639_1": "en", "key": "c1nIlvynTC4", "name": "Streaming December 12", "official": true, "published_at": "2024-12-09T14:27:14.000Z", "site": "YouTube", "size": 1080, "type": "Teaser" }, { "id": "6733ae63678d3856a76b4612", "iso_3166_1": "US", "iso_639_1": "en", "key": "TMDR2_4223Y", "name": "The Most Wonderful Time Of The Year Featurette", "official": true, "published_at": "2024-11-12T17:00:02.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "672e7b7872ba92c1087a0294", "iso_3166_1": "US", "iso_639_1": "en", "key": "9YumnnfaED8", "name": "Wish", "official": true, "published_at": "2024-11-08T15:45:12.000Z", "site": "YouTube", "size": 1080, "type": "Teaser" }, { "id": "672e7b7f72ba92c1087a0297", "iso_3166_1": "US", "iso_639_1": "en", "key": "tJ-i_dFBsDc", "name": "Suit up", "official": true, "published_at": "2024-11-08T15:42:39.000Z", "site": "YouTube", "size": 1080, "type": "Teaser" }, { "id": "672e7b8755fbf9881c5e9ca7", "iso_3166_1": "US", "iso_639_1": "en", "key": "BbShpkOEs6A", "name": "Let's Save Christmas", "official": true, "published_at": "2024-11-08T15:42:07.000Z", "site": "YouTube", "size": 1080, "type": "Teaser" }, { "id": "672d93a1ebe21def08c8ebda", "iso_3166_1": "US", "iso_639_1": "en", "key": "vqTlP-3SlAs", "name": "The Rock x Thursday Night Football", "official": true, "published_at": "2024-11-08T00:59:59.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "672d8bed6c10939a51515d17", "iso_3166_1": "US", "iso_639_1": "en", "key": "hwfgp7HvsU4", "name": "London Launch", "official": true, "published_at": "2024-11-07T09:35:01.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "672c6569898d18e69095eee3", "iso_3166_1": "US", "iso_639_1": "en", "key": "CzlOv1bJugQ", "name": "Christmas Ad", "official": true, "published_at": "2024-11-06T17:29:45.000Z", "site": "YouTube", "size": 1080, "type": "Teaser" }, { "id": "671d2fd0fefd1e0510004e1c", "iso_3166_1": "US", "iso_639_1": "en", "key": "2CvdsyN5yKs", "name": "See it in IMAX", "official": true, "published_at": "2024-10-25T16:00:02.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "671a9c696e4210780f78d650", "iso_3166_1": "US", "iso_639_1": "en", "key": "BJqPkhWglgk", "name": "TNT x Red One - Rugby Spot", "official": true, "published_at": "2024-10-24T13:35:16.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "6712c08725c70b8b1d67e007", "iso_3166_1": "US", "iso_639_1": "en", "key": "ThJ9XCXLR44", "name": "Two Turtle Doves Featurette", "official": true, "published_at": "2024-10-18T16:00:34.000Z", "site": "YouTube", "size": 1080, "type": "Featurette" }, { "id": "66f0c20f7300a5ba213b6f50", "iso_3166_1": "US", "iso_639_1": "en", "key": "7l3hfD74X-4", "name": "Official Trailer 2", "official": true, "published_at": "2024-09-23T00:00:03.000Z", "site": "YouTube", "size": 1080, "type": "Trailer" }, { "id": "667aea1e0585b4e5ef159a19", "iso_3166_1": "US", "iso_639_1": "en", "key": "U8XH3W0cMss", "name": "Official Trailer", "official": true, "published_at": "2024-06-25T16:00:14.000Z", "site": "YouTube", "size": 1080, "type": "Trailer" } ]