Get anime/manga details
get_mediaRetrieve comprehensive anime or manga details by AniList ID: title, synopsis, scores, rankings, episode/chapter counts, dates, and external links.
Instructions
Get detailed information about one or more anime or manga by their AniList ID(s): title, format, status, episode/chapter/volume count, genres, score, synopsis, dates, and rankings — AniList's own ranking badges (e.g. "#134 highest rated all time", "#11 highest rated 2024"), one entry per rated/popular ranking window the title currently appears in. Also returns nextAiringEpisode (for currently-releasing anime), externalLinks (official sites, streaming platforms), and — [requires login] — mediaListEntry, the authenticated user's own list entry for this title, or null if it isn't on their list. Use search_media first to resolve a title to its AniList ID. Returns a single object if ids is a single ID, or an array (same order as ids, with null in place of any ID that didn't resolve to a real anime/manga) if ids is an array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | A single AniList anime/manga ID, or an array of up to 25 IDs to fetch in one call (same cap as this codebase's paginated list tools — each entry returned here includes the full synopsis/tags/rankings, so an uncapped batch could return a very large response). | |
| type | Yes | Whether `ids` refers to anime or manga. | |
| includeStreamingEpisodes | No | Also fetch `streamingEpisodes` (per-episode streaming links). Kept off by default — AniList doesn't paginate this field, so a long-running title can return hundreds of entries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes |