{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Channel Transcripts Scraper — Bulk Videos to Text",
    "description": "YouTube channel scraper, videos to text: videos, Shorts and live VODs, up to 5,000 a channel; captions first, speech-to-text when none at $0.008 per started minute. Plus a channel info row, never charged. From $2.40 per 1,000 transcripts, no per-channel fee. Never charged for a video we can't read.",
    "version": "1.0",
    "x-build-id": "SoOSHrbabPjQCtIbp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyfetch~youtube-channel-transcripts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyfetch-youtube-channel-transcripts",
        "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/steadyfetch~youtube-channel-transcripts/runs": {
      "post": {
        "operationId": "runs-sync-steadyfetch-youtube-channel-transcripts",
        "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/steadyfetch~youtube-channel-transcripts/run-sync": {
      "post": {
        "operationId": "run-sync-steadyfetch-youtube-channel-transcripts",
        "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": {
          "channels": {
            "title": "Channels",
            "type": "array",
            "description": "A channel URL, @handle or channel ID, like https://www.youtube.com/@mkbhd or UCBJycsmduvYEL83R_U4JriQ; /channel/UC…, /c/…, /user/… URLs and single video links work. Never charged for a video we cannot transcribe or one this account bought in the last 90 days. One-off videos: steadyfetch/youtube-transcript-scraper. Null = “use the default”. Untouched, click Start for a one-channel sample (@jawed), charged like any run; a set format, language or limit applies, plus one uncharged row naming it.",
            "default": [
              "_demo"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxVideos": {
            "title": "Max videos per channel",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on how many videos to transcribe from each channel, newest first (default 50). Raise it — and your maximum cost per run — to transcribe a whole channel. Ask for more than this actor serves per channel and the run still starts: it continues at the actor's own ceiling of 5,000 videos, with one uncharged row saying what was asked and what bound it.",
            "default": 50
          },
          "maxItems": {
            "title": "Max videos for the whole run",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on how many videos this run transcribes in total, across every channel you pasted (default 500). \"Max videos per channel\" limits each channel on its own; this one limits the bill for the run. Channel reports and skipped-video rows are always uncharged and never count against it. Ask for more than this actor serves in one run and the run still starts: it continues at the actor's own ceiling of 5,000 videos, with one uncharged row saying so.",
            "default": 500
          },
          "newVideosOnly": {
            "title": "New videos only",
            "type": "boolean",
            "description": "OFF (default): every video runs; one this account bought in the last 90 days comes back from the earlier run, not charged (`repeat: true`), so a re-run is a complete archive. ON: videos this account already has are left out of the dataset, nothing fetched, nothing charged, and the status line says how many were skipped, so a schedule gets only the new videos. Only an answered video counts (a transcript or an uncharged verdict like no speech); one not reached is tried again next run.",
            "default": false
          },
          "transcripts": {
            "title": "Transcribe the videos",
            "type": "boolean",
            "description": "Set false to LIST a channel's videos without transcribing: one row per video with id, url, title, durationSeconds, thumbnail, viewsText and publishedText (rounded: no exact view count, no upload timestamp), charged: false, no transcript; a listing has no charged event, so no transcript or speech-to-text minute is billed. On by default. Both modes open each channel with an uncharged channel_info row (none with newVideosOnly). maxVideos and maxItems bound the rows; re-listed in full on every run.",
            "default": true
          },
          "language": {
            "title": "Preferred caption language",
            "type": "string",
            "description": "The caption language to prefer, as a two-letter code (en, es, ja) or a regional code (pt-BR). If a video has no captions in that language, the video's own default caption track (its original language) is used instead, and the row tells you which language you got."
          },
          "format": {
            "title": "Output format",
            "type": "string",
            "description": "The shape of each transcript (default json): json keeps timestamped segments, text returns the transcript only, srt and vtt add a ready-to-download subtitle string on the row. Leave it out, or send null, to get json. Anything else is not recognised: nothing is transcribed, nothing is charged, and one row names the formats that exist.",
            "default": "json"
          },
          "enableSpeechFallback": {
            "title": "Use speech-to-text when a video has no captions",
            "type": "boolean",
            "description": "Whether a video with no captions is transcribed by speech-to-text (default on), which charges speech-to-text minutes on top of the transcript. Off: caption-less videos come back as uncharged rows and you never pay a speech-to-text minute.",
            "default": true
          },
          "maxSpeechMinutes": {
            "title": "Max speech-to-text minutes",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on speech-to-text minutes for the whole run (default 60), so a caption-less video longer than what is left of it comes back uncharged until you raise it. Videos that would go past it are skipped as uncharged rows naming this limit. 0 means no speech-to-text at all. Ask for more than this actor allows in one run and the run still starts: it continues at the actor's own ceiling of 100,000 minutes, with one uncharged row saying so.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}