Comment on page
✅
Details
get
https://api.phantommovies.com/3/movies/movie
/id
Movie Details.
Curl
Node.js
curl -X GET "https://api.phantommovies.com/3/movies/movie?title=YOUR_TITLE_HERE" -H "Authorization: Bearer YourAPIKey"
const axios = require('axios');
axios.get('https://api.phantommovies.com/3/movies/movie?accessToken=YourAPIKey&title=Dune')
.then(response => {
// Handle the response data
const movies = response.data;
console.log('Movies:', movies);
})
.catch(error => {
// Handle the error
console.error('Error:', error.message);
});
Search Movie using our official library,
node
:movieDetails()
API.movieDetails("title").then((res) => {
console.log(res);
});
Last modified 6mo ago