🚧 The Pewds api documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Movie , Tv & Anime
Movie & Tv Show
Get Movie & Tv Info

Movie & Tv Info

Example code is provided for both JavaScript, along with a response schema.

Route Schema (URL)

https://api.pewds.vercel.app/movie/info/{type}/{id}

Path Parameters

ParameterTypeDescriptionRequired?Default
typestringThe media type of the tv / movie; i.e.. tv movieYesN/A
idstringThe show / movie id watch-titanic-68827YesN/A

Request Samples

import axios from "axios";
 
// Using the example id of "movie/watch-titanic-68827" and the query of "movie"
const url = "https://api.pewds.vercel.app/movie/info/movie/watch-titanic-68827";
const movie = async () => {
    try {
        const { data } = await axios.get(url);
        return movie;
    } catch (err) {
        throw new Error(err.message);
    }
};
 // Using the example id of "tv/watch-money-heist-39409" and the query of "tv"
const url2 = "https://api.pewds.vercel.app/movie/info/tv/watch-money-heist-39409";
const tv = async () => {
    try {
        const { data } = await axios.get(url2);
        return tv;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(movie , tv);

Response Schema

MIME Type: application/json

{
    "cover": "string",
    "recommendations": "IMovieResult[]",
    "genres": "string[]",
    "description": "string",
    "rating": "number",
    "status": "MediaStatus",
    "duration": "string",
    "production": "string",
    "casts": "string[]",
    "tags": "string[]",
    "totalEpisodes": "number",
    "seasons": "{ season: number; image?: string; episodes: IMovieEpisode[] }[]",
    "episodes": "IMovieEpisode[]",
}