# 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, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## 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 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

## 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

Download the OpenAPI definition: https://api.apify.com/v2/acts/ef5fYOi1TMhhwFe5l/builds/sRjsk4lQ5RlAlmQOf/openapi.json
