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

Get Episode Streaming Links

Technical details regarding the usage of the get episode streaming links function for the animekai 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/anime/animekai/watch/{episodeId}

Path Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe episode ID of the episode you want to watch.Yes""

Query Parameters

ParameterTypeDescriptionRequired?Default
serverstringThe streaming server to use (e.g., "vidstreaming", "vidcloud").No""
dubbooleanSet to true for dubbed, false for subbed.Nofalse

Request Samples

import axios from "axios";
 
// Using the example episode ID of "naruto-shippuden-1-episode-1".
const url = "https://api.consumet.org/anime/animekai/watch/naruto-shippuden-1-episode-1";
const data = async () => {
    try {
        const { data } = await axios.get(url, { params: { server: "vidstreaming", dub: false } });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

{
  "headers": {
    "Referer": "string",
    "User-Agent": "string"
  },
  "sources": [
    {
      "url": "string",
      "quality": "string",
      "isM3U8": true
    }
  ],
  "download": "string"
}