# Hianimez To Scraper (`lexis-solutions/hianimez-to-scraper`) Actor

Scrape anime listings from HiAnimez.to - including titles, episodes, release dates, synopsis, genres, and stream links. Ideal for building streaming catalogs, trend analysis, or metadata aggregation. Fast, structured, and customizable extraction from a popular anime platform.

- **URL**: https://apify.com/lexis-solutions/hianimez-to-scraper.md
- **Developed by:** [Lexis Solutions](https://apify.com/lexis-solutions) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 30 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$34.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 📺 HiAnimez Scraper

![banner](https://i.ibb.co/pjTTWQLd/hianimez-cover.png)

An actor that scrapes anime data from [HiAnimez.to](https://hianimez.to/), a platform that streams a wide variety of anime shows and movies. The actor allows you to programmatically search and filter anime listings by title, genre, season, language, rating, and more.

***

### 🧰 Key Features

- 🔍 Search anime by title query
- 🎯 Filter results by genre, type, language, release season, and score
- 🗓 Filter by release date range
- 🎞 Get metadata like MAL score, type, genres, language, and more
- 📈 Control maximum number of results

***

### 👤 Who Is This Actor For?

This actor is ideal for:

- **Anime content aggregators** who need up-to-date anime metadata
- **Data scientists / analysts** building anime recommendation engines
- **Media platforms** looking to enrich anime listings
- **Otaku developers** building search tools, dashboards, or apps

***

### 🎛 Enums Schema

Below are the accepted enum values for filtering your anime search (use the IDs as your values):

#### 🎞 Type

| ID  | Type    |
| --- | ------- |
| 1   | Movie   |
| 2   | TV      |
| 3   | OVA     |
| 4   | ONA     |
| 5   | Special |
| 6   | Music   |

#### 📡 Status

| ID  | Status           |
| --- | ---------------- |
| 1   | Finished Airing  |
| 2   | Currently Airing |
| 3   | Not yet aired    |

#### 🔞 Rate

| ID  | Rating |
| --- | ------ |
| 1   | G      |
| 2   | PG     |
| 3   | PG-13  |
| 4   | R      |
| 5   | R+     |
| 6   | Rx     |

#### ⭐ Score

| ID  | Score Label      |
| --- | ---------------- |
| 1   | (1) Appalling    |
| 2   | (2) Horrible     |
| 3   | (3) Very Bad     |
| 4   | (4) Bad          |
| 5   | (5) Average      |
| 6   | (6) Fine         |
| 7   | (7) Good         |
| 8   | (8) Very Good    |
| 9   | (9) Great        |
| 10  | (10) Masterpiece |

#### 🍂 Season

| ID  | Season |
| --- | ------ |
| 1   | Spring |
| 2   | Summer |
| 3   | Fall   |
| 4   | Winter |

#### 🗣 Language

| ID  | Language  |
| --- | --------- |
| 1   | SUB       |
| 2   | DUB       |
| 3   | SUB & DUB |

#### 🏷 Genres

| ID  | Genre        | ID  | Genre         |
| --- | ------------ | --- | ------------- |
| 1   | Action       | 19  | Music         |
| 2   | Adventure    | 7   | Mystery       |
| 3   | Cars         | 20  | Parody        |
| 4   | Comedy       | 39  | Police        |
| 5   | Dementia     | 40  | Psychological |
| 6   | Demons       | 22  | Romance       |
| 8   | Drama        | 21  | Samurai       |
| 9   | Ecchi        | 23  | School        |
| 10  | Fantasy      | 24  | Sci-Fi        |
| 11  | Game         | 42  | Seinen        |
| 35  | Harem        | 25  | Shoujo        |
| 13  | Historical   | 26  | Shoujo Ai     |
| 14  | Horror       | 27  | Shounen       |
| 44  | Isekai       | 28  | Shounen Ai    |
| 43  | Josei        | 36  | Slice of Life |
| 15  | Kids         | 29  | Space         |
| 16  | Magic        | 30  | Sports        |
| 17  | Martial Arts | 31  | Super Power   |
| 18  | Mecha        | 37  | Supernatural  |
| 38  | Military     | 41  | Thriller      |
| 32  | Vampire      |     |               |

> ℹ️ Use the `genres` field as an array of genre IDs, e.g., `"genres": ["1", "2", "4"]` for Action, Adventure, Comedy.

***

### 🧮 Input Schema

The actor accepts the following input fields:

```json
{
  "query": "one piece", // Search keyword for anime title
  "type": "1", // Enum ID for anime type (e.g., Movie, TV)
  "status": "2", // Enum ID for airing status (e.g., Ongoing, Completed)
  "rate": "2", // Enum ID for rating (e.g., PG, R+)
  "score": "5", // Enum ID for score (e.g., Appalling, Masterpiece)
  "season": "2", // Enum ID for release season (e.g., Spring, Summer)
  "language": "1", // Enum ID for language (e.g., SUB, DUB)
  "genres": ["1", "2", "4"], // Array of genre enum IDs (e.g., Action, Comedy)
  "startDate": "2024-01-01", // ISO date string, e.g., "2024-01-01"
  "endDate": "2025-02-01", // ISO date string, e.g., "2025-02-01"
  "maxItems": 100 // Maximum number of results to fetch
}
```

### 📤 Output Schema

Each result (anime) will contain the following fields:

```json
{
  "title": "Watch My Instant Death Ability is So Overpowered, No One in This Other World Stands a Chance Against Me! English Sub/Dub online Free on HiAnime.to",
  "description": "Best site to watch My Instant Death Ability is So Overpowered, No One in This Other World Stands a Chance Against Me! English Sub/Dub online Free and download My Instant Death Ability is So Overpowered, No One in This Other World Stands a Chance Against Me! English Sub/Dub anime.",
  "descriptionHTML": "\n                                <div class=\"text\">\n                                    Awaking to absolute chaos and carnage while on a school trip, Yogiri Takatou discovers that everyone in his class has been transported to another world! He had somehow managed to sleep through the entire ordeal himself, missing out on the Gift &#x2014; powers bestowed upon the others by a mysterious Sage who appeared to transport them. Even worse, he and another classmate were ruthlessly abandoned by their friends, left as bait to distract a nearby dragon. Although not terribly bothered by the thought of dying, he reluctantly decides to protect his lone companion. After all, a lowly Level 1000 monster doesn&apos;t stand a chance against his secret power to invoke Instant Death with a single thought! If he can stay awake long enough to bother using it, that is...\n                                </div>\n                            ",
  "searchKeywords": [
    "My Instant Death Ability is So Overpowered",
    "No One in This Other World Stands a Chance Against Me! English Sub/Dub",
    "free My Instant Death Ability is So Overpowered",
    "No One in This Other World Stands a Chance Against Me! online",
    "watch My Instant Death Ability is So Overpowered"
  ],
  "url": "https://hianimez.to/my-instant-death-ability-is-so-overpowered-no-one-in-this-other-world-stands-a-chance-against-me-18847?ref=search",
  "primaryImageUrl": "https://cdn.noitatnemucod.net/thumbnail/300x400/100/e670bd9fd14f8659450e9be3d87f517b.jpg",
  "parentalGuidance": "PG-13",
  "quality": "HD",
  "sub": "12",
  "type": "TV",
  "length": "23m",
  "japanese": "即死チートが最強すぎて、異世界のやつらがまるで相手にならないんですが。",
  "synonyms": "The other world doesn't stand a chance against the power of instant death, My Instant Death Ability is Overpowered",
  "aired": "Jan 5, 2024 to Mar 22, 2024",
  "premiered": "Winter 2024",
  "duration": "23m",
  "status": "Finished Airing",
  "malScore": "6.43",
  "genres": [
    "https://hianimez.to/genre/action",
    "https://hianimez.to/genre/adventure"
  ],
  "studios": ["https://hianimez.to/producer/okuruto-noboru"],
  "producers": [
    "https://hianimez.to/producer/aqua-aris",
    "https://hianimez.to/producer/mainichi-broadcasting-system",
    "https://hianimez.to/producer/klockworx"
  ]
}
```

👀 p.s.

Got feedback or need an extension?

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners/find). We can help you with custom solutions or data extraction projects.

Contact us over [Email](mailto:scraping@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

### Support Our Work 💝

If you're happy with our work and scrapers, you're welcome to leave us a company review [here](https://apify.com/partners/find/lexis-solutions/review) and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!

Image Credit: https://hianimez.to/

# Actor input Schema

## `query` (type: `string`):

Keyword to search anime titles

## `type` (type: `string`):

Select the type of anime

## `status` (type: `string`):

Airing status of the anime

## `rate` (type: `string`):

Age rating of the anime

## `score` (type: `string`):

Minimum user rating score

## `season` (type: `string`):

Release season of the anime

## `language` (type: `string`):

Language type (SUB, DUB, or both)

## `genres` (type: `array`):

Select one or more genres

## `startDate` (type: `string`):

Select absolute date in format YYYY-MM-DD

## `endDate` (type: `string`):

Select absolute date in format YYYY-MM-DD

## `maxItems` (type: `integer`):

Maximum number of anime entries to return

## Actor input object example

```json
{
  "query": "one piece",
  "maxItems": 10
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/hianimez-to-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/hianimez-to-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call lexis-solutions/hianimez-to-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lexis-solutions/hianimez-to-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vXPR3Xr9ngzXxiccT/builds/ydQRmnC1YvuNmy2Ek/openapi.json
