{
  "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": "H6ukmnr1IDYirAA86"
  },
  "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",
        "required": [
          "mode"
        ],
        "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": "Genre IDs",
            "type": "array",
            "description": "Filter search by one or more MyAnimeList genre IDs (comma-separated or list). Examples: 1 = Action, 2 = Adventure, 4 = Comedy, 8 = Drama, 10 = Fantasy, 14 = Horror, 22 = Romance, 24 = Sci-Fi, 30 = Sports, 37 = Supernatural. Leave empty for all genres.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "status": {
            "title": "Status",
            "type": "string",
            "description": "Filter search by airing/publishing status. Anime: `airing`, `complete`, `upcoming`. Manga: `publishing`, `complete`, `hiatus`, `discontinued`, `upcoming`."
          },
          "orderBy": {
            "title": "Order by (search)",
            "type": "string",
            "description": "Field to sort search results by, e.g. `score`, `rank`, `popularity`, `members`, `favorites`, `title`, `start_date`, `episodes` (anime) / `chapters` (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",
            "type": "string",
            "description": "Optional media type filter. Anime: `tv`, `movie`, `ova`, `special`, `ona`, `music`. Manga: `manga`, `novel`, `lightnovel`, `oneshot`, `doujin`, `manhwa`, `manhua`. Used by topAnime/topManga and searchAnime/searchManga."
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}