{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Shorts Transcript Scraper",
    "description": "[$4/1K Shorts] Transcript of any YouTube Short: clean text, timestamps, spoken language, 3-second hook, plus title, channel, views, likes and date. Links or whole channels. Shorts without captions are free. No login.",
    "version": "0.1",
    "x-build-id": "ZyG4Zp2Vo9zozcbSe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~youtube-shorts-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-youtube-shorts-transcript-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/lergassy~youtube-shorts-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-youtube-shorts-transcript-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/lergassy~youtube-shorts-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-youtube-shorts-transcript-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": {
          "videoUrls": {
            "title": "🔗 YouTube Shorts URLs",
            "type": "array",
            "description": "Add one or more public YouTube Shorts links (youtube.com/shorts/...). Regular youtube.com/watch?v= and youtu.be links work too. A channel link pasted here is understood as a channel. Leave both this and YouTube channels empty to run the example. No login or cookies needed.",
            "items": {
              "type": "string"
            }
          },
          "profiles": {
            "title": "📺 YouTube channels",
            "type": "array",
            "description": "Give a YouTube channel link (youtube.com/@name), a handle (@name) or just the channel name (name) and the Actor takes its newest Shorts from the channel's Shorts tab — no need to collect links by hand. TikTok profiles work here too as a link (tiktok.com/@user).",
            "items": {
              "type": "string"
            }
          },
          "resultsLimitPerProfile": {
            "title": "🔢 Shorts per channel",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many of the newest Shorts to take from each channel.",
            "default": 10
          },
          "onlyPostsNewerThan": {
            "title": "📅 Only Shorts newer than",
            "type": "string",
            "description": "For channels: take only Shorts published on or after this date (YYYY-MM-DD). The newest Shorts are checked first and the run stops at the first older one; skipped Shorts are free. Leave empty to take the newest Shorts whatever their date."
          },
          "compareWithAuthor": {
            "title": "📈 Find viral videos (compare with the author's usual)",
            "type": "boolean",
            "description": "Compares each Short's views with the channel's median across the Shorts of this run and flags the ones that got 3× or more (isOutlier, vsAuthorMedian). Needs 4 or more Shorts from the same channel. Free: no extra charge.",
            "default": false
          },
          "language": {
            "title": "🗣️ Spoken language",
            "enum": [
              "auto",
              "en",
              "es",
              "pt",
              "fr",
              "de",
              "it",
              "nl",
              "hi",
              "ar",
              "ja",
              "ko",
              "zh",
              "ru",
              "tr",
              "id",
              "vi",
              "th",
              "pl",
              "uk"
            ],
            "type": "string",
            "description": "Leave on Auto to get the captions in the language actually spoken in the Short. Pick a language to get that track first; if the Short is not spoken in it, YouTube's machine translation is requested (captionsType = auto-translated). YouTube often refuses translations to automated traffic — then you get the spoken language, the language column says which, and the status line counts such Shorts.",
            "default": "auto"
          },
          "maximumVideoDurationSeconds": {
            "title": "⏳ Maximum video duration, seconds",
            "minimum": 0,
            "maximum": 36000,
            "type": "integer",
            "description": "Videos longer than this are skipped with a free error row, before anything is fetched. 0 means no limit. Useful when a channel link or pasted list mixes Shorts with long uploads.",
            "default": 0
          },
          "includeTranscriptSegments": {
            "title": "⏱️ Include timestamped segments",
            "type": "boolean",
            "description": "Return the transcript as timestamped segments in addition to the plain text. Turn off for a flatter table.",
            "default": true
          },
          "transcriptionMode": {
            "title": "🎧 Transcription strategy",
            "enum": [
              "ai-only",
              "captions-first",
              "captions-only"
            ],
            "type": "string",
            "description": "YouTube Shorts always use their own caption track (the creator's subtitles first, then YouTube's automatic captions in the spoken language) — fast and cheap, no audio download. A Short without a caption track comes back as a free error row. This setting only matters for TikTok and Reels links.",
            "default": "captions-first"
          },
          "quality": {
            "title": "🎯 Speech recognition quality",
            "enum": [
              "fast",
              "balanced",
              "accurate"
            ],
            "type": "string",
            "description": "Only used for TikTok/Reels videos that have no captions of their own. YouTube Shorts do not use speech recognition.",
            "default": "fast"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}