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

Get Movie's Episode Available Servers

Technical details regarding the usage of the get available servers function for the GogoAnime 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/flixhq/servers?episodeId={episodeId}&mediaId={mediaId}

Query Parameters

ParameterTypeDescriptionRequired?Default
episodeIdstringThe Episode's id you want the servers forYes""
mediaIdstringThe movie info IDYes""

Request Samples

import axios from "axios";
 
// Using the example episode ID of '10766' and the mediaId of 'tv/watch-rick-and-morty-39480'.
const url = "https://api.consumet.org/movies/flixhq/servers";
const data = async () => {
    try {
        const { data } = await axios.get(url, { params: { episodeId: "10766", mediaId: "tv/watch-rick-and-morty-39480" } });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

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