🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Movies
ViewAsian
Get Movie Episode Streaming Links

Get Anime Episode Streaming Links

Technical details regarding the usage of the get anime streaming links function for the ViewAsian provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.

Route Schema (URL)

https://api.consumet.org/movies/viewasian/watch?episodeId={episodeId}&mediaId={mediaId}&server={server}

Query Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe ID of the selected episodeYesN/A
mediaIdstringThe movie info IDYesN/A
serverEnum: "asianload" "mixdrop" "streamtape" "streamsb"The server the episode will useNo"asianload"

Request Samples

import axios from "axios";
 
/*
Using the example episode ID of '/watch/vincenzo/watching.html$episode$20',
explicitly defining default server for demostrative purposes.
*/
const url = "https://api.consumet.org/movies/viewasian/watch";
const data = async () => {
    try {
        const { data } = await axios.get(url, { params: { episodeId: "/watch/vincenzo/watching.html$episode$20", mediaId: "drama/vincenzo", server: "asianload" } });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

{
    "headers": {
        "Referer": "string"
    },
    "sources": [
        {
        "url": "string",
        "quality": "string",
        "isM3U8": true
        }
    ],
    "subtitles": [
        {
        "url": "string",
        "lang": "string"
        }
    ]
}