{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Full Channel Transcripts Extractor",
    "description": "With only the channel or playlist link You can extract 1 to 1000s of all the transcripts of a channel, be it videos or shorts or streams/lives or even podcasts and playlists, you name it. Get all the transcripts/captions organized  with video ID and title in a nice table or JSON or CSV to download.",
    "version": "0.0",
    "x-build-id": "7unnvuCaVgS5UBvQV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/karamelo~youtube-full-channel-transcripts-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-karamelo-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/karamelo~youtube-full-channel-transcripts-extractor/runs": {
      "post": {
        "operationId": "runs-sync-karamelo-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/karamelo~youtube-full-channel-transcripts-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-karamelo-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": "🔗 YouTube URL(s) to Scrape",
            "type": "array",
            "description": "Provide one or more YouTube URLs (channels, playlists, or direct video links).",
            "items": {
              "type": "string"
            }
          },
          "outputFormat": {
            "title": "📄 Select output format",
            "enum": [
              "captions",
              "textWithTimestamps",
              "xmlWithoutTimestamps",
              "xmlWithTimestamps",
              "singleStringText",
              "srt",
              "ttml",
              "vtt",
              "json3",
              "srv3",
              "srv2",
              "srv1",
              "sbv"
            ],
            "type": "string",
            "description": "Select the format in which you want your captions",
            "default": "captions"
          },
          "maxVideos": {
            "title": "🛑 Maximum number of videos to scrape (0 = All).",
            "minimum": 0,
            "maximum": 9999999999999,
            "type": "integer",
            "description": "Maximum number of video, default is Zero (0) for All videos.",
            "default": 0
          },
          "maxRetries": {
            "title": "🔄 Maximum retries when blocked.",
            "minimum": 3,
            "maximum": 20,
            "type": "integer",
            "description": "How many times to retry if you get blocked, increase for better chance",
            "default": 5
          },
          "maxScrollRetries": {
            "title": "📜 Maximum number of scrap'n'scroll retries.",
            "minimum": 3,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of page scrolling retries to get more videos if any.",
            "default": 3
          },
          "saveInBatches": {
            "title": "📦 Save results in batches (for large channels)",
            "type": "boolean",
            "description": "If true, saves results into multiple named datasets to avoid memory limits with thousands of videos. The main dataset will contain links to these batch datasets.",
            "default": false
          },
          "videosPerBatch": {
            "title": "🔢 Number of videos per batch",
            "minimum": 50,
            "type": "integer",
            "description": "If batching is enabled, this is the number of videos to process and save in each dataset part. Recommended: 100-500.",
            "default": 100
          },
          "maxParallelRequests": {
            "title": "🚀 Maximum parallel requests (concurrency)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of videos to process in parallel for Path 1. Higher values are faster but require more proxy resources.",
            "default": 25
          },
          "channelNameBoolean": {
            "title": "👤 Channel Name",
            "type": "boolean",
            "description": "Indicates whether the channel Name should be included.",
            "default": false
          },
          "channelIDBoolean": {
            "title": "🆔 Channel ID",
            "type": "boolean",
            "description": "Indicates whether the channel ID should be included.",
            "default": false
          },
          "dateTextBoolean": {
            "title": "📅 Date Text (Video)",
            "type": "boolean",
            "description": "Indicates whether the formatted publish date (Feb 7, 2025) for the video should be included.",
            "default": false
          },
          "relativeDateTextBoolean": {
            "title": "⏳ Relative Date Text (Video)",
            "type": "boolean",
            "description": "Indicates whether the relative date (example 3 days ago) for the video should be included.",
            "default": false
          },
          "datePublishedBoolean": {
            "title": "📆 Date Published (Video)",
            "type": "boolean",
            "description": "Indicates whether the full date and time the video was published (example 2025-02-07T07:00:15-08:00) should be included.",
            "default": false
          },
          "viewCountBoolean": {
            "title": "👁️ View Count (Video)",
            "type": "boolean",
            "description": "Indicates whether the view count (example 69,916 views) for the video should be included.",
            "default": false
          },
          "likesBoolean": {
            "title": "👍 Likes (Video)",
            "type": "boolean",
            "description": "Indicates whether the number of likes (example 4.8K) for the video should be included.",
            "default": false
          },
          "commentsBoolean": {
            "title": "💬 Comments (Video)",
            "type": "boolean",
            "description": "Indicates whether the number of comments (example 456) for the video should be included.",
            "default": false
          },
          "keywordsBoolean": {
            "title": "🏷️ Keywords (Video)",
            "type": "boolean",
            "description": "Indicates whether the keywords (or tags) for the video should be included.",
            "default": false
          },
          "thumbnailBoolean": {
            "title": "🖼️ Thumbnail (Video)",
            "type": "boolean",
            "description": "Indicates whether the thumbnail url for the video should be included.",
            "default": false
          },
          "descriptionBoolean": {
            "title": "📝 Description (Video)",
            "type": "boolean",
            "description": "Indicates whether the video description should be included.",
            "default": false
          },
          "channelHandleBoolean": {
            "title": "🔗 Channel Handle",
            "type": "boolean",
            "description": "Indicates whether the channel handle should be included.",
            "default": false
          },
          "subscriberCountBoolean": {
            "title": "👥 Subscriber Count",
            "type": "boolean",
            "description": "Indicates whether the subscriber count should be included.",
            "default": false
          },
          "channelCreationDateBoolean": {
            "title": "🎂 Channel Creation Date",
            "type": "boolean",
            "description": "Indicates whether the channel's creation date should be included.",
            "default": false
          },
          "channelCountryBoolean": {
            "title": "🌍 Channel Country",
            "type": "boolean",
            "description": "Indicates whether the channel's country should be included.",
            "default": false
          },
          "channelViewCountBoolean": {
            "title": "📈 Channel Total View Count",
            "type": "boolean",
            "description": "Indicates whether the channel's total view count should be included.",
            "default": false
          },
          "channelVideoCountBoolean": {
            "title": "🎬 Channel Total Video Count",
            "type": "boolean",
            "description": "Indicates whether the channel's total video count should be included.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}