
Youtube Clip
Pricing
$10.00/month + usage

Youtube Clip
Actor: YouTube Video Clipper 🎬 Downloads Youtube video clips Features ✅ Download YouTube clips by specifying start and end timestamps. ✅ Extract clips based on spoken phrases by analyzing video transcripts. ✅ Automatically authenticate using YouTube cookies. ✅ Uses Apify Proxy to avoid detection.
0.0 (0)
Pricing
$10.00/month + usage
0
Monthly users
4
Runs succeeded
>99%
Response time
9.7 days
Last modified
12 days ago
You can access the Youtube Clip 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": "1.0",
5 "x-build-id": "4X7X0ld1CodmdFrtc"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/elpetas~youtube-clip/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-elpetas-youtube-clip",
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/elpetas~youtube-clip/runs": {
50 "post": {
51 "operationId": "runs-sync-elpetas-youtube-clip",
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/elpetas~youtube-clip/run-sync": {
93 "post": {
94 "operationId": "run-sync-elpetas-youtube-clip",
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 "tasks"
135 ],
136 "properties": {
137 "tasks": {
138 "type": "array",
139 "description": "Array of tasks to process.",
140 "items": {
141 "type": "object",
142 "properties": {
143 "videoUrl": {
144 "type": "string",
145 "description": "The URL of the YouTube video."
146 },
147 "startTime": {
148 "type": "number",
149 "description": "Start time in seconds for clip download."
150 },
151 "endTime": {
152 "type": "number",
153 "description": "End time in seconds for clip download."
154 },
155 "textSegment": {
156 "type": "string",
157 "description": "Text segment to search for in the video transcript."
158 },
159 "startSegment": {
160 "type": "string",
161 "description": "Start text segment to search for in the video transcript."
162 },
163 "endSegment": {
164 "type": "string",
165 "description": "End text segment to search for in the video transcript."
166 },
167 "fileName": {
168 "type": "string",
169 "description": "Name of the file to save the video clip. By default, the file name is randomly generated."
170 },
171 "downloadTranscript": {
172 "type": "boolean",
173 "description": "Flag to download the video transcript. Default is false."
174 },
175 "videoQuality": {
176 "type": "number",
177 "description": "Video quality to download (144, 240, 360, 480, 720, 1080). Default is 360."
178 }
179 },
180 "oneOf": [
181 {
182 "required": [
183 "videoUrl",
184 "startTime",
185 "endTime"
186 ]
187 },
188 {
189 "required": [
190 "videoUrl",
191 "textSegment"
192 ]
193 },
194 {
195 "required": [
196 "videoUrl",
197 "startSegment",
198 "endSegment"
199 ]
200 }
201 ]
202 }
203 }
204 }
205 },
206 "runsResponseSchema": {
207 "type": "object",
208 "properties": {
209 "data": {
210 "type": "object",
211 "properties": {
212 "id": {
213 "type": "string"
214 },
215 "actId": {
216 "type": "string"
217 },
218 "userId": {
219 "type": "string"
220 },
221 "startedAt": {
222 "type": "string",
223 "format": "date-time",
224 "example": "2025-01-08T00:00:00.000Z"
225 },
226 "finishedAt": {
227 "type": "string",
228 "format": "date-time",
229 "example": "2025-01-08T00:00:00.000Z"
230 },
231 "status": {
232 "type": "string",
233 "example": "READY"
234 },
235 "meta": {
236 "type": "object",
237 "properties": {
238 "origin": {
239 "type": "string",
240 "example": "API"
241 },
242 "userAgent": {
243 "type": "string"
244 }
245 }
246 },
247 "stats": {
248 "type": "object",
249 "properties": {
250 "inputBodyLen": {
251 "type": "integer",
252 "example": 2000
253 },
254 "rebootCount": {
255 "type": "integer",
256 "example": 0
257 },
258 "restartCount": {
259 "type": "integer",
260 "example": 0
261 },
262 "resurrectCount": {
263 "type": "integer",
264 "example": 0
265 },
266 "computeUnits": {
267 "type": "integer",
268 "example": 0
269 }
270 }
271 },
272 "options": {
273 "type": "object",
274 "properties": {
275 "build": {
276 "type": "string",
277 "example": "latest"
278 },
279 "timeoutSecs": {
280 "type": "integer",
281 "example": 300
282 },
283 "memoryMbytes": {
284 "type": "integer",
285 "example": 1024
286 },
287 "diskMbytes": {
288 "type": "integer",
289 "example": 2048
290 }
291 }
292 },
293 "buildId": {
294 "type": "string"
295 },
296 "defaultKeyValueStoreId": {
297 "type": "string"
298 },
299 "defaultDatasetId": {
300 "type": "string"
301 },
302 "defaultRequestQueueId": {
303 "type": "string"
304 },
305 "buildNumber": {
306 "type": "string",
307 "example": "1.0.0"
308 },
309 "containerUrl": {
310 "type": "string"
311 },
312 "usage": {
313 "type": "object",
314 "properties": {
315 "ACTOR_COMPUTE_UNITS": {
316 "type": "integer",
317 "example": 0
318 },
319 "DATASET_READS": {
320 "type": "integer",
321 "example": 0
322 },
323 "DATASET_WRITES": {
324 "type": "integer",
325 "example": 0
326 },
327 "KEY_VALUE_STORE_READS": {
328 "type": "integer",
329 "example": 0
330 },
331 "KEY_VALUE_STORE_WRITES": {
332 "type": "integer",
333 "example": 1
334 },
335 "KEY_VALUE_STORE_LISTS": {
336 "type": "integer",
337 "example": 0
338 },
339 "REQUEST_QUEUE_READS": {
340 "type": "integer",
341 "example": 0
342 },
343 "REQUEST_QUEUE_WRITES": {
344 "type": "integer",
345 "example": 0
346 },
347 "DATA_TRANSFER_INTERNAL_GBYTES": {
348 "type": "integer",
349 "example": 0
350 },
351 "DATA_TRANSFER_EXTERNAL_GBYTES": {
352 "type": "integer",
353 "example": 0
354 },
355 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
356 "type": "integer",
357 "example": 0
358 },
359 "PROXY_SERPS": {
360 "type": "integer",
361 "example": 0
362 }
363 }
364 },
365 "usageTotalUsd": {
366 "type": "number",
367 "example": 0.00005
368 },
369 "usageUsd": {
370 "type": "object",
371 "properties": {
372 "ACTOR_COMPUTE_UNITS": {
373 "type": "integer",
374 "example": 0
375 },
376 "DATASET_READS": {
377 "type": "integer",
378 "example": 0
379 },
380 "DATASET_WRITES": {
381 "type": "integer",
382 "example": 0
383 },
384 "KEY_VALUE_STORE_READS": {
385 "type": "integer",
386 "example": 0
387 },
388 "KEY_VALUE_STORE_WRITES": {
389 "type": "number",
390 "example": 0.00005
391 },
392 "KEY_VALUE_STORE_LISTS": {
393 "type": "integer",
394 "example": 0
395 },
396 "REQUEST_QUEUE_READS": {
397 "type": "integer",
398 "example": 0
399 },
400 "REQUEST_QUEUE_WRITES": {
401 "type": "integer",
402 "example": 0
403 },
404 "DATA_TRANSFER_INTERNAL_GBYTES": {
405 "type": "integer",
406 "example": 0
407 },
408 "DATA_TRANSFER_EXTERNAL_GBYTES": {
409 "type": "integer",
410 "example": 0
411 },
412 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
413 "type": "integer",
414 "example": 0
415 },
416 "PROXY_SERPS": {
417 "type": "integer",
418 "example": 0
419 }
420 }
421 }
422 }
423 }
424 }
425 }
426 }
427 }
428}
Youtube Clip 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 Clip 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
RentalTo use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.
Free trial
3 days
Price
$10.00