{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube All-in-One: Transcripts, Channel, Comments & Shorts ✅",
    "description": "YouTube transcripts, video details, channels, comments with reply threads, shorts, playlists, search - eleven modes in one actor. No cookies, no login, no YouTube API quota. Hebrew and Indonesian transcripts work. Built for AI/RAG engineers, SEO teams, and content strategists.",
    "version": "0.0",
    "x-build-id": "AaE9K77QJsZ3C8bdD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unseenuser~Youtube-all-in-one-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unseenuser-Youtube-all-in-one-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/unseenuser~Youtube-all-in-one-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unseenuser-Youtube-all-in-one-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/unseenuser~Youtube-all-in-one-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unseenuser-Youtube-all-in-one-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": [
          "dataType"
        ],
        "properties": {
          "dataType": {
            "title": "1. What do you want to pull?",
            "enum": [
              "channel_intelligence",
              "channel_videos",
              "channel_shorts",
              "channel_videos_and_shorts",
              "channel_bundle",
              "video_details",
              "comments_extraction",
              "search",
              "hashtag_search",
              "trending_shorts",
              "playlist",
              "community"
            ],
            "type": "string",
            "description": "Pick ONE action. Example: to pull transcripts and full details for specific videos, pick 'Video Details' and turn on 'Include transcripts' below. To pull an entire channel's video catalog, pick 'Channel Videos'.",
            "default": "channel_videos"
          },
          "inputs": {
            "title": "2. Your inputs (paste anything - auto-detected)",
            "type": "array",
            "description": "One per line. What to paste depends on the action above. Examples: for channels, paste '@MrBeast' or 'https://www.youtube.com/@MrBeast'. For videos, paste 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'. For search, paste a phrase like 'react tutorial 2026'. For hashtags, paste the word only, no #, like 'coding'. For Trending Shorts, leave this empty and pick the Region below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "3. Max items per input (0 = everything)",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on how many rows come back per input. Example: with 'Channel Videos' picked and '@MrBeast' as input, maxItems=50 pulls his 50 most recent videos; maxItems=0 pulls his ENTIRE catalog. Ignored for one-row-per-input actions (Channel Intelligence, Video Details, Playlist meta, Community Posts). Free plan runs always stop at 5 rows regardless.",
            "default": 0
          },
          "includeTranscripts": {
            "title": "4. Include transcripts?",
            "type": "boolean",
            "description": "Turn ON to also fetch the timestamped transcript, a plain-text version, and the transcript language for each video. Example: use this to build an AI/RAG pipeline, summarize a creator's back catalog, or search video content by keyword. Adds $0.005 per video. Rows for videos without captions get null. Applies to 'Channel Videos' and 'Video Details' actions.",
            "default": false
          },
          "language": {
            "title": "5. Transcript language",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "pt",
              "it",
              "nl",
              "pl",
              "ru",
              "tr",
              "ar",
              "he",
              "ja",
              "ko",
              "zh",
              "hi",
              "id",
              "th",
              "vi",
              "sv",
              "no",
              "da",
              "fi",
              "cs",
              "el",
              "ro",
              "hu",
              "uk"
            ],
            "type": "string",
            "description": "Which language to pull for transcripts (only used when 'Include transcripts' is ON). Example: pick 'English (en)' for most content, 'Hebrew (he / iw)' for Israeli videos, 'Spanish (es)' for Latin American channels. If the video has no track in this language, that row's transcript is null - no error. Hebrew, Indonesian, Yiddish, and Javanese use both the modern and the legacy ISO codes, and the actor auto-tries both so you don't have to guess.",
            "default": "en"
          },
          "region": {
            "title": "6. Region (for Trending Shorts only)",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "IE",
              "NZ",
              "DE",
              "FR",
              "IT",
              "ES",
              "PT",
              "NL",
              "BE",
              "CH",
              "AT",
              "SE",
              "NO",
              "DK",
              "FI",
              "PL",
              "CZ",
              "HU",
              "GR",
              "RO",
              "RU",
              "UA",
              "TR",
              "IL",
              "SA",
              "AE",
              "EG",
              "ZA",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "IN",
              "JP",
              "KR",
              "TW",
              "HK",
              "ID",
              "TH",
              "VN",
              "PH",
              "MY",
              "SG"
            ],
            "type": "string",
            "description": "Which country's trending Shorts feed to pull. Example: pick 'United States (US)' for the American trending list, 'Israel (IL)' for the Israeli one. Only used when the action above is 'Trending Shorts'. Ignored for every other action.",
            "default": "US"
          },
          "includeAiVideo": {
            "title": "7. AI enrichment for each video ($0.05/video)",
            "type": "boolean",
            "description": "Adds an AI enrichment bundle to each video: transcript summary, chapter summaries, top clips, quotes, hook analysis, speaker labeling, translation, blog draft, thumbnail analysis, SEO keywords, and a comments report - all included in one bundle. Applies to 'Video Details' mode. Charged as one 'ai-video' event per video ($0.05).",
            "default": false
          },
          "includeChannelInsights": {
            "title": "8. Channel insights bundle ($0.02/channel)",
            "type": "boolean",
            "description": "Adds a deep channel intelligence bundle: sponsor email, Discord / Telegram / Patreon links, upload cadence stats (posts per week, best day), and a list of similar channels. Applies to 'Channel Intelligence' mode. Charged as one 'channel-insights' event per channel ($0.02).",
            "default": false
          },
          "includeCommentsAiReport": {
            "title": "9. AI comments report per video ($0.05/video)",
            "type": "boolean",
            "description": "Adds one AI-generated comments report per video AFTER the comments have been scraped. Report contains: aggregate sentiment (net positive %), top themes / recurring topics, notable quotes from commenters, spam / bot indicators, and creator-engagement rate. Applies to 'Comments + Replies' mode. Charged as one 'ai-video' event per video ($0.05) - the same event used for video AI enrichment. Report is written as its own row with type='comments_report' at the end of each video's comment stream.",
            "default": false
          },
          "anthropicApiKey": {
            "title": "10. Your Anthropic API key (only if any AI feature above is ON)",
            "type": "string",
            "description": "Your OWN Anthropic API key (sk-ant-...). Required if you turned on any AI feature above (includeAiVideo, includeChannelInsights, or includeCommentsAiReport). Get one at https://console.anthropic.com/. Your key is used only for that run and is not stored. You pay Anthropic directly for tokens - typically well under $0.01 per video with Haiku 4.5. Leave blank if you do not want any AI enrichment."
          },
          "aiTranslateTo": {
            "title": "11. Translate transcripts to (target language)",
            "enum": [
              "",
              "en",
              "es",
              "fr",
              "de",
              "pt",
              "it",
              "nl",
              "pl",
              "ru",
              "tr",
              "ar",
              "he",
              "ja",
              "ko",
              "zh",
              "hi",
              "id",
              "th",
              "vi",
              "sv",
              "no",
              "da",
              "fi",
              "cs",
              "el",
              "ro",
              "hu",
              "uk"
            ],
            "type": "string",
            "description": "Only used when AI enrichment is ON above. Pick a target language to include a full transcript translation in the AI bundle. Leave blank to skip translation. Example: pick 'Spanish (es)' to get an English video's transcript translated into Spanish, timestamps aligned to the source. Translation is included in the same $0.05 ai-video charge.",
            "default": ""
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}