Youtube Video Clipper avatar
Youtube Video Clipper

Pricing

$45.00 / 1,000 clips

Go to Store
Youtube Video Clipper

Youtube Video Clipper

Developed by

Fractal AI

Fractal AI

Maintained by Community

Extracts multiple clips from a YouTube video based on a provided list of timestamps. Perfect for creating social media content, highlights, or short clips from longer videos.

0.0 (0)

Pricing

$45.00 / 1,000 clips

0

Total users

1

Monthly users

1

Runs succeeded

>99%

Last modified

2 days ago

You can access the Youtube Video Clipper 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.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
12 "clips": [
13 {
14 "name": "test_clip",
15 "start": "00:00:05",
16 "end": "00:00:15"
17 }
18 ],
19 "proxy": {
20 "useApifyProxy": true,
21 "apifyProxyGroups": [
22 "RESIDENTIAL"
23 ]
24 }
25};
26
27// Run the Actor and wait for it to finish
28const run = await client.actor("mattyreed1/youtube-video-clipper").call(input);
29
30// Fetch and print Actor results from the run's dataset (if any)
31console.log('Results from dataset');
32console.log(`๐Ÿ’พ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
33const { items } = await client.dataset(run.defaultDatasetId).listItems();
34items.forEach((item) => {
35 console.dir(item);
36});
37
38// ๐Ÿ“š Want to learn more ๐Ÿ“–? Go to โ†’ https://docs.apify.com/api/client/js/docs

Youtube Video Clipper API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Youtube Video Clipper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

$npm install apify-client

Other API clients include: