Allmanga Anime Streaming API is a robust, high-performance backend service designed to aggregate and serve anime content from multiple sources into a single, unified REST API. Built for developers, it eliminates the headache of writing custom scrapers for every anime site by providing a standardized JSON interface for metadata, episodes, and high-quality streaming links.
Whether you are building a native mobile app, a web-based anime portal, or a Discord bot, this API gives you instant access to thousands of titles, complete with multi-language subtitles and multiple resolution options. It handles the heavy lifting of parsing, caching, and proxy routing so you can focus on building a beautiful frontend.
π‘ Why build this API? Because the anime streaming landscape is fragmented and highly volatile. AllManga acts as a shield, standardizing the data and keeping your application online even when source sites change their architecture.
|
Lightning Fast Redis-powered caching ensures sub-50ms response times for metadata. |
Bypass Protection Built-in bypasses for Cloudflare and DDoS-Guard on source platforms. |
Multi-Sub Returns links for English, Spanish, Arabic, and native Japanese subs. |
RESTful Design Clean, predictable endpoints that are easy to integrate with any stack. |
| π§© The Challenge | π‘ Our Solution | π The Result |
|---|---|---|
| Source sites constantly change HTML | Modular scraper architecture with auto-updates | Your app never breaks |
| M3U8 stream links expire quickly | On-the-fly token generation and proxy routing | Uninterrupted video playback |
| Slow scraping kills mobile apps | Edge caching and optimized queries | Blazing fast load times |
| Building scrapers takes months | Ready-to-use JSON API | Launch your anime app in days |
| Endpoint | Description | Example |
|---|---|---|
/search?q= |
Search for anime by title | /search?q=naruto |
/anime/{id} |
Get detailed metadata (synopsis, genres, score) | /anime/21 |
/episodes/{id} |
List all available episodes | /episodes/21 |
/stream/{id}/{ep} |
Get M3U8 streaming links | /stream/21/1 |
/trending |
Fetch currently trending anime globally | /trending |
Three steps. Under five minutes. No credit card.
git clone https://github.com/yourname/allmanga-api.git
cd allmanga-apidocker-compose up -dcurl http://localhost:3000/trending| Layer | Responsibility | Tech |
|---|---|---|
| π¦ API Gateway | Rate limiting, routing, and request validation | Fastify |
| π·οΈ Scrapers | Fetching and parsing data from sources | Cheerio / Puppeteer |
| ποΈ Cache | Storing frequently accessed metadata | Redis |
| π¬ Stream Proxy | Fetching M3U8 playlists and proxying video chunks | Node.js Streams |
The system is built with a plugin-based architecture. You can easily add new anime sources by creating a new scraper module that implements the standard SourceProvider interface.
|
For app developers
|
For self-hosters
|
Does this API store or host any video files?
No. This API acts as a scraper and proxy. It aggregates streaming links (M3U8) from third-party providers and proxies the requests to bypass CORS restrictions. We do not host any copyrighted media on our servers.
Is there a rate limit?
The hosted public API has a rate limit of 60 requests per minute per IP. If you self-host the project, you can configure the rate limit in the config.json file to suit your needs.
Can I use this for a commercial project?
The code is MIT licensed, so you can use it commercially. However, you are responsible for the content you stream. We highly recommend using official licensing for commercial anime streaming.
How often are the sources updated?
We maintain the scrapers weekly. If a source site drops a major update, we usually push a fix within 24-48 hours. Pull requests are always welcome.
How do I report a broken endpoint?
Open an issue on the GitHub repository with the specific anime ID and the endpoint you tested. Include the error message and the expected output.

