🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Anime
Crunchyroll
Get Anime Info

Get Anime Info

Technical details regarding the usage of the get anime info 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/anime/crunchyroll/info/{id}?type={type}

Path Parameters

ParameterTypeDescriptionRequired?Default
idstringThe Crunchyroll ID of the anime; i.e. provided by searching for said anime and selecting the correct one.Yes

Path Parameters

ParameterTypeDescriptionRequired?Default
typestringThe Crunchyroll type of the anime; i.e. provided by searching for said anime and selecting the correct one.Yes
fetchAllSeasonsboolWhether to respond with all Seasons or just the first oneNo

Request Samples

import axios from "axios";
 
// Using the example ID of "GRVN8MNQY", the id for Classroom of the Elite.
const url = "https://api.consumet.org/anime/crunchyroll/info/GRVN8MNQY";
const data = async () => {
    try {
        const { data } = await axios.get(url,{ params: { type: "series" } });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

{
  "id": "string",
  "title": "string",
  "isAdult": "boolean",
  "image": "string",
  "cover": "string",
  "description": "string",
  "releaseDate": "number",
  "genres": "string[]",
  "season": "string", // or null
  "hasDub": "boolean",
  "hasSub": "boolean",
  "rating": "string",
  "ratingTotal": "number",
  "recommendations": [
      {
          "id": "string",
          "title": "string",
          "image": "string",
          "cover": "string",
          "description": "string"
      }
  ]
  "episodes": [
    "seasonName": [
      {
        "id": "string",
        "season_number": "number",
        "episode_number": "number",
        "title": "string",
        "image": "string",
        "description": "string",
        "releaseDate": "string",
        "isHD": "boolean",
        "isAdult": "boolean",
        "isDubbed": "boolean",
        "isSubbed": "boolean"
      }
    ]
  ]
}