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

Get Episode Streaming Links

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

Query Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe episode ID/path of the episode you want to watch (e.g., "naruto-f3cf/episode/ep-1-12cd96").Yes""
serverstringThe streaming server to use (e.g., "VidStreaming", "BirdStream", "DuckStream", "CatStream").No""

Request Samples

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

Response Schema

MIME Type: application/json

{
  "sources": [
    {
      "url": "string",
      "quality": "1080p",
      "isM3U8": true
    }
  ],
  "subtitles": [
    {
      "url": "string",
      "lang": "English"
    }
  ],
  "headers": {
    "Referer": "string",
    "User-Agent": "string"
  }
}