AniList · Schema

Media

Anime or Manga

AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

Properties

Name Type Description
id integer The id of the media
idMal integer The mal id of the media
title object The official titles of the media in various languages
type string The type of the media; anime or manga
format string The format the media was released in
status string The current releasing status of the media
description string Short description of the media's story and characters
startDate object The first official release date of the media
endDate object The last official release date of the media
season string The season the media was initially released in
seasonYear integer The season year the media was initially released in
seasonInt integer The year & season the media was initially released in
episodes integer The amount of episodes the anime has when complete
duration integer The general length of each anime episode in minutes
chapters integer The amount of chapters the manga has when complete
volumes integer The amount of volumes the manga has when complete
countryOfOrigin string Where the media was created. (ISO 3166-1 alpha-2)
isLicensed boolean If the media is officially licensed or a self-published doujin release
source string Source type the media was adapted from.
hashtag string Official Twitter hashtags for the media
trailer object Media trailer or advertisement
updatedAt integer When the media's data was last updated
coverImage object The cover images of the media
bannerImage string The banner image of the media
genres array The genres of the media
synonyms array Alternative titles of the media
averageScore integer A weighted average score of all the user's scores of the media
meanScore integer Mean score of all the user's scores of the media
popularity integer The number of users with the media on their list
isLocked boolean Locked media may not be added to lists our favorited. This may be due to the entry pending for deletion or other reasons.
trending integer The amount of related activity in the past hour
favourites integer The amount of user's who have favourited the media
tags array List of tags that describes elements and themes of the media
relations object Other media in the same or connecting franchise
characters object The characters in the media
staff object The staff who produced the media
studios object The companies who produced the media
isFavourite boolean If the media is marked as favourite by the current authenticated user
isFavouriteBlocked boolean If the media is blocked from being added to favourites
isAdult boolean If the media is intended only for 18+ adult audiences
nextAiringEpisode object The media's next episode airing schedule
airingSchedule object The media's entire airing schedule
trends object The media's daily trend stats
externalLinks array External links to another site related to the media
streamingEpisodes array Data and links to legal streaming episodes on external sites
rankings array The ranking of the media in a particular time span and format compared to other media
mediaListEntry object The authenticated user's media list entry for the media
reviews object User reviews of the media
recommendations object User recommendations for similar media
stats object
siteUrl string The url for the media page on the AniList website
autoCreateForumThread boolean If the media should have forum thread automatically created for it on airing episode release
isRecommendationBlocked boolean If the media is blocked from being recommended to/from
isReviewBlocked boolean If the media is blocked from being reviewed
modNotes string Notes for site moderators
View JSON Schema on GitHub

JSON Schema

anilist-media-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-media-schema.json",
  "title": "Media",
  "description": "Anime or Manga",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The id of the media"
    },
    "idMal": {
      "type": "integer",
      "description": "The mal id of the media"
    },
    "title": {
      "$ref": "./anilist-mediatitle-schema.json",
      "description": "The official titles of the media in various languages"
    },
    "type": {
      "type": "string",
      "enum": [
        "ANIME",
        "MANGA"
      ],
      "description": "The type of the media; anime or manga"
    },
    "format": {
      "type": "string",
      "enum": [
        "TV",
        "TV_SHORT",
        "MOVIE",
        "SPECIAL",
        "OVA",
        "ONA",
        "MUSIC",
        "MANGA",
        "NOVEL",
        "ONE_SHOT"
      ],
      "description": "The format the media was released in"
    },
    "status": {
      "type": "string",
      "enum": [
        "FINISHED",
        "RELEASING",
        "NOT_YET_RELEASED",
        "CANCELLED",
        "HIATUS"
      ],
      "description": "The current releasing status of the media"
    },
    "description": {
      "type": "string",
      "description": "Short description of the media's story and characters"
    },
    "startDate": {
      "$ref": "./anilist-fuzzydate-schema.json",
      "description": "The first official release date of the media"
    },
    "endDate": {
      "$ref": "./anilist-fuzzydate-schema.json",
      "description": "The last official release date of the media"
    },
    "season": {
      "type": "string",
      "enum": [
        "WINTER",
        "SPRING",
        "SUMMER",
        "FALL"
      ],
      "description": "The season the media was initially released in"
    },
    "seasonYear": {
      "type": "integer",
      "description": "The season year the media was initially released in"
    },
    "seasonInt": {
      "type": "integer",
      "description": "The year & season the media was initially released in"
    },
    "episodes": {
      "type": "integer",
      "description": "The amount of episodes the anime has when complete"
    },
    "duration": {
      "type": "integer",
      "description": "The general length of each anime episode in minutes"
    },
    "chapters": {
      "type": "integer",
      "description": "The amount of chapters the manga has when complete"
    },
    "volumes": {
      "type": "integer",
      "description": "The amount of volumes the manga has when complete"
    },
    "countryOfOrigin": {
      "type": "string",
      "description": "Where the media was created. (ISO 3166-1 alpha-2)"
    },
    "isLicensed": {
      "type": "boolean",
      "description": "If the media is officially licensed or a self-published doujin release"
    },
    "source": {
      "type": "string",
      "enum": [
        "ORIGINAL",
        "MANGA",
        "LIGHT_NOVEL",
        "VISUAL_NOVEL",
        "VIDEO_GAME",
        "OTHER",
        "NOVEL",
        "DOUJINSHI",
        "ANIME",
        "WEB_NOVEL",
        "LIVE_ACTION",
        "GAME",
        "COMIC",
        "MULTIMEDIA_PROJECT",
        "PICTURE_BOOK"
      ],
      "description": "Source type the media was adapted from."
    },
    "hashtag": {
      "type": "string",
      "description": "Official Twitter hashtags for the media"
    },
    "trailer": {
      "$ref": "./anilist-mediatrailer-schema.json",
      "description": "Media trailer or advertisement"
    },
    "updatedAt": {
      "type": "integer",
      "description": "When the media's data was last updated"
    },
    "coverImage": {
      "$ref": "./anilist-mediacoverimage-schema.json",
      "description": "The cover images of the media"
    },
    "bannerImage": {
      "type": "string",
      "description": "The banner image of the media"
    },
    "genres": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The genres of the media"
    },
    "synonyms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Alternative titles of the media"
    },
    "averageScore": {
      "type": "integer",
      "description": "A weighted average score of all the user's scores of the media"
    },
    "meanScore": {
      "type": "integer",
      "description": "Mean score of all the user's scores of the media"
    },
    "popularity": {
      "type": "integer",
      "description": "The number of users with the media on their list"
    },
    "isLocked": {
      "type": "boolean",
      "description": "Locked media may not be added to lists our favorited. This may be due to the entry pending for deletion or other reasons."
    },
    "trending": {
      "type": "integer",
      "description": "The amount of related activity in the past hour"
    },
    "favourites": {
      "type": "integer",
      "description": "The amount of user's who have favourited the media"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "./anilist-mediatag-schema.json"
      },
      "description": "List of tags that describes elements and themes of the media"
    },
    "relations": {
      "$ref": "./anilist-mediaconnection-schema.json",
      "description": "Other media in the same or connecting franchise"
    },
    "characters": {
      "$ref": "./anilist-characterconnection-schema.json",
      "description": "The characters in the media"
    },
    "staff": {
      "$ref": "./anilist-staffconnection-schema.json",
      "description": "The staff who produced the media"
    },
    "studios": {
      "$ref": "./anilist-studioconnection-schema.json",
      "description": "The companies who produced the media"
    },
    "isFavourite": {
      "type": "boolean",
      "description": "If the media is marked as favourite by the current authenticated user"
    },
    "isFavouriteBlocked": {
      "type": "boolean",
      "description": "If the media is blocked from being added to favourites"
    },
    "isAdult": {
      "type": "boolean",
      "description": "If the media is intended only for 18+ adult audiences"
    },
    "nextAiringEpisode": {
      "$ref": "./anilist-airingschedule-schema.json",
      "description": "The media's next episode airing schedule"
    },
    "airingSchedule": {
      "$ref": "./anilist-airingscheduleconnection-schema.json",
      "description": "The media's entire airing schedule"
    },
    "trends": {
      "$ref": "./anilist-mediatrendconnection-schema.json",
      "description": "The media's daily trend stats"
    },
    "externalLinks": {
      "type": "array",
      "items": {
        "$ref": "./anilist-mediaexternallink-schema.json"
      },
      "description": "External links to another site related to the media"
    },
    "streamingEpisodes": {
      "type": "array",
      "items": {
        "$ref": "./anilist-mediastreamingepisode-schema.json"
      },
      "description": "Data and links to legal streaming episodes on external sites"
    },
    "rankings": {
      "type": "array",
      "items": {
        "$ref": "./anilist-mediarank-schema.json"
      },
      "description": "The ranking of the media in a particular time span and format compared to other media"
    },
    "mediaListEntry": {
      "$ref": "./anilist-medialist-schema.json",
      "description": "The authenticated user's media list entry for the media"
    },
    "reviews": {
      "$ref": "./anilist-reviewconnection-schema.json",
      "description": "User reviews of the media"
    },
    "recommendations": {
      "$ref": "./anilist-recommendationconnection-schema.json",
      "description": "User recommendations for similar media"
    },
    "stats": {
      "$ref": "./anilist-mediastats-schema.json"
    },
    "siteUrl": {
      "type": "string",
      "description": "The url for the media page on the AniList website"
    },
    "autoCreateForumThread": {
      "type": "boolean",
      "description": "If the media should have forum thread automatically created for it on airing episode release"
    },
    "isRecommendationBlocked": {
      "type": "boolean",
      "description": "If the media is blocked from being recommended to/from"
    },
    "isReviewBlocked": {
      "type": "boolean",
      "description": "If the media is blocked from being reviewed"
    },
    "modNotes": {
      "type": "string",
      "description": "Notes for site moderators"
    }
  },
  "required": [
    "id",
    "isFavourite",
    "isFavouriteBlocked"
  ]
}