# AniList Scraper (`crawlerbros/anilist-scraper`) Actor

Scrape anime and manga from AniList.co with title (romaji/english/native), description, score, episodes, status, genres, studios, streaming links, season + year. Public GraphQL API, no auth required.

- **URL**: https://apify.com/crawlerbros/anilist-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 17 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## AniList Scraper

Scrape **anime** and **manga** from [AniList.co](https://anilist.co) — multi-language titles, descriptions, scores, episodes, status, genres, studios, streaming links, season + year. Powered by AniList's public GraphQL API. **No login, no API key, no proxy required.**

Built for anime/manga industry analytics, recommendation engines, fan-community apps, and content-aggregator backends.

### What you get

#### Media records (`recordType=anime` or `recordType=manga`)

| Field | Description |
| --- | --- |
| `id` | AniList ID |
| `malId` | MyAnimeList ID (when present) |
| `type` | `ANIME` or `MANGA` |
| `format` | `TV` / `MOVIE` / `OVA` / `ONA` / `MANGA` / `NOVEL` / etc. |
| `status` | `FINISHED` / `RELEASING` / `NOT_YET_RELEASED` / `CANCELLED` / `HIATUS` |
| `titleRomaji` | Romanized title |
| `titleEnglish` | Official English title |
| `titleNative` | Native (Japanese / Korean / Chinese) title |
| `description` | Plain-text synopsis |
| `episodes` | Total episode count (anime) |
| `chapters` | Total chapter count (manga) |
| `volumes` | Total volume count (manga) |
| `episodeDuration` | Per-episode duration in minutes |
| `averageScore` | Weighted score (0-100) |
| `meanScore` | Raw mean score (0-100) |
| `popularity` | Number of users with the entry on a list |
| `favourites` | Number of users who favourited it |
| `trending` | Live trending rank score |
| `season`, `seasonYear` | Anime season + year |
| `startDate`, `endDate` | Air/serialisation dates (ISO) |
| `genres` | Array of genre names |
| `tags` | Array of curated tag names |
| `studios` | Array of studio names |
| `coverImage` | High-res cover image URL |
| `bannerImage` | Banner image URL |
| `streamingEpisodes` | Array of `{title, url, site, thumbnail}` for legal stream sources (Crunchyroll / Funimation / etc.) |
| `externalLinks` | Array of `{site, url, type}` for official + community pages |
| `source` | Adaptation source (`MANGA`, `LIGHT_NOVEL`, `ORIGINAL`, etc.) |
| `countryOfOrigin` | ISO country code |
| `siteUrl` | Public AniList URL |
| `isAdult` | `true` for 18+ titles |

#### User records (`recordType=user`)

| Field | Description |
| --- | --- |
| `id` | AniList user ID |
| `username` | Username |
| `siteUrl` | Profile URL |
| `about` | Plain-text bio |
| `avatarUrl`, `bannerImage` | Profile media URLs |
| `createdAt` | ISO 8601 account creation timestamp |
| `animeCount`, `mangaCount` | Lists counts |
| `animeMeanScore`, `mangaMeanScore` | User's average ratings |
| `animeMinutesWatched`, `animeEpisodesWatched`, `mangaChaptersRead` | Activity totals |

Empty fields are dropped from every record at every depth.

### Input

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | Enum | `search` | `search` / `byIds` / `userProfile` / `trending` / `seasonal` / `characters` / `staff` / `studios` / `byUrl` |
| `mediaType` | Enum | `ANIME` | `ANIME` or `MANGA` |
| `searchQuery` | String | `Naruto` | Title query |
| `ids` | Array | — | AniList numeric IDs (mode=byIds) |
| `username` | String | — | AniList username (mode=userProfile) |
| `format` | Enum | — | TV / MOVIE / OVA / etc. |
| `status` | Enum | — | FINISHED / RELEASING / etc. |
| `season` | Enum | — | WINTER / SPRING / SUMMER / FALL |
| `seasonYear` | Integer | — | Year for `season` filter |
| `genres` | Array (enum) | — | Canonical AniList genres (multi-select dropdown). All requested genres must be present (AND-match). |
| `urls` | Array | — | anilist.co URLs (mode=byUrl) |
| `minScore` | Integer | — | Drop media with `averageScore` below this (0-100) |
| `isAdult` | Boolean | `false` | Include 18+ content |
| `sort` | Enum | `POPULARITY_DESC` | Sort order |
| `maxItems` | Integer | `25` | Hard cap (1-5000) |

#### Example input — search by title

```json
{
  "mode": "search",
  "mediaType": "ANIME",
  "searchQuery": "Naruto",
  "maxItems": 25
}
````

#### Example input — current season top scored

```json
{
  "mode": "search",
  "mediaType": "ANIME",
  "season": "FALL",
  "seasonYear": 2026,
  "minScore": 75,
  "sort": "SCORE_DESC",
  "maxItems": 50
}
```

#### Example input — top action manga

```json
{
  "mode": "search",
  "mediaType": "MANGA",
  "genres": ["Action"],
  "sort": "POPULARITY_DESC",
  "maxItems": 100
}
```

#### Example input — fetch by IDs

```json
{
  "mode": "byIds",
  "ids": ["20", "21", "113415"]
}
```

#### Example input — user profile

```json
{
  "mode": "userProfile",
  "username": "AniList"
}
```

#### Example input — trending anime right now

```json
{
  "mode": "trending",
  "mediaType": "ANIME",
  "maxItems": 25
}
```

#### Example input — Winter 2024 anime board

```json
{
  "mode": "seasonal",
  "mediaType": "ANIME",
  "season": "WINTER",
  "seasonYear": 2024,
  "sort": "POPULARITY_DESC",
  "maxItems": 50
}
```

#### Example input — search characters

```json
{
  "mode": "characters",
  "searchQuery": "Naruto",
  "maxItems": 25
}
```

#### Example input — search staff (voice actors / directors)

```json
{
  "mode": "staff",
  "searchQuery": "Hayao Miyazaki",
  "maxItems": 10
}
```

#### Example input — search studios

```json
{
  "mode": "studios",
  "searchQuery": "Ghibli",
  "maxItems": 10
}
```

#### Example input — fetch by AniList URLs

```json
{
  "mode": "byUrl",
  "urls": [
    "https://anilist.co/anime/20/Naruto",
    "https://anilist.co/character/17",
    "https://anilist.co/staff/96870",
    "https://anilist.co/studio/21",
    "https://anilist.co/user/AniList"
  ]
}
```

#### Character / Staff / Studio output

`characters`, `staff`, and `studios` modes emit records with `recordType=character`, `staff`, or `studio` respectively. Each record carries a compact `media` (or `staffMedia`) array of `{id, type, format, titleRomaji, titleEnglish, siteUrl}` stubs identifying the works the entity is associated with.

### Example output

```json
{
  "recordType": "anime",
  "id": "20",
  "malId": 20,
  "type": "ANIME",
  "format": "TV",
  "status": "FINISHED",
  "titleRomaji": "NARUTO",
  "titleEnglish": "Naruto",
  "titleNative": "NARUTO -ナルト-",
  "description": "Naruto Uzumaki, a hyperactive and knuckle-headed ninja, lives in Konohagakure...",
  "episodes": 220,
  "episodeDuration": 23,
  "averageScore": 80,
  "meanScore": 80,
  "popularity": 715000,
  "favourites": 65000,
  "season": "FALL",
  "seasonYear": 2002,
  "startDate": "2002-10-03",
  "endDate": "2007-02-08",
  "genres": ["Action", "Adventure", "Fantasy"],
  "studios": ["Pierrot"],
  "coverImage": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/20.jpg",
  "siteUrl": "https://anilist.co/anime/20",
  "scrapedAt": "2026-05-06T10:42:18Z"
}
```

### Use cases

- **Anime/manga recommendation engines** — Build niche recommender systems with full metadata.
- **Streaming platform analytics** — Surface which titles are licensed to which sites (Crunchyroll, Funimation, Netflix, etc.).
- **Trend analysis** — Track popularity / score / trending over time for a portfolio of titles.
- **Industry research** — Snapshot studio output, season slates, and adaptation patterns.
- **CRM enrichment** — Augment fan-community user records with AniList stats.
- **Content aggregator backends** — Power Trakt-like apps or anime calendar tools.

### FAQ

**Do I need an AniList account or API key?**
No. AniList's GraphQL endpoint at `graphql.anilist.co` is public for read operations. Only mutations (rating, list edits) require auth.

**What are the rate limits?**
AniList rate-limits at 90 requests / minute. The actor stays well under this with built-in delays.

**How do genre filters work?**
The `genres` array is AND-combined on the server side — every requested genre must be present on a record. Common genres: `Action`, `Adventure`, `Comedy`, `Drama`, `Fantasy`, `Horror`, `Mecha`, `Music`, `Mystery`, `Psychological`, `Romance`, `Sci-Fi`, `Slice of Life`, `Sports`, `Supernatural`, `Thriller`.

**How do I find the AniList ID for a title?**
Run a `mode=search` query first; the `id` field on each result is what `byIds` expects. AniList IDs are also visible in their site URLs (`https://anilist.co/anime/20/Naruto` → ID `20`).

**Are mature/adult titles included?**
Set `isAdult: true` to include them. Default is `false`, and adult-flagged tags are also dropped from non-adult records.

**How current is the data?**
Live — every run hits AniList's GraphQL endpoint at request time.

**Do I need a proxy?**
No. AniList accepts datacenter IPs without restriction.

**What if I get blocked or my discovery query returns empty?**
By default the actor auto-engages Apify proxy when it hits a block (HTTP 403/429) or when a season/genre/year discovery query returns empty media from a datacenter IP — it retries the request once after escalation. Set `autoEscalateOnBlock=false` to disable (the run fails fast instead of paying proxy cost).

### Limitations

- AniList's catalogue focuses on anime and manga; live-action/film entries are sparse.
- The free tier of the GraphQL API has a 90 req/min rate limit; the actor stays polite (~2 req/sec).
- Character / staff / studio modes return name, image, description, key dates, and a compact list of associated media. Detailed per-work credits (character roles, staff roles per anime) are not flattened — use `mode=byUrl` on individual character/staff URLs for richer data.
- Streaming links in `streamingEpisodes` are user-curated and may lag behind actual platform availability.

# Actor input Schema

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

What to fetch.

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

Anime or manga (used by `search`, `trending`, `seasonal`).

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

Title query for `search`, or name query for `characters` / `staff` / `studios`. Leave empty in `search` to do a discovery query using only season/genre/year filters.

## `ids` (type: `array`):

Numeric AniList media IDs (e.g. `[20, 21, 113415]`).

## `urls` (type: `array`):

anilist.co URLs to resolve. Supports anime/manga/character/staff/studio/user (e.g. `https://anilist.co/anime/20/Naruto`, `https://anilist.co/character/17`, `https://anilist.co/staff/96870`, `https://anilist.co/studio/21`, `https://anilist.co/user/AniList`).

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

AniList username.

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

Restrict to a specific format.

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

Restrict to a specific status.

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

Anime season (mode=search uses with `seasonYear`; mode=seasonal defaults to current real-world season when empty).

## `seasonYear` (type: `integer`):

Year for `season` filter (e.g. 2024).

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

AniList canonical genres. All requested genres must be present on a record (AND-match).

## `minScore` (type: `integer`):

Drop media with `averageScore` below this (0-100).

## `isAdult` (type: `boolean`):

Include 18+ content. Default: off.

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

Sort search results.

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

Hard cap on emitted records.

## `useProxy` (type: `boolean`):

If true, routes GraphQL requests through Apify proxy and rotates IP every N requests + on every HTTP 429. AniList sometimes returns empty media for season+genre discovery queries from datacenter IPs even though the same query works from residential IPs — enabling this fixes that.

## `autoEscalateOnBlock` (type: `boolean`):

If true (default), the actor automatically engages Apify proxy and retries when it hits HTTP 403/429 from a raw datacenter IP. Set to false to disable (request fails fast instead of paying proxy cost).

## `proxyGroups` (type: `array`):

Apify proxy groups (e.g. `["RESIDENTIAL"]` or `["DATACENTER"]`). Leave empty to use the default auto group. Only used when `useProxy` is true.

## `rotateEveryNRequests` (type: `integer`):

When using a proxy, swap to a fresh IP after this many successful requests (in addition to rotating on 429).

## Actor input object example

```json
{
  "mode": "search",
  "mediaType": "ANIME",
  "searchQuery": "Naruto",
  "ids": [],
  "urls": [],
  "format": "",
  "status": "",
  "season": "",
  "genres": [],
  "isAdult": false,
  "sort": "POPULARITY_DESC",
  "maxItems": 25,
  "useProxy": false,
  "autoEscalateOnBlock": true,
  "proxyGroups": [],
  "rotateEveryNRequests": 25
}
```

# Actor output Schema

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

Dataset of all scraped media + user records.

# 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 = {
    "mode": "search",
    "mediaType": "ANIME",
    "searchQuery": "Naruto",
    "isAdult": false,
    "maxItems": 25,
    "useProxy": false,
    "autoEscalateOnBlock": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/anilist-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 = {
    "mode": "search",
    "mediaType": "ANIME",
    "searchQuery": "Naruto",
    "isAdult": False,
    "maxItems": 25,
    "useProxy": False,
    "autoEscalateOnBlock": True,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/anilist-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 '{
  "mode": "search",
  "mediaType": "ANIME",
  "searchQuery": "Naruto",
  "isAdult": false,
  "maxItems": 25,
  "useProxy": false,
  "autoEscalateOnBlock": true
}' |
apify call crawlerbros/anilist-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "AniList Scraper",
        "description": "Scrape anime and manga from AniList.co with title (romaji/english/native), description, score, episodes, status, genres, studios, streaming links, season + year. Public GraphQL API, no auth required.",
        "version": "1.0",
        "x-build-id": "oMXVTByEKMNdlHY6d"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~anilist-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-anilist-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~anilist-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-anilist-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~anilist-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-anilist-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "byIds",
                            "userProfile",
                            "trending",
                            "seasonal",
                            "characters",
                            "staff",
                            "studios",
                            "byUrl"
                        ],
                        "type": "string",
                        "description": "What to fetch.",
                        "default": "search"
                    },
                    "mediaType": {
                        "title": "Media type",
                        "enum": [
                            "ANIME",
                            "MANGA"
                        ],
                        "type": "string",
                        "description": "Anime or manga (used by `search`, `trending`, `seasonal`).",
                        "default": "ANIME"
                    },
                    "searchQuery": {
                        "title": "Search query (mode=search / characters / staff / studios)",
                        "type": "string",
                        "description": "Title query for `search`, or name query for `characters` / `staff` / `studios`. Leave empty in `search` to do a discovery query using only season/genre/year filters."
                    },
                    "ids": {
                        "title": "AniList IDs (mode=byIds)",
                        "type": "array",
                        "description": "Numeric AniList media IDs (e.g. `[20, 21, 113415]`).",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "urls": {
                        "title": "AniList URLs (mode=byUrl)",
                        "type": "array",
                        "description": "anilist.co URLs to resolve. Supports anime/manga/character/staff/studio/user (e.g. `https://anilist.co/anime/20/Naruto`, `https://anilist.co/character/17`, `https://anilist.co/staff/96870`, `https://anilist.co/studio/21`, `https://anilist.co/user/AniList`).",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "username": {
                        "title": "Username (mode=userProfile)",
                        "type": "string",
                        "description": "AniList username."
                    },
                    "format": {
                        "title": "Format filter",
                        "enum": [
                            "",
                            "TV",
                            "TV_SHORT",
                            "MOVIE",
                            "SPECIAL",
                            "OVA",
                            "ONA",
                            "MUSIC",
                            "MANGA",
                            "NOVEL",
                            "ONE_SHOT"
                        ],
                        "type": "string",
                        "description": "Restrict to a specific format.",
                        "default": ""
                    },
                    "status": {
                        "title": "Status filter",
                        "enum": [
                            "",
                            "FINISHED",
                            "RELEASING",
                            "NOT_YET_RELEASED",
                            "CANCELLED",
                            "HIATUS"
                        ],
                        "type": "string",
                        "description": "Restrict to a specific status.",
                        "default": ""
                    },
                    "season": {
                        "title": "Season",
                        "enum": [
                            "",
                            "WINTER",
                            "SPRING",
                            "SUMMER",
                            "FALL"
                        ],
                        "type": "string",
                        "description": "Anime season (mode=search uses with `seasonYear`; mode=seasonal defaults to current real-world season when empty).",
                        "default": ""
                    },
                    "seasonYear": {
                        "title": "Season year",
                        "minimum": 1900,
                        "maximum": 2100,
                        "type": "integer",
                        "description": "Year for `season` filter (e.g. 2024)."
                    },
                    "genres": {
                        "title": "Genre filter",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "AniList canonical genres. All requested genres must be present on a record (AND-match).",
                        "items": {
                            "type": "string",
                            "enum": [
                                "Action",
                                "Adventure",
                                "Comedy",
                                "Drama",
                                "Ecchi",
                                "Fantasy",
                                "Hentai",
                                "Horror",
                                "Mahou Shoujo",
                                "Mecha",
                                "Music",
                                "Mystery",
                                "Psychological",
                                "Romance",
                                "Sci-Fi",
                                "Slice of Life",
                                "Sports",
                                "Supernatural",
                                "Thriller"
                            ],
                            "enumTitles": [
                                "Action",
                                "Adventure",
                                "Comedy",
                                "Drama",
                                "Ecchi",
                                "Fantasy",
                                "Hentai",
                                "Horror",
                                "Mahou Shoujo",
                                "Mecha",
                                "Music",
                                "Mystery",
                                "Psychological",
                                "Romance",
                                "Sci-Fi",
                                "Slice of Life",
                                "Sports",
                                "Supernatural",
                                "Thriller"
                            ]
                        },
                        "default": []
                    },
                    "minScore": {
                        "title": "Min average score",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Drop media with `averageScore` below this (0-100)."
                    },
                    "isAdult": {
                        "title": "Include adult content",
                        "type": "boolean",
                        "description": "Include 18+ content. Default: off.",
                        "default": false
                    },
                    "sort": {
                        "title": "Sort order",
                        "enum": [
                            "POPULARITY_DESC",
                            "SCORE_DESC",
                            "TRENDING_DESC",
                            "FAVOURITES_DESC",
                            "START_DATE_DESC",
                            "TITLE_ROMAJI"
                        ],
                        "type": "string",
                        "description": "Sort search results.",
                        "default": "POPULARITY_DESC"
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Hard cap on emitted records.",
                        "default": 25
                    },
                    "useProxy": {
                        "title": "Use Apify proxy (rotates IP)",
                        "type": "boolean",
                        "description": "If true, routes GraphQL requests through Apify proxy and rotates IP every N requests + on every HTTP 429. AniList sometimes returns empty media for season+genre discovery queries from datacenter IPs even though the same query works from residential IPs — enabling this fixes that.",
                        "default": false
                    },
                    "autoEscalateOnBlock": {
                        "title": "Auto-escalate to Apify proxy on block",
                        "type": "boolean",
                        "description": "If true (default), the actor automatically engages Apify proxy and retries when it hits HTTP 403/429 from a raw datacenter IP. Set to false to disable (request fails fast instead of paying proxy cost).",
                        "default": true
                    },
                    "proxyGroups": {
                        "title": "Apify proxy groups",
                        "type": "array",
                        "description": "Apify proxy groups (e.g. `[\"RESIDENTIAL\"]` or `[\"DATACENTER\"]`). Leave empty to use the default auto group. Only used when `useProxy` is true.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "rotateEveryNRequests": {
                        "title": "Rotate IP every N requests",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "When using a proxy, swap to a fresh IP after this many successful requests (in addition to rotating on 429).",
                        "default": 25
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
