🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Anime
Anix
Get Anime Episode Available Servers

Get Anime Episode Available Servers

Technical details regarding the usage of the get available servers function for the Anix 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/anix/servers/{id}/{episodeId}?type={type}

Path Parameters

ParameterTypeDescriptionRequired?Default
idstringThe ID of the anime which the episodeId belongs to.Yes
episodeIdstringThe episodeId. Usually in the format: ep-1, etc.Yes

Query Parameters

ParameterTypeDescriptionRequired?Default
typeEnum: "sub" "dub" "raw"The type. Either sub, dub or raw.No"sub"

Request Samples

import axios from "axios";
 
// Using the example episode ID of 'darling-in-the-franxx' with episode ID 'ep-1'.
const url = "https://api.consumet.org/anime/anix/servers/darling-in-the-franxx/ep-1?type=sub";
const data = async () => {
    try {
        const { data } = await axios.get(url, { params: {
            "type": "sub"
        } });
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

[
  {
      "name": "string",
      "url": "string"
  }
]