# Anilist Light Novels Scraper (`kawsar/anilist-light-novels-scraper`) Actor

Collect popularity-ranked light novel entries from AniList, including IDs, Romaji titles, formats, and timestamps. Set maxItems, run the actor, and export clean results as JSON, CSV, or Excel for dashboards, alerts, and research.

- **URL**: https://apify.com/kawsar/anilist-light-novels-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AniList Light Novels Scraper

![AniList Light Novels Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/anilist-light-novels-scraper-cover-v2.png)

Collect light novel entries from the AniList catalog, ranked by popularity or filtered by a search term. Export structured results in JSON, CSV, or Excel for research, dashboards, and catalog analysis.

The actor retrieves light novel entries and stops when the requested `maxItems` count is reached.

### What Data Does This Actor Extract?

#### Identifiers

| Field | Description |
|---|---|
| `id` | Stable AniList media ID |
| `siteUrl` | Direct URL to the entry on AniList |

#### Titles

| Field | Description |
|---|---|
| `titleRomaji` | Romanized title |
| `titleEnglish` | Official English title |
| `titleNative` | Title in the original language (usually Japanese) |
| `titleUserPreferred` | Title preferred by the AniList user setting |
| `synonyms` | Alternative or regional titles |

#### Classification

| Field | Description |
|---|---|
| `type` | Media type (always `MANGA` for novels on AniList) |
| `format` | Catalog format label (always `NOVEL`) |
| `status` | Publication status (`FINISHED`, `RELEASING`, `NOT_YET_RELEASED`, `CANCELLED`, `HIATUS`) |
| `source` | Origin source (`ORIGINAL`, `MANGA`, `LIGHT_NOVEL`, `VISUAL_NOVEL`, etc.) |
| `isAdult` | Whether the entry is marked adult-only |

#### Dates & Schedule

| Field | Description |
|---|---|
| `startDate` | Publication start date (`YYYY-MM-DD`, partial dates supported) |
| `endDate` | Publication end date (`YYYY-MM-DD`, partial dates supported) |
| `season` | Anime season the title is associated with, if any |
| `seasonYear` | Year of the associated season |
| `updatedAt` | Unix timestamp of the last catalog update |

#### Volume & Chapter Counts

| Field | Description |
|---|---|
| `chapters` | Total chapter count |
| `volumes` | Total volume count |
| `episodes` | Episode count (populated for related anime adaptations) |
| `duration` | Average episode duration in minutes |

#### Description & Metadata

| Field | Description |
|---|---|
| `description` | Synopsis or plot summary (plain text) |
| `hashtag` | Official promotional hashtag |

#### Scores & Popularity

| Field | Description |
|---|---|
| `averageScore` | Weighted community score (0–100) |
| `meanScore` | Simple mean of all user scores (0–100) |
| `popularity` | Number of users who have the title on their list |
| `trending` | Current trending rank |
| `favourites` | Number of users who have favourited the title |

#### Genres & Tags

| Field | Description |
|---|---|
| `genres` | List of genre labels (e.g. `Action`, `Romance`) |
| `tags` | Detailed tag objects with `name`, `category`, `rank`, spoiler flags, and `isAdult` |

#### Images

| Field | Description |
|---|---|
| `coverImageExtraLarge` | Highest-resolution cover image URL |
| `coverImageLarge` | Large cover image URL |
| `coverImageMedium` | Medium cover image URL |
| `coverImageColor` | Dominant hex color of the cover image |
| `bannerImage` | Wide banner image URL |

#### Media & Links

| Field | Description |
|---|---|
| `trailer` | Trailer object with `id`, `site`, and `thumbnail` |
| `externalLinks` | Array of external link objects (`url`, `site`, `type`, `language`) |
| `streamingEpisodes` | Streaming episode objects with `title`, `thumbnail`, `url`, and `site` |

#### Relations, Characters & Staff

| Field | Description |
|---|---|
| `relations` | Related media entries with `relationType`, `id`, `title`, `format`, and `status` |
| `characters` | Up to 6 characters with `role`, `id`, and `name` |
| `staff` | Up to 6 staff members with `role`, `id`, and `name` |
| `studios` | Publishers/studios with `isMain`, `id`, `name`, and `siteUrl` |

#### Rankings & Community

| Field | Description |
|---|---|
| `rankings` | Ranking objects with `rank`, `type`, `format`, `year`, `season`, `allTime`, and `context` |
| `reviews` | Top review with `summary`, `rating`, and `ratingAmount` |
| `recommendations` | Up to 3 recommended titles with `rating`, `id`, and `title` |

#### Scrape Metadata

| Field | Description |
|---|---|
| `scrapedAt` | ISO 8601 UTC timestamp when the record was saved |

***

### Use Cases

- Monitor popular light novel titles for research and editorial projects
- Search for specific titles or series and export full catalog metadata
- Maintain spreadsheets of popularity-ranked catalog entries
- Build structured datasets for analytics and reporting
- Track changes in popular titles over recurring runs
- Use catalog metadata in dashboards and LLM research workflows

***

### Input Parameters

| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| `maxItems` | integer | `3` | Yes | Maximum number of records to save (1–1000) |
| `requestTimeoutSecs` | integer | `30` | No | Timeout for each request, in seconds (5–180) |
| `search` | string | — | No | Filter results by title or keyword (e.g. `Sword Art Online`, `isekai`). When set, results are sorted by relevance instead of popularity. Leave blank to browse by popularity. |

#### Example Input — Popularity Browse

```json
{
  "maxItems": 5,
  "requestTimeoutSecs": 30
}
```

#### Example Input — Search by Title

```json
{
  "search": "Mushoku Tensei",
  "maxItems": 5,
  "requestTimeoutSecs": 30
}
```

***

### Example Output

```json
{
  "id": 94970,
  "siteUrl": "https://anilist.co/manga/94970",
  "titleRomaji": "Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e",
  "titleEnglish": "Classroom of the Elite",
  "titleNative": "ようこそ実力至上主義の教室へ",
  "titleUserPreferred": "Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e",
  "synonyms": ["Classroom of the Elite", "ClassroomElite"],
  "type": "MANGA",
  "format": "NOVEL",
  "status": "RELEASING",
  "source": "ORIGINAL",
  "isAdult": false,
  "startDate": "2015-05",
  "endDate": null,
  "season": null,
  "seasonYear": null,
  "updatedAt": 1700000000,
  "chapters": null,
  "volumes": 22,
  "episodes": null,
  "duration": null,
  "description": "Kodo Ikusei Senior High School...",
  "hashtag": null,
  "averageScore": 78,
  "meanScore": 79,
  "popularity": 95000,
  "trending": 12,
  "favourites": 8200,
  "genres": ["Drama", "Psychological"],
  "tags": [
    {
      "id": 82,
      "name": "School",
      "category": "Setting-Scene",
      "rank": 93,
      "isGeneralSpoiler": false,
      "isMediaSpoiler": false,
      "isAdult": false
    }
  ],
  "coverImageExtraLarge": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/large/nx94970.jpg",
  "coverImageLarge": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/large/nx94970.jpg",
  "coverImageMedium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx94970.jpg",
  "coverImageColor": "#e47d50",
  "bannerImage": null,
  "trailer": null,
  "externalLinks": [
    { "id": 12345, "url": "https://example.com", "site": "Official Site", "type": "INFO", "language": null }
  ],
  "streamingEpisodes": [],
  "relations": [
    { "relationType": "ADAPTATION", "id": 131586, "title": "Youkoso Jitsuryoku...", "format": "TV", "status": "FINISHED" }
  ],
  "characters": [
    { "role": "MAIN", "id": 138101, "name": "Ayanokoji Kiyotaka" }
  ],
  "staff": [
    { "role": "Story", "id": 101027, "name": "Kinugasa Shougo" }
  ],
  "studios": [
    { "isMain": true, "id": 1234, "name": "MF Bunko J", "siteUrl": "https://anilist.co/studio/1234" }
  ],
  "rankings": [
    { "rank": 42, "type": "POPULAR", "format": "NOVEL", "year": null, "season": null, "allTime": true, "context": "most popular all time" }
  ],
  "reviews": [
    { "id": 9876, "summary": "A clever and tense school drama...", "rating": 88, "ratingAmount": 120 }
  ],
  "recommendations": [
    { "rating": 15, "id": 100143, "title": "Oregairu" }
  ],
  "nextAiringEpisode": null,
  "autoCreateForumThread": true,
  "isRecommendationBlocked": false,
  "isReviewBlocked": false,
  "modNotes": null,
  "scrapedAt": "2026-11-15T00:00:00+00:00"
}
```

***

### Frequently Asked Questions

**What type of titles does this actor collect?**

It collects light novel entries from the AniList catalog, identified by the `NOVEL` media format.

**How are the results ranked?**

By default, entries are ordered by popularity. When a `search` term is provided, results are ranked by relevance to that term instead.

**Can I search for a specific title or series?**

Yes. Set the `search` input to any title, keyword, or series name (e.g. `Re:Zero`, `isekai`). The actor will return matching entries sorted by relevance.

**What does `format` represent?**

It identifies the catalog format of the entry. For this actor the value is always `NOVEL`.

**Can I schedule recurring collections?**

Yes. Configure recurring runs through Apify Schedules and use the resulting datasets in your reporting or automation workflows.

***

### Trademark Notice

AniList is a trademark of its respective owner. This is an independent, unofficial actor and is not endorsed by or affiliated with AniList.

### Is Web Scraping Legal?

This actor collects publicly accessible light novel catalog information without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

- **Personal Data:** Catalog records may contain information associated with authors or other individuals. Handle any personal data responsibly and consider applicable privacy laws, including GDPR and CCPA.
- **Copyright and Licensing:** Titles and catalog metadata may be subject to source-specific terms or intellectual property rights. Check applicable licensing conditions before reproducing or redistributing collected content.
- **Platform Terms and Rate Limits:** Respect AniList's applicable policies, terms, and request limits when collecting information.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional if you are unsure about your obligations.

For more information, read [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

![AniList Light Novels Scraper CTA](https://images.bigibyte.com/cdn-cgi/image/width=840,height=360,fit=cover,format=webp/apify-actors-covers/anilist-light-novels-scraper-cta-v2.png)

# Actor input Schema

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

Maximum rows to save. Default is 3 for cheap tests. Raise up to 1000 for exports.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional. Filter results by title or keyword (e.g. 'Sword Art Online', 'isekai'). When set, results are sorted by relevance instead of popularity. Leave blank to browse by popularity.

## Actor input object example

```json
{
  "maxItems": 3,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

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

No description

## `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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/anilist-light-novels-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("kawsar/anilist-light-novels-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 '{}' |
apify call kawsar/anilist-light-novels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/anilist-light-novels-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/nyzouCQdNw5zotfPd/builds/9SS53g0VAEeeWY0ef/openapi.json
