AniList · Schema

Recommendation

Media recommendation

AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

Properties

Name Type Description
id integer The id of the recommendation
rating integer Users rating of the recommendation
userRating string The rating of the recommendation by currently authenticated user
media object The media the recommendation is from
mediaRecommendation object The recommended media
user object The user that first created the recommendation
View JSON Schema on GitHub

JSON Schema

anilist-recommendation-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-recommendation-schema.json",
  "title": "Recommendation",
  "description": "Media recommendation",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The id of the recommendation"
    },
    "rating": {
      "type": "integer",
      "description": "Users rating of the recommendation"
    },
    "userRating": {
      "type": "string",
      "enum": [
        "NO_RATING",
        "RATE_UP",
        "RATE_DOWN"
      ],
      "description": "The rating of the recommendation by currently authenticated user"
    },
    "media": {
      "$ref": "./anilist-media-schema.json",
      "description": "The media the recommendation is from"
    },
    "mediaRecommendation": {
      "$ref": "./anilist-media-schema.json",
      "description": "The recommended media"
    },
    "user": {
      "$ref": "./anilist-user-schema.json",
      "description": "The user that first created the recommendation"
    }
  },
  "required": [
    "id"
  ]
}