Anime Kai REST API is a high-performance, developer-first scraping engine designed to unlock the full potential of AnimeKai. By combining advanced HTML parsing with automated token encryption, this API provides a seamless bridge to anime metadata, episode lists, and direct m3u8 streaming links.
- 🎬 Direct Streaming Resolver: Automated multi-step decryption to find real
m3u8video sources. - đź•’ Smart Timestamps: Built-in intro and outro skip points for a premium viewing experience.
- 🏠Dynamic Dashboard: Scrapes homepage banners, latest updates, and trending anime (Now, Day, Week, Month).
- 🧬 Automated Encryption: Zero-manual-work integration with
enc-dec.appfor secure token (_) parameters. - đź§Ľ Pristine Source Code: Clean, comment-free, and production-ready Python logic.
This project is built using modern Python tools to ensure speed and reliability:
- Flask: Lightweight and scalable RESTful API framework.
- BeautifulSoup4: Elegant HTML parsing and data extraction.
- Requests: Robust HTTP communication with custom header management.
- Enc-Dec Bridge: External integration for rolling token security.
Ensure you have Python 3.10 or higher installed.
# Install required packages
pip install flask flask-cors requests beautifulsoup4# Clone the repository
git clone https://github.com/walterwhite-69/AnimeKAI-API.git
cd AnimeKAI-API
# Start the server
python app.py| Order | Action | Endpoint | Purpose |
|---|---|---|---|
| 0 | Search | GET /api/search?keyword=Naruto |
Find the anime slug. |
| 1 | Info | GET /api/anime/{slug} |
Extract metadata and the key ani_id. |
| 2 | Episodes | GET /api/episodes/{ani_id} |
Retrieve individual episode tokens. |
| 3 | Servers | GET /api/servers/{ep_token} |
Discover Sub, Dub, and Softsub mirrors. |
| 4 | Play | GET /api/source/{link_id} |
Final Prize: Direct m3u8 stream! |
Developed and visioned by Walter.
Please star the repository for future updates
For contributions, bug reports, or feature requests, visit the official repository:
đź”— GitHub Repository
Made with ❤️by Walter for the Anime Community. Educational use only.
