PHPackages                             rl404/mal-scraper-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rl404/mal-scraper-api

AbandonedArchivedProject[API Development](/categories/api)

rl404/mal-scraper-api
=====================

Very easy and simple REST API setup get MyAnimeList.net data by using my Mal-Scraper as data parser.

344PHP

Since Jun 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rl404/MAL-Scraper-API)[ Packagist](https://packagist.org/packages/rl404/mal-scraper-api)[ RSS](/packages/rl404-mal-scraper-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

> Go [here](https://github.com/rl404/go-malscraper) for a better and more updated version.

MAL-Scraper-API [![](https://camo.githubusercontent.com/b76bd2ac596779a72f4b132b65cbeb0c3063bc9131fbb823fe65297c00953cb9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344352e342d3838393242462e737667)](https://php.net/) [![StyleCI Status](https://camo.githubusercontent.com/9bce4861393134c466545f163fb6c5fe4868c73f700d089f61aed72f35585953/68747470733a2f2f7374796c6563692e696f2f7265706f732f3135323736313234362f736869656c643f6272616e63683d6d6173746572267374796c653d666c6174)](https://styleci.io/repos/152761246) [![Codacy Status](https://camo.githubusercontent.com/ac65aba971a5197a390da8f4b976f44ddd8c4563e56c4f0717c7f7517e8dff89/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3062313831336265323036333464366639373238363666363463303739363837)](https://app.codacy.com/app/rl404/MAL-Scraper-API?utm_source=github.com&utm_medium=referral&utm_content=rl404/MAL-Scraper-API&utm_campaign=Badge_Grade_Dashboard) [![Scrutinizer Score](https://camo.githubusercontent.com/3d674e4dd2260a55a2d91ececa8ca56d58dedeed015c218c0c5f50a593d75e61/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726c3430342f4d414c2d536372617065722d4150492f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rl404/MAL-Scraper-API/?branch=master) [![License](https://camo.githubusercontent.com/bca75bdeb3110f724156a2653712533e415a2b260b96d8badbfe2245e4bf1da6/68747470733a2f2f706f7365722e707567782e6f72672f726c3430342f6d616c2d736372617065722d6170692f6c6963656e7365)](https://packagist.org/packages/rl404/mal-scraper-api)
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#mal-scraper-api---------)

> Easy setup, Easy use, Easy life

*Mal-Scraper-API* is a very easy and simple REST API setup to get [MyAnimeList.net](https://myanimelist.net/) data by using my [Mal-Scraper](https://github.com/rl404/MAL-Scraper/) as data parser.

### Features

[](#features)

- Get general information of anime, manga, charater (from anime and manga), or people (voice actor, author, staff, etc)
- Get additional information of anime or manga character and staff, statistic and score, or picture
- Get list of anime or manga of selected studio/producer, magazine, or genre
- Get list of all anime or manga genre, anime studio/producer or manga magazine
- Get list of character and staff involved in an anime or manga
- Get result of searching, anime, manga, character, people or user (pagination supported)
- Get seasonal anime
- Get list of top anime from various categories (all, airing, upcoming, etc) (pagination supported)
- Get list of top manga from various categories (all, manga, novel, etc) (pagination supported)
- Get list of most favorited character and people (pagination supported)
- Get information of user profile, friends, history, and anime/manga list
- Caching (using [Simple-PHP-Cache library](https://github.com/cosenary/Simple-PHP-Cache)) (data cached for 1 day as default)
- Return with HTTP response
- (Bonus) Get all anime/manga cover from user list
- (Another bonus) htaccess included for easier call

*More will be coming soon...*

Installation
------------

[](#installation)

1. `git clone https://github.com/rl404/MAL-Scraper-API.git`
2. `cd MAL-Scraper-API`
3. `composer install`
4. That's it.

#### With Docker

[](#with-docker)

1. `git clone https://github.com/rl404/MAL-Scraper-API.git`
2. `cd MAL-Scraper-API`
3. `docker-compose up`
4. `http://localhost:8000` is ready to use.

#### Dependencies

[](#dependencies)

- PHP 5.4+
- rl404/mal-scraper &gt;= 1.3.0

Usage
-----

[](#usage)

### General Methods

[](#general-methods)

- **Info** - Get anime or manga general information.
    - `/info?t=anime&id=1`
    - `/info?t=manga&id=1`
- **Character** - Get anime or manga character information.
    - `/character?id=1`
- **People** - Get person information.
    - `/people?id=1`
- **Studio/Producer** - Get studio or producer information.
    - `/studio-producer?id=1`
    - `/studioproducer?id=1`
- **Magazine** - Get list of books published by the magazine.
    - `/magazine?id=1`
- **Genre** - Get list of anime or manga that has the genre.
    - `/genre?t=anime&id=1`
    - `/genre?t=manga&id=1`
- **Review** - Get review of anime or manga.
    - `/review?id=1`
- **Recommendation** - Get recommendation of anime or manga.
    - `/recommendation?t=anime&id1=1&id2=205`
    - `/recommendation?t=manga&id1=1&id2=21`

### Additional Methods

[](#additional-methods)

- **Character and Staff** - Get complete list of characters and staffs involved in anime or manga.
    - `/character-staff?t=anime&id=1`
    - `/characterstaff?t=manga&id=1`
- **Statistics** - Get detail statistics information of anime or manga.
    - `/stat?t=anime&id=1`
    - `/stat?t=manga&id=1`
- **Pictures** - Get list of additional anime or manga pictures.
    - `/picture?t=anime&id=1`
    - `/picture?t=manga&id=1`
- **Character Pictures** - Get list of additional character pictures.
    - `/character-picture?id=1`
    - `/characterpicture?id=1`
- **People Pictures** - Get list of additional people pictures.
    - `/people-picture?id=1`
    - `/peoplepicture?id=1`
- **Video** - Get list of additional anime video list.
    - `/video?id=1`
    - `/video?id=1&p=2`
- **Episode** - Get list of additional anime episode list.
    - `/episode?id=1`
    - `/episode?id=1&p=2`
- **Review** - Get list of additional anime or manga review list.
    - `/anime-review?id=1`
    - `/animereview?id=1&p=2`
    - `/manga-review?id=1`
    - `/mangareview?id=1&p=2`
- **Recommendation** - Get list of additional anime or manga recommendation list.
    - `/anime-recommendation?id=1`
    - `/animerecommendation?id=1`
    - `/manga-recommendation?id=1`
    - `/mangarecommendation?id=1`

### List Methods

[](#list-methods)

- **All Anime Genre** - Get list of all anime genre.
    - `/all-anime-genre`
    - `/allanimegenre`
- **All Manga Genre** - Get list of all manga genre.
    - `/all-manga-genre`
    - `/allmangagenre`
- **All Studio and Producer** - Get list of all studio and producer.
    - `/all-studio-producer`
    - `/allstudioproducer`
- **All Magazine** - Get list of all magazine.
    - `/all-magazine`
    - `/allmagazine`
- **All Review** - Get list of all review.
    - `/all-review?t=anime`
    - `/allreview?t=manga&p=2`
- **All Recommendation** - Get list of all recommendation.
    - `/all-recommendation?t=anime`
    - `/allrecommendation?t=manga&p=2`

### Search Methods

[](#search-methods)

- **Search Anime** - Get list of anime search result.
    - `/search-anime?q=clannad`
    - `/searchanime?q=clannad`
- **Search Manga** - Get list of manga search result.
    - `/search-manga?q=berserk`
    - `/searchmanga?q=berserk`
- **Search Character** - Get list of character search result.
    - `/search-character?q=luffy`
    - `/searchcharacter?q=luffy`
- **Search People** - Get list of people search result.
    - `/search-people?q=hana`
    - `/searchpeople?q=hana`
- **Search User** - Get list of user search result.
    - `/search-user?q=rl404`
    - `/searchuser?q=rl404`

### Seasonal Methods

[](#seasonal-methods)

- **Season** - Get list of anime of the season.
    - `/season`
    - `/season?y=2018`
    - `/season?s=spring`
    - `/season?s=summer`
    - `/season?s=winter`
    - `/season?s=fall`
    - `/season?s=spring&y=2017`

### Top List Methods

[](#top-list-methods)

- **Top Anime** - Get list of top anime.
    - `/top-anime`
    - `/topanime`
    - `/topanime?p=2`
    - `/topanime?t=2`
    - `/topanime?t=3&p=4`
- **Top Manga** - Get list of top manga.
    - `/top-manga`
    - `/topmanga`
    - `/topmanga?p=2`
    - `/topmanga?t=2`
    - `/topmanga?t=3&p=4`
- **Top Character** - Get list of most favorited character.
    - `/top-character`
    - `/topcharacter`
    - `/topcharacter?p=2`
- **Top People** - Get list of most favorited people.
    - `/top-people`
    - `/toppeople`
    - `/toppeople?p=2`

### User Methods

[](#user-methods)

- **User** - Get user profile information
    - `/user?u=rl404`
- **User Friends** - Get list of user's friends.
    - `/user-friend?u=r404`
    - `/userfriend?u=rl404`
- **User History** - Get list of user's anime or manga update history.
    - `/user-history?u=rl404`
    - `/userhistory?u=rl404&t=anime`
    - `/userhistory?u=rl404&t=manga`
- **User List** - Get list of user's anime or manga.
    - `/user-list?u=rl404`
    - `/userlist?u=rl404&t=anime`
    - `/userlist?u=rl404&t=manga`
    - `/userlist?u=rl404&st=1`
    - `/userlist?u=rl404&t=manga&st=2`
- **User List Cover** - Get CSS file for anime or manga list cover. Please go [here](https://github.com/rl404/MAL-Scraper/wiki/getUserCover()) for more info. And don't forget to convert your style to url using [this](https://www.url-encode-decode.com/).
    - `/user-cover?u=rl404`
    - `/usercover?u=rl404&t=manga`
    - `/usercover?u=rl404&q=%23more%7Bid%7D+.borderRBL+div%7Bbackground-image%3Aurl%28%7Burl%7D%29%7D`

For more information about the methods, params, and output, you can read the [code](https://github.com/rl404/MAL-Scraper-API/blob/master/index.php) by yourself (it should be easy to read and understand) or you can go to the [wiki](https://github.com/rl404/MAL-Scraper/wiki) library.

Try it yourself
---------------

[](#try-it-yourself)

If you want to try, use `mal-scraper.000webhostapp.com` or `mal-scraper.epizy.com/api` as the domain.

Disclamer
---------

[](#disclamer)

All data (including anime, manga, people, etc) and MyAnimeList logos belong to their respective copyrights owners. Mal-Scraper does not have any affliation with content providers.

License
-------

[](#license)

MIT License

Copyright (c) rl404

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/faf632776c8df47dde69f35744d1b605192668d9023b98d6cd49c412680f42b3?d=identicon)[rl404](/maintainers/rl404)

---

Top Contributors

[![rl404](https://avatars.githubusercontent.com/u/8389774?v=4)](https://github.com/rl404 "rl404 (20 commits)")

---

Tags

apieasymyanimelistrest-apisetupsimpleunofficial

### Embed Badge

![Health badge](/badges/rl404-mal-scraper-api/health.svg)

```
[![Health](https://phpackages.com/badges/rl404-mal-scraper-api/health.svg)](https://phpackages.com/packages/rl404-mal-scraper-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M474](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
