
YouTube Transcript Extractor
Pricing
Pay per usage

YouTube Transcript Extractor
Extract accurate, timestamped transcripts from any YouTube video for just $1 per 1,000 results. Includes views, likes, channel info, and publish dates—all in structured JSON. Scalable, fast, and ideal for developers, analysts, and content creators alike.
5.0 (2)
Pricing
Pay per usage
3
Monthly users
11
Runs succeeded
>99%
Last modified
17 hours ago
You can access the YouTube Transcript Extractor programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.0",
5 "x-build-id": "MCi6VjuERPk66CWAs"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/dz_omar~youtube-transcript-extractor/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-dz_omar-youtube-transcript-extractor",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/dz_omar~youtube-transcript-extractor/runs": {
50 "post": {
51 "operationId": "runs-sync-dz_omar-youtube-transcript-extractor",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/dz_omar~youtube-transcript-extractor/run-sync": {
93 "post": {
94 "operationId": "run-sync-dz_omar-youtube-transcript-extractor",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "required": [
134 "youtubeUrl"
135 ],
136 "properties": {
137 "youtubeUrl": {
138 "title": "YouTube Video URLs",
139 "type": "array",
140 "description": "List of YouTube video URLs (supports youtube.com and youtu.be links)",
141 "default": [
142 {
143 "url": "https://youtu.be/nC8ilIMH8sk"
144 }
145 ],
146 "items": {
147 "type": "object",
148 "required": [
149 "url"
150 ],
151 "properties": {
152 "url": {
153 "type": "string",
154 "title": "URL of a web page",
155 "format": "uri"
156 }
157 }
158 }
159 },
160 "batchSize": {
161 "title": "Batch Size",
162 "minimum": 1,
163 "maximum": 50,
164 "type": "integer",
165 "description": "Number of videos to process simultaneously",
166 "default": 10
167 },
168 "batchDelay": {
169 "title": "Delay Between Batches",
170 "minimum": 0,
171 "maximum": 10000,
172 "type": "integer",
173 "description": "Milliseconds to wait between processing batches",
174 "default": 500
175 },
176 "maxRetries": {
177 "title": "Max Retry Attempts",
178 "minimum": 0,
179 "maximum": 10,
180 "type": "integer",
181 "description": "Number of retries for failed requests",
182 "default": 3
183 },
184 "requireTimestamps": {
185 "title": "Require Timestamps",
186 "type": "boolean",
187 "description": "Only return results for videos that have available transcripts",
188 "default": false
189 },
190 "transcriptOnly": {
191 "title": "Transcript Only Mode",
192 "type": "boolean",
193 "description": "Return only transcript without video metadata",
194 "default": false
195 }
196 }
197 },
198 "runsResponseSchema": {
199 "type": "object",
200 "properties": {
201 "data": {
202 "type": "object",
203 "properties": {
204 "id": {
205 "type": "string"
206 },
207 "actId": {
208 "type": "string"
209 },
210 "userId": {
211 "type": "string"
212 },
213 "startedAt": {
214 "type": "string",
215 "format": "date-time",
216 "example": "2025-01-08T00:00:00.000Z"
217 },
218 "finishedAt": {
219 "type": "string",
220 "format": "date-time",
221 "example": "2025-01-08T00:00:00.000Z"
222 },
223 "status": {
224 "type": "string",
225 "example": "READY"
226 },
227 "meta": {
228 "type": "object",
229 "properties": {
230 "origin": {
231 "type": "string",
232 "example": "API"
233 },
234 "userAgent": {
235 "type": "string"
236 }
237 }
238 },
239 "stats": {
240 "type": "object",
241 "properties": {
242 "inputBodyLen": {
243 "type": "integer",
244 "example": 2000
245 },
246 "rebootCount": {
247 "type": "integer",
248 "example": 0
249 },
250 "restartCount": {
251 "type": "integer",
252 "example": 0
253 },
254 "resurrectCount": {
255 "type": "integer",
256 "example": 0
257 },
258 "computeUnits": {
259 "type": "integer",
260 "example": 0
261 }
262 }
263 },
264 "options": {
265 "type": "object",
266 "properties": {
267 "build": {
268 "type": "string",
269 "example": "latest"
270 },
271 "timeoutSecs": {
272 "type": "integer",
273 "example": 300
274 },
275 "memoryMbytes": {
276 "type": "integer",
277 "example": 1024
278 },
279 "diskMbytes": {
280 "type": "integer",
281 "example": 2048
282 }
283 }
284 },
285 "buildId": {
286 "type": "string"
287 },
288 "defaultKeyValueStoreId": {
289 "type": "string"
290 },
291 "defaultDatasetId": {
292 "type": "string"
293 },
294 "defaultRequestQueueId": {
295 "type": "string"
296 },
297 "buildNumber": {
298 "type": "string",
299 "example": "1.0.0"
300 },
301 "containerUrl": {
302 "type": "string"
303 },
304 "usage": {
305 "type": "object",
306 "properties": {
307 "ACTOR_COMPUTE_UNITS": {
308 "type": "integer",
309 "example": 0
310 },
311 "DATASET_READS": {
312 "type": "integer",
313 "example": 0
314 },
315 "DATASET_WRITES": {
316 "type": "integer",
317 "example": 0
318 },
319 "KEY_VALUE_STORE_READS": {
320 "type": "integer",
321 "example": 0
322 },
323 "KEY_VALUE_STORE_WRITES": {
324 "type": "integer",
325 "example": 1
326 },
327 "KEY_VALUE_STORE_LISTS": {
328 "type": "integer",
329 "example": 0
330 },
331 "REQUEST_QUEUE_READS": {
332 "type": "integer",
333 "example": 0
334 },
335 "REQUEST_QUEUE_WRITES": {
336 "type": "integer",
337 "example": 0
338 },
339 "DATA_TRANSFER_INTERNAL_GBYTES": {
340 "type": "integer",
341 "example": 0
342 },
343 "DATA_TRANSFER_EXTERNAL_GBYTES": {
344 "type": "integer",
345 "example": 0
346 },
347 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
348 "type": "integer",
349 "example": 0
350 },
351 "PROXY_SERPS": {
352 "type": "integer",
353 "example": 0
354 }
355 }
356 },
357 "usageTotalUsd": {
358 "type": "number",
359 "example": 0.00005
360 },
361 "usageUsd": {
362 "type": "object",
363 "properties": {
364 "ACTOR_COMPUTE_UNITS": {
365 "type": "integer",
366 "example": 0
367 },
368 "DATASET_READS": {
369 "type": "integer",
370 "example": 0
371 },
372 "DATASET_WRITES": {
373 "type": "integer",
374 "example": 0
375 },
376 "KEY_VALUE_STORE_READS": {
377 "type": "integer",
378 "example": 0
379 },
380 "KEY_VALUE_STORE_WRITES": {
381 "type": "number",
382 "example": 0.00005
383 },
384 "KEY_VALUE_STORE_LISTS": {
385 "type": "integer",
386 "example": 0
387 },
388 "REQUEST_QUEUE_READS": {
389 "type": "integer",
390 "example": 0
391 },
392 "REQUEST_QUEUE_WRITES": {
393 "type": "integer",
394 "example": 0
395 },
396 "DATA_TRANSFER_INTERNAL_GBYTES": {
397 "type": "integer",
398 "example": 0
399 },
400 "DATA_TRANSFER_EXTERNAL_GBYTES": {
401 "type": "integer",
402 "example": 0
403 },
404 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
405 "type": "integer",
406 "example": 0
407 },
408 "PROXY_SERPS": {
409 "type": "integer",
410 "example": 0
411 }
412 }
413 }
414 }
415 }
416 }
417 }
418 }
419 }
420}
YouTube Transcript Extractor - Video Captions to Text OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for YouTube Transcript Extractor from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Pricing
Pricing model
Pay per usageThis Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.