{
  "openapi": "3.0.1",
  "info": {
    "title": "MyAnimeList Scraper — Anime & Manga Data, Ratings API",
    "description": "Unofficial MyAnimeList API powered by the free, open Jikan API — no key, no browser. Scrape anime & manga data: top charts, full-text search, seasonal anime, ratings, characters, voice actors and recommendations. Export to JSON, CSV or Excel for analytics, ML and recommendation engines.",
    "version": "1.0",
    "x-build-id": "cjbRzybHg0hd3qHmV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~mal-anime-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-mal-anime-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/logiover~mal-anime-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-mal-anime-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/logiover~mal-anime-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-mal-anime-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "topAnime",
              "topManga",
              "searchAnime",
              "searchManga",
              "seasonal",
              "animeDetails",
              "characters",
              "recommendations"
            ],
            "type": "string",
            "description": "Which MyAnimeList / Jikan endpoint to run.\n\n• **topAnime** — top / most-popular anime chart, paginated (highest volume, default)\n• **topManga** — top / most-popular manga chart, paginated\n• **searchAnime** — full-text anime search with genre/type/status/order filters\n• **searchManga** — full-text manga search\n• **seasonal** — every anime in a given season (or the current season)\n• **animeDetails** — full details for one or more anime IDs (batch)\n• **characters** — characters + voice actors for one or more anime IDs\n• **recommendations** — community anime recommendations for one or more anime IDs",
            "default": "topAnime"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text term for **searchAnime** / **searchManga** mode (anime or manga title). Leave empty to browse all entries by the chosen filters/order."
          },
          "genres": {
            "title": "Genres",
            "type": "array",
            "description": "Filter **searchAnime** / **searchManga** by one or more genres (MyAnimeList genre IDs). Leave empty for all genres.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "5",
                "46",
                "28",
                "4",
                "8",
                "9",
                "10",
                "26",
                "47",
                "35",
                "13",
                "14",
                "7",
                "40",
                "22",
                "23",
                "24",
                "36",
                "30",
                "37",
                "41",
                "12",
                "51"
              ],
              "enumTitles": [
                "Action",
                "Adventure",
                "Avant Garde",
                "Award Winning",
                "Boys Love",
                "Comedy",
                "Drama",
                "Ecchi",
                "Fantasy",
                "Girls Love",
                "Gourmet",
                "Harem",
                "Historical",
                "Horror",
                "Mystery",
                "Psychological",
                "Romance",
                "School",
                "Sci-Fi",
                "Slice of Life",
                "Sports",
                "Supernatural",
                "Suspense",
                "Hentai",
                "Anthropomorphic"
              ]
            },
            "default": []
          },
          "status": {
            "title": "Status",
            "enum": [
              "airing",
              "complete",
              "upcoming",
              "publishing",
              "hiatus",
              "discontinued"
            ],
            "type": "string",
            "description": "Filter search by airing / publishing status. Anime values: Airing, Complete, Upcoming. Manga values: Publishing, Complete, Hiatus, Discontinued, Upcoming. Pick one that matches your search type."
          },
          "orderBy": {
            "title": "Order by (search)",
            "enum": [
              "score",
              "rank",
              "popularity",
              "members",
              "favorites",
              "title",
              "start_date",
              "end_date",
              "episodes",
              "chapters",
              "volumes",
              "mal_id"
            ],
            "type": "string",
            "description": "Field to sort **searchAnime** / **searchManga** results by. `episodes` applies to anime, `chapters` / `volumes` to manga."
          },
          "sort": {
            "title": "Sort direction (search)",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Sort direction for `orderBy`. `desc` = highest first, `asc` = lowest first.",
            "default": "desc"
          },
          "filter": {
            "title": "Chart filter (topAnime / topManga)",
            "enum": [
              "",
              "airing",
              "publishing",
              "upcoming",
              "bypopularity",
              "favorite"
            ],
            "type": "string",
            "description": "Optional filter for the top charts. Anime: `airing`, `upcoming`, `bypopularity`, `favorite`. Manga: `publishing`, `upcoming`, `bypopularity`, `favorite`. Leave empty for the overall top-rated chart."
          },
          "type": {
            "title": "Type",
            "enum": [
              "tv",
              "movie",
              "ova",
              "special",
              "ona",
              "music",
              "manga",
              "novel",
              "lightnovel",
              "oneshot",
              "doujin",
              "manhwa",
              "manhua"
            ],
            "type": "string",
            "description": "Optional media-type filter, used by the top charts and search. Anime values: TV, Movie, OVA, Special, ONA, Music. Manga values: Manga, Novel, Light novel, One-shot, Doujinshi, Manhwa, Manhua. Pick one that matches your mode."
          },
          "year": {
            "title": "Year (seasonal)",
            "minimum": 1917,
            "maximum": 2100,
            "type": "integer",
            "description": "Year for **seasonal** mode, e.g. `2024`. Combine with `season`. If either year or season is empty, the current season is used."
          },
          "season": {
            "title": "Season (seasonal)",
            "enum": [
              "winter",
              "spring",
              "summer",
              "fall"
            ],
            "type": "string",
            "description": "Season for **seasonal** mode. One of `winter`, `spring`, `summer`, `fall`. Combine with `year`."
          },
          "animeId": {
            "title": "Anime ID (MAL)",
            "type": "string",
            "description": "Numeric MyAnimeList anime ID, e.g. `1` (Cowboy Bebop). Used by **animeDetails**, **characters**, **recommendations**. The number after `/anime/` in a MAL URL."
          },
          "animeIds": {
            "title": "Anime IDs (batch)",
            "type": "array",
            "description": "Array of numeric MyAnimeList anime IDs for batch **animeDetails**, **characters** or **recommendations**.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Upper bound on rows returned for the paginated modes (topAnime, topManga, searchAnime, searchManga, seasonal). Jikan returns 25 per page, so 100 = 4 pages.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}