
Youtube video downloader
2 hours trial then $10.00/month - No credit card required now

Youtube video downloader
2 hours trial then $10.00/month - No credit card required now
Download Youtube videos in bulk and save to the key-value store
Actor Metrics
82 monthly users
3.7 / 5 (2)
13 bookmarks
>99% runs succeeded
53 days response time
Created in Aug 2022
Modified 10 months ago
You can access the Youtube video downloader 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.1",
5 "x-build-id": "RF16UTCmXX8xPr6hW"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/pocesar~download-youtube-video/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-pocesar-download-youtube-video",
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/pocesar~download-youtube-video/runs": {
50 "post": {
51 "operationId": "runs-sync-pocesar-download-youtube-video",
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/pocesar~download-youtube-video/run-sync": {
93 "post": {
94 "operationId": "run-sync-pocesar-download-youtube-video",
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 "startUrls",
135 "proxy"
136 ],
137 "properties": {
138 "startUrls": {
139 "title": "Video URLs",
140 "type": "array",
141 "description": "Video urls that contains video publicly available",
142 "default": [
143 {
144 "url": "https://www.youtube.com/watch?v=nn-bCRvhNUM"
145 }
146 ],
147 "items": {
148 "type": "object",
149 "required": [
150 "url"
151 ],
152 "properties": {
153 "url": {
154 "type": "string",
155 "title": "URL of a web page",
156 "format": "uri"
157 }
158 }
159 }
160 },
161 "mime": {
162 "title": "Download type",
163 "enum": [
164 "video",
165 "audio"
166 ],
167 "type": "string",
168 "description": "You can choose between downloading videos or only audios",
169 "default": "video"
170 },
171 "quality": {
172 "title": "Quality",
173 "enum": [
174 "highest",
175 "lowest",
176 "medium",
177 "144p",
178 "360p",
179 "480p",
180 "720p",
181 "1080p",
182 "1440p",
183 "2160p"
184 ],
185 "type": "string",
186 "description": "Pick exact quality for videos or by approximation",
187 "default": "medium"
188 },
189 "proxy": {
190 "title": "Proxy",
191 "type": "object",
192 "description": "Select proxy for download",
193 "default": {
194 "useApifyProxy": true
195 }
196 },
197 "maxRequestRetries": {
198 "title": "Maximum request retries",
199 "type": "integer",
200 "description": "How many times the request should be retried before giving up",
201 "default": 3
202 }
203 }
204 },
205 "runsResponseSchema": {
206 "type": "object",
207 "properties": {
208 "data": {
209 "type": "object",
210 "properties": {
211 "id": {
212 "type": "string"
213 },
214 "actId": {
215 "type": "string"
216 },
217 "userId": {
218 "type": "string"
219 },
220 "startedAt": {
221 "type": "string",
222 "format": "date-time",
223 "example": "2025-01-08T00:00:00.000Z"
224 },
225 "finishedAt": {
226 "type": "string",
227 "format": "date-time",
228 "example": "2025-01-08T00:00:00.000Z"
229 },
230 "status": {
231 "type": "string",
232 "example": "READY"
233 },
234 "meta": {
235 "type": "object",
236 "properties": {
237 "origin": {
238 "type": "string",
239 "example": "API"
240 },
241 "userAgent": {
242 "type": "string"
243 }
244 }
245 },
246 "stats": {
247 "type": "object",
248 "properties": {
249 "inputBodyLen": {
250 "type": "integer",
251 "example": 2000
252 },
253 "rebootCount": {
254 "type": "integer",
255 "example": 0
256 },
257 "restartCount": {
258 "type": "integer",
259 "example": 0
260 },
261 "resurrectCount": {
262 "type": "integer",
263 "example": 0
264 },
265 "computeUnits": {
266 "type": "integer",
267 "example": 0
268 }
269 }
270 },
271 "options": {
272 "type": "object",
273 "properties": {
274 "build": {
275 "type": "string",
276 "example": "latest"
277 },
278 "timeoutSecs": {
279 "type": "integer",
280 "example": 300
281 },
282 "memoryMbytes": {
283 "type": "integer",
284 "example": 1024
285 },
286 "diskMbytes": {
287 "type": "integer",
288 "example": 2048
289 }
290 }
291 },
292 "buildId": {
293 "type": "string"
294 },
295 "defaultKeyValueStoreId": {
296 "type": "string"
297 },
298 "defaultDatasetId": {
299 "type": "string"
300 },
301 "defaultRequestQueueId": {
302 "type": "string"
303 },
304 "buildNumber": {
305 "type": "string",
306 "example": "1.0.0"
307 },
308 "containerUrl": {
309 "type": "string"
310 },
311 "usage": {
312 "type": "object",
313 "properties": {
314 "ACTOR_COMPUTE_UNITS": {
315 "type": "integer",
316 "example": 0
317 },
318 "DATASET_READS": {
319 "type": "integer",
320 "example": 0
321 },
322 "DATASET_WRITES": {
323 "type": "integer",
324 "example": 0
325 },
326 "KEY_VALUE_STORE_READS": {
327 "type": "integer",
328 "example": 0
329 },
330 "KEY_VALUE_STORE_WRITES": {
331 "type": "integer",
332 "example": 1
333 },
334 "KEY_VALUE_STORE_LISTS": {
335 "type": "integer",
336 "example": 0
337 },
338 "REQUEST_QUEUE_READS": {
339 "type": "integer",
340 "example": 0
341 },
342 "REQUEST_QUEUE_WRITES": {
343 "type": "integer",
344 "example": 0
345 },
346 "DATA_TRANSFER_INTERNAL_GBYTES": {
347 "type": "integer",
348 "example": 0
349 },
350 "DATA_TRANSFER_EXTERNAL_GBYTES": {
351 "type": "integer",
352 "example": 0
353 },
354 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
355 "type": "integer",
356 "example": 0
357 },
358 "PROXY_SERPS": {
359 "type": "integer",
360 "example": 0
361 }
362 }
363 },
364 "usageTotalUsd": {
365 "type": "number",
366 "example": 0.00005
367 },
368 "usageUsd": {
369 "type": "object",
370 "properties": {
371 "ACTOR_COMPUTE_UNITS": {
372 "type": "integer",
373 "example": 0
374 },
375 "DATASET_READS": {
376 "type": "integer",
377 "example": 0
378 },
379 "DATASET_WRITES": {
380 "type": "integer",
381 "example": 0
382 },
383 "KEY_VALUE_STORE_READS": {
384 "type": "integer",
385 "example": 0
386 },
387 "KEY_VALUE_STORE_WRITES": {
388 "type": "number",
389 "example": 0.00005
390 },
391 "KEY_VALUE_STORE_LISTS": {
392 "type": "integer",
393 "example": 0
394 },
395 "REQUEST_QUEUE_READS": {
396 "type": "integer",
397 "example": 0
398 },
399 "REQUEST_QUEUE_WRITES": {
400 "type": "integer",
401 "example": 0
402 },
403 "DATA_TRANSFER_INTERNAL_GBYTES": {
404 "type": "integer",
405 "example": 0
406 },
407 "DATA_TRANSFER_EXTERNAL_GBYTES": {
408 "type": "integer",
409 "example": 0
410 },
411 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
412 "type": "integer",
413 "example": 0
414 },
415 "PROXY_SERPS": {
416 "type": "integer",
417 "example": 0
418 }
419 }
420 }
421 }
422 }
423 }
424 }
425 }
426 }
427}
Youtube video downloader 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 video downloader 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: