{
  "openapi": "3.0.1",
  "info": {
    "title": "Crunchyroll API scraper",
    "description": "Scrapes the Crunchyroll anime series catalogue metadata (title, description, maturity rating, episode/season counts, dub/sub locales, artwork) via the app's private API using anonymous guest access. Metadata only — no stream/DRM URLs.",
    "version": "0.0",
    "x-build-id": "BCjahXoY6dXRKdVuI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rl1987~crunchyroll-api-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rl1987-crunchyroll-api-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/rl1987~crunchyroll-api-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rl1987-crunchyroll-api-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/rl1987~crunchyroll-api-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rl1987-crunchyroll-api-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": {
          "q": {
            "title": "Search query",
            "type": "string",
            "description": "Anime keyword to search (e.g. naruto). Leave empty to browse (optionally by season)."
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Display locale (e.g. en-US, de-DE, ja-JP).",
            "default": "en-US"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum records to return (0 = unlimited).",
            "default": 100
          },
          "seasonalTag": {
            "title": "Season / simulcast",
            "enum": [
              "summer-2026",
              "spring-2026",
              "winter-2026",
              "fall-2025",
              "summer-2025",
              "spring-2025",
              "winter-2025",
              "fall-2024",
              "summer-2024",
              "spring-2024",
              "winter-2024",
              "fall-2023",
              "summer-2023",
              "spring-2023",
              "winter-2023",
              "fall-2022",
              "summer-2022",
              "spring-2022",
              "winter-2022",
              "fall-2021",
              "summer-2021",
              "spring-2021",
              "winter-2021",
              "fall-2020",
              "summer-2020",
              "spring-2020",
              "winter-2020",
              "fall-2019",
              "summer-2019",
              "spring-2019",
              "winter-2019",
              "fall-2018",
              "summer-2018",
              "spring-2018",
              "winter-2018",
              "fall-2017",
              "summer-2017",
              "spring-2017",
              "winter-2017",
              "fall-2016",
              "summer-2016",
              "spring-2016",
              "winter-2016",
              "fall-2015",
              "summer-2015",
              "spring-2015",
              "winter-2015",
              "fall-2014",
              "summer-2014",
              "spring-2014",
              "winter-2014",
              "fall-2013",
              "summer-2013",
              "spring-2013",
              "winter-2013",
              "fall-2012",
              "summer-2012",
              "spring-2012",
              "winter-2012",
              "fall-2011",
              "summer-2011",
              "spring-2011",
              "winter-2011",
              "fall-2010",
              "summer-2010",
              "spring-2010",
              "winter-2010",
              "fall-2009",
              "summer-2009",
              "spring-2009",
              "winter-2009"
            ],
            "type": "string",
            "description": "Browse a season ('this season' browse)."
          },
          "country": {
            "title": "Expected catalogue region (ISO-2)",
            "type": "string",
            "description": "Crunchyroll picks the catalogue from the EGRESS IP, not from Locale — Locale only sets the response language. Set this to the region you expect (e.g. US, GB, DE) and pair it with a residential proxy in that country; the run warns if the token comes back for a different region, and every record carries the actual catalogueCountry."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Route requests through Apify Proxy. RESIDENTIAL is REQUIRED, not optional: Crunchyroll's edge returns 403 on the token endpoint from datacenter IPs, so a datacenter run fails immediately. The catalogue region also follows this egress IP — set apifyProxyCountry to pick a region (e.g. US), and each record reports the region it actually came from in catalogueCountry.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}