Get top manga
get_top_mangaRetrieve manga ranked by all-time score or popularity. Apply filters for special rankings like publishing, upcoming, bypopularity, or favorite. Restrict by publication type or paginate results.
Instructions
Get manga ranked by all-time score/popularity, not tied to any release window. Use filter for special rankings (publishing, upcoming, bypopularity, favorite). If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API — type/filter are merged into one best-effort ranking, themes/demographics come back empty, and sfw_strict degrades to the same filtering as sfw (the official API can't separate adult-rated from Ecchi-tagged-but-safely-rated).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sfw | No | If true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanservice) through — use `sfw_strict` to also exclude those. | |
| page | No | 1-based page number for pagination. No upper bound — this ranking runs to the end of MAL's own catalog. | |
| type | No | Restrict to one or more publication types. | |
| limit | No | Max results per page (1-50). | |
| filter | No | Special ranking filter. | |
| sfw_strict | No | If true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| results | Yes |