๐Ÿ“บ hianime-API

An unofficial REST API that scrapes anime data from hianimez.to. Built for developers who want anime data without dealing with scraping.

UNOFFICIAL ยท SELF-HOST ONLY

๐Ÿš€ Base URL

All endpoints are served under:

/api/v1

๐Ÿ“ฆ Response Format

Every response follows a standard structure:

{
      "success": true,
      "data": {}
    }

โš ๏ธ Disclaimer

This API is not affiliated with hianimez.to. All content belongs to its original owners.

Use for educational and personal purposes only.

๐Ÿ“š Core Endpoints

๐Ÿ  Home

GET /home

Trending, spotlight, top airing, latest episodes.

๐ŸŽฌ Anime Details

GET /anime/{animeId}

examples

one-piece-100

attack-on-titan-112

code-geass-lelouch-of-the-rebellion-41

Full metadata, episodes, recommendations.

๐Ÿ“ƒ Anime List

GET /{query}

example

top-airing

most-popular

most-favorite

completed

recently-added

recently-updated

top-upcoming

subbed-anime

dubbed-anime

movie

tv

ova

ona

special

Popular, top airing, movies, TV, OVA.

๐Ÿ”ค AZ List

GET /az-list/{letter}

AZ List

๐Ÿ‘Š genre

GET /genre/{genre}

anime List By Genre.

๐Ÿ” Search

GET /search?keyword=naruto

Search anime with pagination & suggestions.

๐Ÿ“บ Episodes

GET /episodes/{animeId}

Episode list for a specific anime.

โ–ถ๏ธ Streaming

GET /stream?id=EP_ID&server=vidcloud&type=sub

HLS streams, subtitles, intro/outro timestamps.

๐Ÿ”ง Quick Start

git clone https://github.com/yahyaMomin/hianime-API.git
    cd hianime-API
    bun install
    bun run dev

Server runs on http://localhost:3030