# Anilist Media Trends Scraper (`bigibyte/anilist-media-trends-scraper`) Actor

Collect public anime and manga trend data from AniList newest first with customizable item and page limits. Run the actor and export clean results as JSON, CSV, or Excel for research, sheets, dashboards, or automated workflows

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Media Trends Scraper

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

The **AniList Media Trends Scraper** collects structured anime and manga trend data from AniList. Retrieve media IDs, trend dates, ranking values, and popularity metrics to study catalog activity and community interest. Collect the latest available trend records and export them in JSON, CSV, or Excel for research, dashboards, and reporting.

### What This Actor Does

This Actor retrieves publicly available media trend records from the AniList catalog and organizes them into a structured dataset.

It walks through the public catalog, starting with the newest available records, and continues collecting data until the configured `maxItems` limit is reached.

Each record includes the associated media ID, trend snapshot date, trend ranking value, popularity metric, and collection timestamp. Paginated collection makes it possible to retrieve multiple records while controlling the number requested per page.

### Input Configuration

Configure the Actor using the following parameters:

| Parameter | Type | Default | Description |
|---|---|---|---|
| `maxItems` | Integer | `3` | Maximum number of records to save per run. Hard maximum: 1,000. |
| `pageSize` | Integer | `10` | Number of records requested per page. Maximum: 50. |
| `requestTimeoutSecs` | Integer | `30` | Timeout allowed for an individual request, in seconds. |

#### Input Example

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

This configuration saves up to 3 records, requests 10 records per page, and allows up to 30 seconds for an individual request.

### Output Data

Each collected media trend entry is saved as an individual structured dataset record.

#### Output Example

```json
{
  "mediaId": 155298,
  "url": "https://anilist.co/manga/160001"
  "date": 1793545200,
  "trending": 1,
  "popularity": 660,
  "scrapedAt": "2026-11-15T00:00:00+00:00"
}
```

#### Output Fields

| Field | Description |
|---|---|
| `mediaId` | Unique identifier of the media entry in the AniList catalog. |
| `url` | Unique url of media entry in the aniList catalog. |
| `date` | Trend snapshot date represented as a Unix timestamp. |
| `trending` | Trend ranking value reported by AniList. |
| `popularity` | Popularity metric associated with the media trend record. |
| `scrapedAt` | ISO 8601 timestamp when the record was collected. |

### Use Cases

- **Trend Monitoring:** Track newly available media trend records for dashboards and spreadsheets.
- **Popularity Research:** Analyze trend rankings and popularity metrics across anime and manga catalog entries.
- **Editorial Research:** Gather structured trend information for content planning and research projects.
- **Dashboard Integration:** Feed collected records into analytics platforms and reporting tools.
- **Workflow Automation:** Connect trend datasets to alerts, n8n workflows, and automated research summaries.
- **Historical Snapshots:** Schedule recurring runs to build your own collection of trend observations over time.

### Usage and Limits

- The Actor collects publicly available media trend information from AniList.
- Collection starts with the newest available catalog records.
- The `maxItems` parameter controls the maximum number of records saved per run.
- The hard maximum is 1,000 records per run.
- The `pageSize` parameter controls the number of records requested per page and cannot exceed 50.
- The `requestTimeoutSecs` parameter controls the timeout for an individual request.
- The actual number of collected records depends on the data available from AniList and the configured collection limit.
- Trend and popularity values represent the information returned by the source at collection time. They should not be treated as permanent rankings.

### Frequently Asked Questions

**1. What information does this Actor collect?**

It collects media IDs, trend snapshot dates, trend ranking values, popularity metrics, and collection timestamps from AniList.

**2. How many records can one run collect?**

The Actor supports up to 1,000 records per run. The default `maxItems` value is 3, but you can increase it within the supported limit.

**3. Are the results collected newest first?**

Yes. The Actor starts with the newest available public catalog records and continues through pagination until the configured collection limit is reached.

**4. Can I schedule recurring collections?**

Yes. You can configure Apify Schedules to run the Actor periodically and use the resulting datasets in your dashboards, spreadsheets, or automation workflows.

**5. Can I export the collected data?**

Yes. Apify supports dataset exports in JSON, CSV, Excel, and other formats.

### Related Tools

Explore other BigiByte data collection tools:

- **AniList Anime Scraper** – Collect structured anime catalog information from AniList.
- **AniList Staff Scraper** – Retrieve staff names, identifiers, favourite counts, and language information.
- **HowLongToBeat Scraper** – Collect structured video game information for gaming research.
- **Genshin Impact Data Scraper** – Retrieve structured character and weapon information from Genshin Impact data.

Need a scraper tailored to your business requirements? BigiByte builds custom web scrapers, data extraction tools, and automation solutions to help you collect and organize the information you need.

Visit [BigiByte](https://bigibyte.com) to explore our services.

### Trademark Notice

AniList and its associated names, logos, and trademarks are the property of their respective owners. They are used solely to identify the source of the collected information. This Actor is an independent product and does not imply any affiliation, sponsorship, or endorsement by AniList.

### Disclaimer

This Actor is provided for informational and research purposes. BigiByte does not guarantee the accuracy, completeness, or continued availability of information provided by the source. Users are responsible for evaluating collected data before relying on it for research, commercial, or other decisions.

### Is Web Scraping Legal?

This Actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** If collected information includes personal data, privacy laws such as GDPR and CCPA may apply. Collect and process such information responsibly.
- **Copyrighted Content:** Some website content may be protected by copyright. Check applicable permissions before reproducing or redistributing it.
- **Platform Terms and Rate Limits:** Respect AniList's terms of use, applicable restrictions, and reasonable request limits.

This information is provided for general guidance only and does not constitute legal advice.

For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/)

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

# Actor input Schema

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

Maximum number of rows to save per run. Default is 3 to keep test runs cheap.

## `pageSize` (type: `integer`):

Rows requested per page. Default 10, max 50.

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

Per-request timeout in seconds.

## Actor input object example

```json
{
  "maxItems": 3,
  "pageSize": 10,
  "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("bigibyte/anilist-media-trends-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("bigibyte/anilist-media-trends-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 bigibyte/anilist-media-trends-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/anilist-media-trends-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/qLbN9O9cgrhKtuBSx/builds/bLE8fP5YNchliH3Fl/openapi.json
