# AniList Anime & Manga Scraper - Scores, Charts, Full Metadata (`abotapi/anilist-anime-manga-scraper`) Actor

Scrape AniList anime and manga: titles (romaji/English/native), scores, popularity, favourites, genres, studios, airing schedule, synopses, charts (trending, popular, top-rated, most-favourited), keyword search and URL/ID lookup.

- **URL**: https://apify.com/abotapi/anilist-anime-manga-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 anime or manga records

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

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Anime & Manga Scraper

Scrape anime and manga data from **AniList** - the community-built database tracking ~20K anime and ~50K manga with scores, popularity stats, favourites, studios, genres and airing schedules.

### Features

- 🔍 **Keyword search** - find anime or manga by title keyword (relevance-ranked)
- 📊 **Charts** - trending now, most popular, top rated, most favourited
- 🔗 **URL / ID mode** - paste `anilist.co/anime/<id>`, `anilist.co/manga/<id>` links or bare numeric ids
- 📚 **Rich records** - romaji/English/native titles, average + mean score, popularity, favourites, genres, main studios, format, status, episode/chapter/volume counts, episode duration, season, start/end dates, next-airing episode + timestamp, clean-text synopsis, cover art
- 📄 **Forward pagination** - walks result pages automatically (50 per page)
- 🔁 **Resume** - paste a previous run ID to continue a large pull without re-collecting
- 📈 **Incremental monitoring** - schedule it daily and get only NEW / UPDATED / REAPPEARED records; optional EXPIRED detection for media that dropped out of the tracked scope
- 🔌 **MCP connectors** - optionally pipe results into Notion (page per item) or other connected apps

### Input

| Field | Type | Description |
|---|---|---|
| Mode | Select | `Keyword search`, `Charts`, or `Paste URLs or ids` |
| Media type | Select | Anime or Manga |
| Search terms | List | Keywords (Search mode) |
| Chart | Select | Trending / Popular / Top rated / Most favourited (Charts mode) |
| AniList URLs or ids | List | Links or bare ids (URL mode) |
| Max records | Integer | Stop after N records (0 = unlimited) |
| Max pages | Integer | Pages walked per search or chart (0 = unlimited) |
| Include adult | Boolean | Off by default |
| Resume from a previous run | Text | Prior run/dataset ID to skip already-collected records |
| Incremental mode | Boolean | NEW/UPDATED/REAPPEARED for scheduled runs |
| State key | Text | Name a monitoring campaign |
| Emit unchanged / Emit expired | Boolean | Also return UNCHANGED / EXPIRED rows |
| MCP connectors | List | Optional export into your apps |

### Output

One dataset item per media record:

```json
{
  "id": 154587,
  "idMal": 52991,
  "url": "https://anilist.co/anime/154587",
  "titleRomaji": "Sousou no Frieren",
  "titleEnglish": "Frieren: Beyond Journey's End",
  "titleNative": "葬送のフリーレン",
  "format": "TV",
  "status": "FINISHED",
  "episodes": 28,
  "durationMin": 24,
  "averageScore": 87,
  "meanScore": 87,
  "popularity": 623451,
  "favourites": 128444,
  "genres": ["Adventure", "Drama", "Fantasy"],
  "studios": ["Madhouse"],
  "season": "FALL",
  "seasonYear": 2023,
  "startDate": "2023-09-29",
  "endDate": "2024-03-22",
  "nextAiringEpisode": null,
  "nextAiringAt": null,
  "coverImage": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/large/bx154587-....jpg",
  "description": "After the party of heroes defeated the Demon King..."
}
```

### Use cases

- Anime/manga catalogues with up-to-date community scores and popularity
- Trend monitoring: what is rising in the weekly trending chart
- Release tracking: next-airing episode numbers and timestamps
- Recommendation datasets: genres, studios, scores, favourites together

### Pricing

You are billed per dataset record plus a small actor-start fee. See the Apify Console pricing panel for current rates. Incremental mode suppresses unchanged rows, so scheduled monitoring bills only what changed.

# Actor input Schema

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

How to find media: keyword search, charts (trending/popular/top-rated), or paste AniList URLs or ids.

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

Anime or manga. Applies to search, charts and URL modes.

## `searchTerms` (type: `array`):

Keywords to search for (Search mode). Each term is searched separately; results are merged and de-duplicated.

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

Which ranking to return (Charts mode).

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

AniList media links (URL mode). Accepts anilist.co/anime/<id> and anilist.co/manga/<id> links, or bare numeric media ids.

## `maxMedia` (type: `integer`):

Stop after this many media records (0 = no limit).

## `maxPages` (type: `integer`):

Cap on pages walked per term or chart (50 records per page; 0 = no limit).

## `includeAdult` (type: `boolean`):

Off by default; adult media is excluded from results.

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

Paste a previous run ID or dataset ID to continue a large pull without returning items already collected there.

## `incrementalMode` (type: `boolean`):

Turn this on for daily or recurring monitoring. The first run returns every matching record as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED records. Turn on Emit unchanged or Emit expired only when you also want those rows returned (and billed).

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

Optional. Name this monitoring campaign to keep its state stable, or deliberately share state across differently configured runs.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return records that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return records that were present in a previous run but are no longer found, marked EXPIRED. Only produced once a run has fully scanned the tracked search.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; never changes the dataset output.

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

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## `proxyConfiguration` (type: `object`):

Connection used for every request. Works on every proxy plan.

## Actor input object example

```json
{
  "mode": "search",
  "mediaType": "ANIME",
  "searchTerms": [
    "frieren"
  ],
  "chartKind": "TRENDING",
  "urls": [
    "https://anilist.co/anime/154587"
  ],
  "maxMedia": 25,
  "maxPages": 0,
  "includeAdult": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "maxNotifyListings": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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",
    "searchTerms": [
        "frieren"
    ],
    "chartKind": "TRENDING",
    "urls": [
        "https://anilist.co/anime/154587"
    ],
    "maxMedia": 25,
    "maxPages": 0,
    "includeAdult": false,
    "incrementalMode": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "maxNotifyListings": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/anilist-anime-manga-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",
    "searchTerms": ["frieren"],
    "chartKind": "TRENDING",
    "urls": ["https://anilist.co/anime/154587"],
    "maxMedia": 25,
    "maxPages": 0,
    "includeAdult": False,
    "incrementalMode": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "maxNotifyListings": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/anilist-anime-manga-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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",
  "searchTerms": [
    "frieren"
  ],
  "chartKind": "TRENDING",
  "urls": [
    "https://anilist.co/anime/154587"
  ],
  "maxMedia": 25,
  "maxPages": 0,
  "includeAdult": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "maxNotifyListings": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call abotapi/anilist-anime-manga-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abotapi/anilist-anime-manga-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Wg3w3yyLuSSHNBXB2/builds/7puFlOfLiFySB8x4y/openapi.json
