# Mangadex Scraper (`zerobreak/mangadex-scraper`) Actor

This Actor executes custom SPARQL queries against Wikidata to extract structured entity records, relationships, and metadata. It collects identifiers, labels, descriptions, and connected properties to support knowledge graph enrichment, semantic web research, and automated data mapping.

- **URL**: https://apify.com/zerobreak/mangadex-scraper.md
- **Developed by:** [ZeroBreak](https://apify.com/zerobreak) (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

### MangaDex Scraper — Manga Titles, Metadata and Relationships

![MangaDex Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/mangadex-scraper-cover.png)

### Overview

MangaDex Scraper collects publicly available manga information from MangaDex. Search by manga title and retrieve structured records covering titles, descriptions, publication details, chapters, translations, tags, authors, artists, creators, scanlation groups, cover artwork, and external links.

Set your search term and collection limit, then export the results in JSON, CSV, Excel, or other supported dataset formats.

### Features

- Search manga titles by keyword
- Collect manga IDs, URLs, and titles
- Extract translated titles, alternative titles, and descriptions
- Capture publication status, language, year, and content rating
- Retrieve chapter and volume information
- Collect available translation languages
- Extract tags and tag groups
- Identify authors, artists, and creators
- Collect scanlation group information
- Retrieve cover artwork details and URLs
- Capture external links to other manga platforms
- Collect creation, update, and version metadata

### Collection Mode

**Search:** Find manga records matching a title query.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | string | No | `search` | Collection mode. Search is supported. |
| `title` | string | Yes | `one piece` | Manga title or keyword to search for. |
| `maxItems` | integer | No | `100` | Maximum number of manga records to collect per run. Maximum: 1000. |
| `requestDelaySecs` | number | No | `1` | Delay between requests in seconds. |

### Example Input

```json
{
  "mode": "search",
  "title": "one piece",
  "maxItems": 100,
  "requestDelaySecs": 1
}
```

### Extracted Data

Each dataset record represents a manga title and can include the following fields:

| Category | Extracted Fields |
|---|---|
| **Basic** | `mangaId`, `mangaUrl`, `mangaType`, `mangaTitle` |
| **Titles** | `titleTranslations`, `titleLanguages`, `titleVariants`, `altTitles`, `altTitleCount` |
| **Description** | `description`, `descriptionTranslations`, `descriptionLanguages` |
| **Manga details** | `originalLanguage`, `status`, `state`, `year`, `contentRating`, `publicationDemographic`, `isLocked` |
| **Chapters** | `lastVolume`, `lastChapter`, `latestUploadedChapter` |
| **Translations** | `availableTranslatedLanguages`, `availableTranslatedLanguageCount` |
| **Tags** | `tagNames`, `tagIds`, `tagGroups`, `tagCount` |
| **Authors** | `authorIds`, `authorNames`, `authorCount` |
| **Artists** | `artistIds`, `artistNames`, `artistCount` |
| **Creators** | `creatorIds`, `creatorNames` |
| **Scanlation** | `scanlationGroupIds`, `scanlationGroupNames` |
| **Covers** | `coverArtIds`, `coverFileNames`, `coverUrls`, `coverDescriptions`, `coverVolumes` |
| **External links** | `anilist`, `kitsu`, `myAnimeList`, `amazon`, `mangaUpdates`, and other available platform links |
| **Metadata** | `createdAt`, `updatedAt`, `version`, `scrapedAt` |

### Example Output

```json
{
  "mangaId": "a1c7c817-4e59-43b7-9365-09675a149a6f",
  "mangaUrl": "https://mangadex.org/title/a1c7c817-4e59-43b7-9365-09675a149a6f",
  "mangaType": "manga",
  "mangaTitle": "One Piece",
  "titleTranslations": {
    "ja-ro": "One Piece",
    "en": "One Piece"
  },
  "titleLanguages": ["ja-ro", "en"],
  "titleVariants": ["One Piece"],
  "altTitles": ["ワンピース"],
  "altTitleCount": 1,
  "description": "A story about pirates and adventure.",
  "descriptionTranslations": {},
  "descriptionLanguages": ["en"],
  "originalLanguage": "ja",
  "status": "ongoing",
  "state": "published",
  "year": 1997,
  "contentRating": "safe",
  "publicationDemographic": "shounen",
  "isLocked": false,
  "lastVolume": "Unknown",
  "lastChapter": "Unknown",
  "latestUploadedChapter": "Unknown",
  "availableTranslatedLanguages": ["en"],
  "availableTranslatedLanguageCount": 1,
  "tagNames": ["Action", "Adventure"],
  "tagIds": ["tag-id-1", "tag-id-2"],
  "tagGroups": ["genre"],
  "tagCount": 2,
  "authorIds": ["author-id-1"],
  "authorNames": ["Example Author"],
  "authorCount": 1,
  "artistIds": ["artist-id-1"],
  "artistNames": ["Example Artist"],
  "artistCount": 1,
  "creatorIds": ["creator-id-1"],
  "creatorNames": ["Example Creator"],
  "scanlationGroupIds": ["group-id-1"],
  "scanlationGroupNames": ["Example Group"],
  "coverArtIds": ["cover-id-1"],
  "coverFileNames": ["cover.jpg"],
  "coverUrls": ["https://example.com/cover.jpg"],
  "coverDescriptions": ["Main cover"],
  "coverVolumes": ["1"],
  "anilist": "https://anilist.co/",
  "kitsu": "https://kitsu.io/",
  "myAnimeList": "https://myanimelist.net/",
  "amazon": "https://www.amazon.com/",
  "mangaUpdates": "https://www.mangaupdates.com/",
  "createdAt": "1997-07-22T00:00:00+00:00",
  "updatedAt": "2026-10-26T00:00:00+00:00",
  "version": 1,
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

*The example illustrates the field structure. Values are illustrative; actual fields and relationships depend on the manga record and the information available.*

### Use Cases

- **Manga catalog building:** Create structured manga databases with titles, descriptions, tags, and cover details.
- **Title research:** Explore translated titles, alternative names, and publication information.
- **Author and artist research:** Organize manga creators and their related works.
- **Translation research:** Identify available translated languages for manga titles.
- **Metadata monitoring:** Track publication status, chapter information, and metadata updates.
- **Cross-platform research:** Connect manga records with external platforms such as AniList, Kitsu, and MyAnimeList.
- **Data analysis:** Export structured manga information for spreadsheets, dashboards, and research tools.

### FAQ

**Who is this scraper for?**

Manga researchers, developers, catalog managers, and data analysts who need structured MangaDex information.

**What information does it collect?**

It can collect manga titles, descriptions, publication details, chapters, translations, tags, authors, artists, creators, scanlation groups, covers, and external links.

**Can I search for a specific manga?**

Yes. Enter a manga title or keyword in the `title` field.

**Does it collect cover information?**

Yes. Available cover identifiers, filenames, URLs, descriptions, and volume information can be included.

**Can I run it on a schedule?**

Yes. Use Apify schedules to repeat searches at your preferred intervals.

**How many manga records can it collect?**

You can configure `maxItems` up to 1000 per run.

**What formats are supported?**

Results can be exported as JSON, CSV, Excel, and other supported Apify dataset formats.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

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

What to fetch. Search looks up manga titles on MangaDex.

## `title` (type: `string`):

Passed to MangaDex as `title` (tested value: one piece).

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests. Default keeps pace at about 1 request per second. Raise if you see HTTP 429.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

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

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "search",
  "title": "one piece",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "title": "one piece"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zerobreak/mangadex-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 = { "title": "one piece" }

# Run the Actor and wait for it to finish
run = client.actor("zerobreak/mangadex-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 '{
  "title": "one piece"
}' |
apify call zerobreak/mangadex-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobreak/mangadex-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/ajCGwZTpWRdcswLIf/builds/yTGWJDKoUsUdVPEit/openapi.json
