{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Full Channel Transcripts Extractor",
    "description": "🚀 YouTube Full Channel Transcripts Extractor grabs complete channel transcripts for deeper SEO research, content audits & competitor insights. Extract, analyze & optimize faster—perfect for marketers, creators & analysts. 📈🧠",
    "version": "0.1",
    "x-build-id": "c5dir3MKnxLM584Cv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simpleapi~youtube-full-channel-transcripts-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simpleapi-youtube-full-channel-transcripts-extractor",
        "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/simpleapi~youtube-full-channel-transcripts-extractor/runs": {
      "post": {
        "operationId": "runs-sync-simpleapi-youtube-full-channel-transcripts-extractor",
        "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/simpleapi~youtube-full-channel-transcripts-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-simpleapi-youtube-full-channel-transcripts-extractor",
        "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": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "📺 Channel / Playlist URLs (bulk)",
            "type": "array",
            "description": "One entry per line. Accepts a channel @handle, channel ID (UC…), full channel URL (/videos, /shorts, /streams), or a playlist URL/ID. Bulk-friendly: add as many as you like.",
            "items": {
              "type": "string"
            }
          },
          "outputFormat": {
            "title": "🧾 Caption / Transcript Format",
            "enum": [
              "captions",
              "textWithTimestamps",
              "xmlWithoutTimestamps",
              "xmlWithTimestamps",
              "singleStringText",
              "srt",
              "ttml",
              "vtt",
              "json3",
              "srv3",
              "srv2",
              "srv1",
              "sbv"
            ],
            "type": "string",
            "description": "Choose how transcripts are returned.",
            "default": "captions"
          },
          "maxVideos": {
            "title": "🔢 Maximum videos per source (0 = All)",
            "minimum": 0,
            "type": "integer",
            "description": "Cap how many videos to extract from each source. 0 means every video.",
            "default": 0
          },
          "channelNameBoolean": {
            "title": "📛 Channel Name",
            "type": "boolean",
            "description": "Include the channel name in each record.",
            "default": true
          },
          "channelHandleBoolean": {
            "title": "🪪 Channel Handle",
            "type": "boolean",
            "description": "Include the channel @handle.",
            "default": false
          },
          "channelIDBoolean": {
            "title": "🆔 Channel ID",
            "type": "boolean",
            "description": "Include the channel ID (UC…).",
            "default": false
          },
          "subscriberCountBoolean": {
            "title": "👥 Subscriber Count",
            "type": "boolean",
            "description": "Include the channel subscriber count.",
            "default": false
          },
          "channelCreationDateBoolean": {
            "title": "🎂 Channel Creation Date",
            "type": "boolean",
            "description": "Include the channel's creation date.",
            "default": false
          },
          "channelCountryBoolean": {
            "title": "🌍 Channel Country",
            "type": "boolean",
            "description": "Include the channel's country.",
            "default": false
          },
          "channelViewCountBoolean": {
            "title": "📈 Channel Total Views",
            "type": "boolean",
            "description": "Include the channel's total view count.",
            "default": false
          },
          "channelVideoCountBoolean": {
            "title": "🎞️ Channel Total Videos",
            "type": "boolean",
            "description": "Include the channel's total video count.",
            "default": false
          },
          "datePublishedBoolean": {
            "title": "📅 Date Published (video)",
            "type": "boolean",
            "description": "Include the full ISO publish date/time.",
            "default": false
          },
          "dateTextBoolean": {
            "title": "🗓️ Date Text (video)",
            "type": "boolean",
            "description": "Include the formatted publish date (e.g. Feb 7, 2025).",
            "default": false
          },
          "relativeDateTextBoolean": {
            "title": "⏳ Relative Date (video)",
            "type": "boolean",
            "description": "Include the relative date (e.g. 3 days ago).",
            "default": false
          },
          "viewCountBoolean": {
            "title": "👁️ View Count (video)",
            "type": "boolean",
            "description": "Include the video view count.",
            "default": false
          },
          "likesBoolean": {
            "title": "👍 Likes (video)",
            "type": "boolean",
            "description": "Include the like count.",
            "default": false
          },
          "commentsBoolean": {
            "title": "💬 Comments (video)",
            "type": "boolean",
            "description": "Include the comment count.",
            "default": false
          },
          "keywordsBoolean": {
            "title": "🏷️ Keywords / Tags (video)",
            "type": "boolean",
            "description": "Include the video keywords/tags.",
            "default": false
          },
          "thumbnailBoolean": {
            "title": "🖼️ Thumbnail URL (video)",
            "type": "boolean",
            "description": "Include the video thumbnail URL.",
            "default": false
          },
          "descriptionBoolean": {
            "title": "📝 Description (video)",
            "type": "boolean",
            "description": "Include the video description.",
            "default": false
          },
          "maxRetries": {
            "title": "🔁 Maximum retries when blocked",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many times to retry a blocked/failed request before giving up. Higher = more resilient.",
            "default": 5
          },
          "maxScrollRetries": {
            "title": "📜 Maximum scroll retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times to retry empty/failed pagination pages while collecting videos.",
            "default": 3
          },
          "saveInBatches": {
            "title": "📦 Save results in batches (for large channels)",
            "type": "boolean",
            "description": "If on, results are also written into separate batch datasets (in addition to the main output) so very large channels stay organised and memory-friendly.",
            "default": false
          },
          "videosPerBatch": {
            "title": "🔢 Number of videos per batch",
            "minimum": 1,
            "type": "integer",
            "description": "When batching is enabled, how many videos to put in each batch dataset.",
            "default": 100
          },
          "concurrency": {
            "title": "⚡ Maximum parallel requests (concurrency)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many videos to fetch at the same time. Higher = faster, but heavier load. Lower it if you hit blocks.",
            "default": 25
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy Configuration",
            "type": "object",
            "description": "The run starts with a direct connection. If YouTube blocks it, the actor automatically falls back to a Datacenter proxy, then to a sticky Residential proxy.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}