Anime

Get anime catalog data

Get genres, anime types and and default catalog items

get/anime/catalog

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/anime/catalog
  • Auth: none declared

Response

Success response

Example response

{
  "response": {
    "genres": {
      "genres": [
        {
          "title": "title",
          "href": "href",
          "value": 12,
          "more_titles": [
            "Title#2",
            "Title#3"
          ],
          "group_id": -1
        }
      ],
      "groups": [
        {
          "title": "base group",
          "id": -2
        }
      ]
    },
    "data": [
      {
        "anime_id": 12,
        "anime_status": {
          "title": "вышел",
          "class": "",
          "alias": "released",
          "value": 0
        },
        "anime_url": "anime-alias-123",
        "poster": {
          "small": "https://example.com/small.webp",
          "medium": "https://example.com/medium.webp",
          "big": "https://example.com/big.webp",
          "huge": "https://example.com/huge.webp",
          "fullsize": "https://example.com/fullsize.webp",
          "mega": "https://example.com/mega.webp"
        },
        "rating": {
          "average": 9.2332323232,
          "kp_rating": 7.2332323232,
          "anidub_rating": 8.2332323232,
          "counters": 123,
          "myanimelist_rating": 9.1332323232,
          "shikimori_rating": 9.6332323232,
          "worldart_rating": 9.4332323232
        },
        "title": "Your name",
        "type": {
          "name": "Спешл",
          "value": 5,
          "shortname": "спешл",
          "alias": "anime-alias-123"
        },
        "year": 2016,
        "description": "Anime description long-long-long...",
        "views": 12345,
        "season": 1,
        "min_age": {
          "value": 5,
          "title": "R+",
          "title_long": "R+ (17+)"
        },
        "user": {
          "list": {
            "is_fav": false,
            "list": {
              "title": "Смотрю",
              "href": "watch_now",
              "id": 0
            }
          },
          "rating": 9.23
        },
        "remote_ids": {
          "worldart_id": 123,
          "worldart_type": "animation",
          "kp_id": 123,
          "anidub_id": 123,
          "sr_id": 123,
          "anilibria_alias": "anilibria-anime-alias",
          "shikimori_id": 123,
          "myanimelist_id": 123
        },
        "top": {
          "category": 12,
          "global": 123
        },
        "blocked_in": [
          "RU",
          "UA"
        ],
        "original": "Manga",
        "duration": 123,
        "trailers_count": 4,
        "lists_count": 123456,
        "other_titles": [
          "Another title",
          "僕のピコ"
        ],
        "creators": [
          {
            "title": "Creator title",
            "id": 134,
            "url": "catalog/director/134"
          }
        ],
        "studios": [
          {
            "title": "Studio title",
            "id": 134,
            "url": "catalog/studio/134"
          }
        ],
        "videos": [
          {
            "video_id": 123,
            "iframe_url": "https://iframe.com",
            "data": {
              "dubbing": "Dubbing title",
              "player": "Player title",
              "player_id": 123
            },
            "number": "1",
            "date": 123455644,
            "index": 1,
            "skips": {
              "ending": {
                "time": 1234,
                "length": 180
              },
              "opening": {
                "time": 0,
                "length": 120
              }
            },
            "views": 12345,
            "duration": 0
          }
        ],
        "genres": [
          {
            "title": "Дзёсэй",
            "id": 4,
            "alias": "dzesej",
            "url": "/catalog/category/dzesej"
          }
        ],
        "viewing_order": [
          {
            "title": "Anime Title",
            "anime_id": 123,
            "type": {
              "name": "Спешл",
              "value": 5,
              "shortname": "спешл",
              "alias": "anime-alias-123"
            },
            "anime_url": "anime-alias-123",
            "anime_status": {
              "title": "вышел",
              "class": "",
              "alias": "released",
              "value": 0
            },
            "description": "Anime description",
            "poster": {
              "small": "https://example.com/small.webp",
              "medium": "https://example.com/medium.webp",
              "big": "https://example.com/big.webp",
              "huge": "https://example.com/huge.webp",
              "fullsize": "https://example.com/fullsize.webp",
              "mega": "https://example.com/mega.webp"
            },
            "user": {
              "list": {
                "list": {
                  "title": "Смотрю",
                  "href": "watch_now",
                  "id": 0
                },
                "is_fav": false
              },
              "rating": 9
            },
            "year": 2016,
            "data": {
              "id": 123,
              "index": 1,
              "text": "Spinnoff"
            }
          }
        ],
        "translates": [
          {
            "title": "Dubbing",
            "href": "dubbing",
            "value": 1
          }
        ],
        "episodes": {
          "aired": 12,
          "count": 24,
          "next_date": 12344343,
          "prev_date": 12344343
        },
        "comments_count": 123,
        "reviews_count": 1,
        "random_screenshots": [
          {
            "sizes": {
              "small": "https://example.com/small.webp",
              "full": "https://example.com/full.avif"
            },
            "id": 123,
            "time": 100,
            "episode": "1"
          }
        ],
        "posts_count": 2,
        "partner_videos_count": 12
      }
    ],
    "types": [
      {
        "type": {
          "name": "Спешл",
          "value": 5,
          "shortname": "спешл",
          "alias": "anime-alias-123"
        },
        "count": 2
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.