{
  "openapi": "3.0.1",
  "info": {
    "title": "TikTok, Instagram, Facebook & YouTube Transcript API",
    "description": "Extract accurate transcripts from Instagram Reels, Facebook Reels, YouTube Shorts, and TikTok videos. Use video URLs to transcribe public content with timestamps. Export transcripts in JSON format, run via API, MCP, schedule runs, or integrate with other tools for automated transcription workflows.",
    "version": "1.0",
    "x-build-id": "O6EDIO78RGae8ndkT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tictechid~anoxvanzi-Transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tictechid-anoxvanzi-Transcriber",
        "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/tictechid~anoxvanzi-Transcriber/runs": {
      "post": {
        "operationId": "runs-sync-tictechid-anoxvanzi-Transcriber",
        "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/tictechid~anoxvanzi-Transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-tictechid-anoxvanzi-Transcriber",
        "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 URLs, or upload video / audio files",
            "type": "array",
            "description": "TikTok, Instagram Reels, YouTube (videos and Shorts) or Facebook Reels links. Add one or many for bulk transcription. You can also upload your own video or audio files (mp4, mov, webm, mp3, m4a, wav); they are charged the same as a link, and post details are not available for them."
          },
          "include_timestamps": {
            "title": "Include Timestamps",
            "type": "boolean",
            "description": "Include [start - end] timestamps in the transcript output. No effect on cost.",
            "default": true
          },
          "enable_diarization": {
            "title": "Enable Speaker Diarization (Beta)",
            "type": "boolean",
            "description": "Identify and label different speakers ([Speaker 0], [Speaker 1], ...). Useful for interviews and podcasts; leave off for single-speaker videos. No effect on cost.",
            "default": false
          },
          "include_hook": {
            "title": "Include Hook",
            "type": "boolean",
            "description": "Also return the hook: the opening line of the video, meaning what is said in the first 3 seconds, continued to the end of that sentence. No effect on cost.",
            "default": false
          },
          "include_pacing": {
            "title": "Include Pacing",
            "type": "boolean",
            "description": "Also return the number of words spoken and the speaking pace in words per minute. No effect on cost.",
            "default": false
          },
          "include_segments": {
            "title": "Include Segments",
            "type": "boolean",
            "description": "Also return the transcript as a list of segments, each with start time, end time and text, for use in code and automations. One segment per sentence, or per speaker turn when diarization is on. No effect on cost.",
            "default": false
          },
          "include_words": {
            "title": "Include Word Timestamps",
            "type": "boolean",
            "description": "Also return every spoken word with its own start and end time, for captions, karaoke-style highlighting and video editing. Makes results much larger. No effect on cost.",
            "default": false
          },
          "generate_srt": {
            "title": "Generate Subtitles (.srt and .vtt)",
            "type": "boolean",
            "description": "Also return the transcript as ready-to-use subtitles in both .srt and .vtt format, in short lines of up to 5 words that break at commas and sentence ends, sized for short-form video captions. Each result gets a download link for both files (srtUrl, vttUrl) as well as the text itself (srt, vtt); the links are public to anyone who has them and expire with the run's storage. No effect on cost.",
            "default": false
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "multi",
              "en",
              "en-US",
              "en-GB",
              "en-AU",
              "en-IN",
              "es",
              "es-419",
              "fr",
              "fr-CA",
              "de",
              "de-CH",
              "nl",
              "nl-BE",
              "pt",
              "pt-BR",
              "it",
              "ja",
              "ko",
              "zh",
              "zh-CN",
              "zh-TW",
              "hi",
              "id",
              "ms",
              "ru",
              "uk",
              "pl",
              "sv",
              "da",
              "fi",
              "no",
              "tr",
              "th",
              "vi",
              "el",
              "cs",
              "sk",
              "ro",
              "hu",
              "bg",
              "ca",
              "et",
              "lv",
              "lt"
            ],
            "type": "string",
            "description": "Spoken language of the audio. Leave on Auto-detect unless detection is unreliable.",
            "default": "auto"
          },
          "include_post_details": {
            "title": "All post details",
            "type": "boolean",
            "description": "Also return everything the platform shows about the post: caption, title, hashtags, author, follower count, views, likes, comments, shares, engagement rate and post date. Same as turning on every option below. The counts are a snapshot from the time of the run. Free.",
            "default": false
          },
          "include_views": {
            "title": "Views",
            "type": "boolean",
            "description": "Also return the view count (viewCount). Free.",
            "default": false
          },
          "include_likes": {
            "title": "Likes",
            "type": "boolean",
            "description": "Also return the like count (likeCount). Free.",
            "default": false
          },
          "include_comments": {
            "title": "Comments",
            "type": "boolean",
            "description": "Also return the comment count (commentCount). Free.",
            "default": false
          },
          "include_shares": {
            "title": "Shares",
            "type": "boolean",
            "description": "Also return the share count (shareCount). Available for TikTok and Facebook; Instagram and YouTube do not publish it. Free.",
            "default": false
          },
          "include_engagement": {
            "title": "Engagement rate",
            "type": "boolean",
            "description": "Also return the engagement rate in percent (engagementRate): likes + comments + shares, divided by views. Free.",
            "default": false
          },
          "include_author": {
            "title": "Author and followers",
            "type": "boolean",
            "description": "Also return the account that posted the video and its follower count (authorUsername, authorFollowers). Free.",
            "default": false
          },
          "include_caption": {
            "title": "Caption, title and hashtags",
            "type": "boolean",
            "description": "Also return the post's caption, its title where the platform has one, and the hashtags in them (caption, title, hashtags). Free.",
            "default": false
          },
          "include_posted_at": {
            "title": "Post date",
            "type": "boolean",
            "description": "Also return when the video was posted (postedAt). Often not available for Instagram. Free.",
            "default": false
          },
          "start_urls": {
            "title": "Video URL (single, deprecated)",
            "type": "string",
            "description": "Deprecated — kept only for backward compatibility with older API integrations. Use the Video URLs field above instead, which supports one or many links."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}