Latest
curl --request GET \
--url 'https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D='import requests
url = "https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D=', 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/latest?%7B%7Bkey%7D%7D=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/latest?%7B%7Bkey%7D%7D="
req, _ := http.NewRequest("GET", url, nil)
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/latest?%7B%7Bkey%7D%7D=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"adult": false,
"backdrop_path": null,
"belongs_to_collection": null,
"budget": 0,
"genres": [],
"homepage": "https://www.filmpreservation.org/preserved-films/screening-room/original-films-of-frank-b-gilbreth-1945",
"id": 1403870,
"imdb_id": null,
"origin_country": [
"US"
],
"original_language": "en",
"original_title": "The Quest of the One Best Way: The Original Films of Frank B. Gilbreth",
"overview": "Originally silent films from the 1920s, footage taken by Frank Gilbreth, particularly those used in his Motion Studies and Fatigue Studies research.",
"popularity": 0,
"poster_path": null,
"production_companies": [],
"production_countries": [],
"release_date": "",
"revenue": 0,
"runtime": 25,
"spoken_languages": [],
"status": "Released",
"tagline": "",
"title": "The Quest of the One Best Way: The Original Films of Frank B. Gilbreth",
"video": false,
"vote_average": 0,
"vote_count": 0
}Movies
Latest
This endpoint is used to get the newest movie ID.
GET
/
3
/
movie
/
latest
Latest
curl --request GET \
--url 'https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D='import requests
url = "https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D=', 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/latest?%7B%7Bkey%7D%7D=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/latest?%7B%7Bkey%7D%7D="
req, _ := http.NewRequest("GET", url, nil)
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/latest?%7B%7Bkey%7D%7D=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/movie/latest?%7B%7Bkey%7D%7D=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"adult": false,
"backdrop_path": null,
"belongs_to_collection": null,
"budget": 0,
"genres": [],
"homepage": "https://www.filmpreservation.org/preserved-films/screening-room/original-films-of-frank-b-gilbreth-1945",
"id": 1403870,
"imdb_id": null,
"origin_country": [
"US"
],
"original_language": "en",
"original_title": "The Quest of the One Best Way: The Original Films of Frank B. Gilbreth",
"overview": "Originally silent films from the 1920s, footage taken by Frank Gilbreth, particularly those used in his Motion Studies and Fatigue Studies research.",
"popularity": 0,
"poster_path": null,
"production_companies": [],
"production_countries": [],
"release_date": "",
"revenue": 0,
"runtime": 25,
"spoken_languages": [],
"status": "Released",
"tagline": "",
"title": "The Quest of the One Best Way: The Original Films of Frank B. Gilbreth",
"video": false,
"vote_average": 0,
"vote_count": 0
}Authorizations
Response
200 - application/json
OK
Example:
false
Example:
0
Example:
[]
Example:
"https://www.filmpreservation.org/preserved-films/screening-room/original-films-of-frank-b-gilbreth-1945"
Example:
1403870
Example:
["US"]
Example:
"en"
Example:
"The Quest of the One Best Way: The Original Films of Frank B. Gilbreth"
Example:
"Originally silent films from the 1920s, footage taken by Frank Gilbreth, particularly those used in his Motion Studies and Fatigue Studies research."
Example:
0
Example:
[]
Example:
[]
Example:
""
Example:
0
Example:
25
Example:
[]
Example:
"Released"
Example:
""
Example:
"The Quest of the One Best Way: The Original Films of Frank B. Gilbreth"
Example:
false
Example:
0
Example:
0
Was this page helpful?