{
  "openapi": "3.0.1",
  "info": {
    "title": "Any Link Transcript: YouTube, Instagram, TikTok, Podcasts",
    "description": "Turn any video, reel, TikTok, X, Facebook or podcast link into a clean transcript with timestamps. Uses captions when they exist and AI speech-to-text when they don't. Bulk links, channels and datasets. Optional AI summary and translation.",
    "version": "0.0",
    "x-build-id": "t7GqtLuTN8t6KZyvx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/shariful-labs~video-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-shariful-labs-video-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/shariful-labs~video-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-shariful-labs-video-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/shariful-labs~video-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-shariful-labs-video-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": {
          "urls": {
            "title": "Video, audio or podcast links",
            "type": "array",
            "description": "One link per line. Works with YouTube (videos, Shorts, channels, playlists), Instagram Reels, TikTok (videos and profiles), Facebook, X/Twitter, LinkedIn, Vimeo, Threads, Reddit, Twitch clips, SoundCloud, Apple Podcasts, podcast RSS feeds and direct audio/video files (MP3, MP4, M4A, WAV...).",
            "items": {
              "type": "string"
            }
          },
          "datasetIds": {
            "title": "Or links from another scraper's results",
            "type": "array",
            "description": "Pick the results of an Instagram, TikTok, YouTube, Facebook or X scraper. Video and post links are found automatically (url, postUrl, webVideoUrl, shortCode...)."
          },
          "maxVideosPerChannel": {
            "title": "Videos per channel, profile or playlist",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "For channel, profile, playlist and podcast links: how many of the latest videos or episodes to transcribe.",
            "default": 10
          },
          "transcriptSource": {
            "title": "How to get the text",
            "enum": [
              "auto",
              "captions-only",
              "speech-only"
            ],
            "type": "string",
            "description": "Auto uses captions when the video has them (fast, cheapest) and AI speech-to-text when it does not. Captions only never downloads audio. Speech only ignores captions, useful when captions are poor.",
            "default": "auto"
          },
          "language": {
            "title": "Transcript language (optional)",
            "type": "string",
            "description": "Two-letter code like en, ms, id, es, ar. Leave empty to get the video's original language. If a video has captions in this language they are used; for speech-to-text it is used as a hint."
          },
          "maxDurationMinutes": {
            "title": "Maximum video length (minutes)",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Longer videos are skipped (not charged), so a stray 10-hour stream cannot surprise you.",
            "default": 120
          },
          "includeTimestamps": {
            "title": "Include timestamped segments",
            "type": "boolean",
            "description": "Adds a list of lines with start and end times (seconds) to each result.",
            "default": true
          },
          "includeSrt": {
            "title": "Include SRT subtitles",
            "type": "boolean",
            "description": "Adds a ready-to-use .srt subtitle text to each result.",
            "default": false
          },
          "aiSummary": {
            "title": "AI summary and key points",
            "type": "boolean",
            "description": "Adds a short summary, 3-7 key points, topic tags and the call to action. Extra $0.008 per video.",
            "default": false
          },
          "translateTo": {
            "title": "Translate to (optional)",
            "type": "string",
            "description": "Language name, e.g. English, Malay, Spanish. Short videos (up to 1,500 words, like Reels, TikToks and Shorts) get a full translation; longer ones get a translated summary. Extra $0.008 per video (included if you also turned on the summary)."
          },
          "speechApiKey": {
            "title": "Your own speech-to-text API key (optional)",
            "type": "string",
            "description": "Groq or OpenAI key. Leave empty to use the built-in speech-to-text. With your own key, speech-to-text minutes are not charged here; your provider bills you instead. Stored encrypted."
          },
          "speechApiBaseUrl": {
            "title": "API endpoint for your key",
            "type": "string",
            "description": "Default is Groq (https://api.groq.com/openai/v1). For OpenAI use https://api.openai.com/v1."
          },
          "speechModel": {
            "title": "Speech model for your key",
            "type": "string",
            "description": "Default: whisper-large-v3-turbo on Groq, whisper-1 on OpenAI."
          },
          "maxConcurrency": {
            "title": "Videos at the same time",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Higher is faster; lower is gentler on sites that block bulk requests.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Instagram, TikTok and YouTube often block servers without a proxy. The default Apify Proxy works for most links; choose Residential if many links fail with a 'blocked' message.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}