🚧 The Consumet documentation is undergoing reconstruction. Please be patient for all providers to be fully-documented. 🚧
API
Anime
HiAnime
Advanced Search

Advanced Search

Technical details regarding the usage of the advanced search function for the hianime 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/hianime/advanced-search

Query Parameters

ParameterTypeDescriptionRequired?Default
pageintegerThe page number of results to return.No1
typestringThe type of anime (e.g., "movie", "tv", "ova", "ona", "special").No""
statusstringThe status of anime (e.g., "currently-airing", "finished-airing").No""
ratedstringThe age rating (e.g., "r", "pg-13", "pg").No""
scorenumberThe minimum score rating.No""
seasonstringThe season (e.g., "spring", "summer", "fall", "winter").No""
languagestringThe language type (e.g., "sub", "dub").No""
startDatestringStart date in YYYY-MM-DD format.No""
endDatestringEnd date in YYYY-MM-DD format.No""
sortstringSort order (e.g., "recently-added", "most-popular").No""
genresstringComma-separated list of genre names.No""

Request Samples

import axios from "axios";
 
const url = "https://api.consumet.org/anime/hianime/advanced-search";
const data = async () => {
    try {
        const { data } = await axios.get(url, {
            params: {
                page: 1,
                type: "tv",
                status: "currently-airing",
                season: "fall",
                genres: "action,adventure"
            }
        });
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Response Schema

MIME Type: application/json

{
  "currentPage": 1,
  "hasNextPage": true,
  "totalPages": 10,
  "results": [
    {
      "id": "string",
      "title": "string",
      "url": "string",
      "image": "string",
      "releaseDate": "string",
      "subOrDub": "sub"
    }
  ]
}