🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Meta
MyAnimeList
Get Anime Episode Streaming Links

Get Anime Episode Streaming Links

Technical details regarding the usage of the get anime streaming links function for the MyAnimeList meta 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/meta/mal/watch/{episodeId}?provider={provider}

Path Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe ID of the selected episodeYesN/A

Query Parameters

ParameterTypeDescriptionRequired?Default
providerstringThe provider you want to use. Enum: 9anime, animefox, animepahe, bilibili, crunchyroll, enime, gogoanime, marin, zoroNoN/A

Request Samples

import axios from "axios";
 
/*
Using the example episode ID of  'jujutsu-kaisen-episode-1',
*/
const url = "https://api.consumet.org/meta/mal/watch/jujutsu-kaisen-episode-1";
const data = async () => {
    try {
        const { data } = await axios.get(url);
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

{
    "sources": [
      {
        "url": "string",
        "quality": "string",
        "isM3U8": "boolean"
      }
    ],
    "download": "string"
}