Get anime/manga details
get_mediaRetrieve detailed information about anime or manga by their AniList IDs, including rankings, next airing episode, 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) if ids is an array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | A single AniList anime/manga ID, or an array of IDs to fetch in one call. | |
| type | Yes | Whether `id`/`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 |