Reverse-engineered API wrapper for manhwa18.cc
| Method | Endpoint | Description |
|---|---|---|
GET | /api/search?q=QUERY | Search manga (native JSON endpoint) |
GET | /api/latest?page=1 | Homepage manga listing |
api/manga/[slug] | /api/manga/eternally-regressing-knight | Manga detail + chapters |
GET | /api/chapter/[manga]/[chapter] | Chapter reader (images) |
GET | /api/genre/[name]?page=1 | Manga by genre |
GET | /api/genres | List all available genres |
// Search
fetch('/api/search?q=eternally')
.then(r => r.json())
.then(data => console.log(data))
// Manga detail
fetch('/api/manga/eternally-regressing-knight')
.then(r => r.json())
.then(data => console.log(data))
// Chapter images
fetch('/api/chapter/eternally-regressing-knight/chapter-0')
.then(r => r.json())
.then(data => console.log(data))