๐Ÿฏ Youtube Scraper (Pay Per Result) avatar

๐Ÿฏ Youtube Scraper (Pay Per Result)

Try for free

Pay $0.50 for 1,000 videos

Go to Store
๐Ÿฏ Youtube Scraper (Pay Per Result)

๐Ÿฏ Youtube Scraper (Pay Per Result)

apidojo/youtube-scraper
Try for free

Pay $0.50 for 1,000 videos

Experience unparalleled efficiency and depth with its ultra-fast capabilities in searching, URL, playlist, channel, and profile scraping. It comes equipped with a variety of filters to customize your data collection precisely. Plus, it's incredibly affordable at only $0.50 per 1000 videos!

You can access the ๐Ÿฏ Youtube Scraper (Pay Per Result) programmatically from your own applications by using the Apify API. You can 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": "FQ96XqOooey8f6mn5"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/apidojo~youtube-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-apidojo-youtube-scraper",
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/apidojo~youtube-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-apidojo-youtube-scraper",
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/apidojo~youtube-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-apidojo-youtube-scraper",
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        "properties": {
134          "startUrls": {
135            "title": "Start URLs",
136            "type": "array",
137            "description": "Paste the Youtube URLs, and get the results immediately. Video, Channel, Playlist, Shorts and Search URLs are supported.",
138            "items": {
139              "type": "string"
140            }
141          },
142          "youtubeHandles": {
143            "title": "Youtube handles",
144            "type": "array",
145            "description": "Youtube handles that you want to search on Youtube (e.g. @MrBeast, @babishculinaryuniverse)",
146            "items": {
147              "type": "string"
148            }
149          },
150          "includeShorts": {
151            "title": "Include Shorts",
152            "type": "boolean",
153            "description": "When searching for channel videos, includes shorts."
154          },
155          "getTrending": {
156            "title": "Get trending videos",
157            "type": "boolean",
158            "description": "If selected, returns trending videos."
159          },
160          "keywords": {
161            "title": "Search Keywords",
162            "type": "array",
163            "description": "Search keywords you want to search on YouTube.",
164            "items": {
165              "type": "string"
166            }
167          },
168          "gl": {
169            "title": "Country",
170            "enum": [
171              "us",
172              "af",
173              "al",
174              "dz",
175              "as",
176              "ad",
177              "ao",
178              "ai",
179              "aq",
180              "ag",
181              "ar",
182              "am",
183              "aw",
184              "au",
185              "at",
186              "az",
187              "bs",
188              "bh",
189              "bd",
190              "bb",
191              "by",
192              "be",
193              "bz",
194              "bj",
195              "bm",
196              "bt",
197              "bo",
198              "ba",
199              "bw",
200              "bv",
201              "br",
202              "io",
203              "bn",
204              "bg",
205              "bf",
206              "bi",
207              "kh",
208              "cm",
209              "ca",
210              "cv",
211              "ky",
212              "cf",
213              "td",
214              "cl",
215              "cn",
216              "cx",
217              "cc",
218              "co",
219              "km",
220              "cg",
221              "cd",
222              "ck",
223              "cr",
224              "ci",
225              "hr",
226              "cu",
227              "cy",
228              "cz",
229              "dk",
230              "dj",
231              "dm",
232              "do",
233              "ec",
234              "eg",
235              "sv",
236              "gq",
237              "er",
238              "ee",
239              "et",
240              "fk",
241              "fo",
242              "fj",
243              "fi",
244              "fr",
245              "gf",
246              "pf",
247              "tf",
248              "ga",
249              "gm",
250              "ge",
251              "de",
252              "gh",
253              "gi",
254              "gr",
255              "gl",
256              "gd",
257              "gp",
258              "gu",
259              "gt",
260              "gn",
261              "gw",
262              "gy",
263              "ht",
264              "hm",
265              "va",
266              "hn",
267              "hk",
268              "hu",
269              "is",
270              "in",
271              "id",
272              "ir",
273              "iq",
274              "ie",
275              "il",
276              "it",
277              "jm",
278              "jp",
279              "jo",
280              "kz",
281              "ke",
282              "ki",
283              "kp",
284              "kr",
285              "kw",
286              "kg",
287              "la",
288              "lv",
289              "lb",
290              "ls",
291              "lr",
292              "ly",
293              "li",
294              "lt",
295              "lu",
296              "mo",
297              "mk",
298              "mg",
299              "mw",
300              "my",
301              "mv",
302              "ml",
303              "mt",
304              "mh",
305              "mq",
306              "mr",
307              "mu",
308              "yt",
309              "mx",
310              "fm",
311              "md",
312              "mc",
313              "mn",
314              "ms",
315              "ma",
316              "mz",
317              "mm",
318              "na",
319              "nr",
320              "np",
321              "nl",
322              "an",
323              "nc",
324              "nz",
325              "ni",
326              "ne",
327              "ng",
328              "nu",
329              "nf",
330              "mp",
331              "no",
332              "om",
333              "pk",
334              "pw",
335              "ps",
336              "pa",
337              "pg",
338              "py",
339              "pe",
340              "ph",
341              "pn",
342              "pl",
343              "pt",
344              "pr",
345              "qa",
346              "re",
347              "ro",
348              "ru",
349              "rw",
350              "sh",
351              "kn",
352              "lc",
353              "pm",
354              "vc",
355              "ws",
356              "sm",
357              "st",
358              "sa",
359              "sn",
360              "cs",
361              "sc",
362              "sl",
363              "sg",
364              "sk",
365              "si",
366              "sb",
367              "so",
368              "za",
369              "gs",
370              "es",
371              "lk",
372              "sd",
373              "sr",
374              "sj",
375              "sz",
376              "se",
377              "ch",
378              "sy",
379              "tw",
380              "tj",
381              "tz",
382              "th",
383              "tl",
384              "tg",
385              "tk",
386              "to",
387              "tt",
388              "tn",
389              "tr",
390              "tm",
391              "tc",
392              "tv",
393              "ug",
394              "ua",
395              "ae",
396              "gb",
397              "um",
398              "uy",
399              "uz",
400              "vu",
401              "ve",
402              "vn",
403              "vg",
404              "vi",
405              "wf",
406              "eh",
407              "ye",
408              "zm",
409              "zw"
410            ],
411            "type": "string",
412            "description": "Location for the search results, which is passed to YouTube as the gl URL query parameter. (US, AF, AL, etc...)",
413            "default": "us"
414          },
415          "hl": {
416            "title": "Language",
417            "enum": [
418              "en",
419              "af",
420              "ak",
421              "sq",
422              "ws",
423              "am",
424              "ar",
425              "hy",
426              "az",
427              "eu",
428              "be",
429              "bem",
430              "bn",
431              "bh",
432              "xx-bork",
433              "bs",
434              "br",
435              "bg",
436              "bt",
437              "km",
438              "ca",
439              "chr",
440              "ny",
441              "zh-cn",
442              "zh-tw",
443              "co",
444              "hr",
445              "cs",
446              "da",
447              "nl",
448              "xx-elmer",
449              "eo",
450              "et",
451              "ee",
452              "fo",
453              "tl",
454              "fi",
455              "fr",
456              "fy",
457              "gaa",
458              "gl",
459              "ka",
460              "de",
461              "el",
462              "kl",
463              "gn",
464              "gu",
465              "xx-hacker",
466              "ht",
467              "ha",
468              "haw",
469              "iw",
470              "hi",
471              "hu",
472              "is",
473              "ig",
474              "id",
475              "ia",
476              "ga",
477              "it",
478              "ja",
479              "jw",
480              "kn",
481              "kk",
482              "rw",
483              "rn",
484              "xx-klingon",
485              "kg",
486              "ko",
487              "kri",
488              "ku",
489              "ckb",
490              "ky",
491              "lo",
492              "la",
493              "lv",
494              "ln",
495              "lt",
496              "loz",
497              "lg",
498              "ach",
499              "mk",
500              "mg",
501              "my",
502              "ml",
503              "mt",
504              "mv",
505              "mi",
506              "mr",
507              "mfe",
508              "mo",
509              "mn",
510              "sr-me",
511              "ne",
512              "pcm",
513              "nso",
514              "no",
515              "nn",
516              "oc",
517              "or",
518              "om",
519              "ps",
520              "fa",
521              "xx-pirate",
522              "pl",
523              "pt",
524              "pt-br",
525              "pt-pt",
526              "pa",
527              "qu",
528              "ro",
529              "rm",
530              "nyn",
531              "ru",
532              "gd",
533              "sr",
534              "sh",
535              "st",
536              "tn",
537              "crs",
538              "sn",
539              "sd",
540              "si",
541              "sk",
542              "sl",
543              "so",
544              "es",
545              "es-419",
546              "su",
547              "sw",
548              "sv",
549              "tg",
550              "ta",
551              "tt",
552              "te",
553              "th",
554              "ti",
555              "to",
556              "lua",
557              "tum",
558              "tr",
559              "tk",
560              "tw",
561              "ug",
562              "uk",
563              "ur",
564              "uz",
565              "vu",
566              "vi",
567              "cy",
568              "wo",
569              "xh",
570              "yi",
571              "yo",
572              "zu"
573            ],
574            "type": "string",
575            "description": "Language for the search results, which is passed to YouTube as the hl URL query parameter. (af, tr, de, etc...)",
576            "default": "en"
577          },
578          "uploadDate": {
579            "title": "Upload date",
580            "enum": [
581              "all",
582              "l",
583              "t",
584              "w",
585              "m",
586              "y"
587            ],
588            "type": "string",
589            "description": "Upload date for the search results, which is passed to YouTube as the upload date URL query parameter. (any, hour, today, week, month, year)"
590          },
591          "duration": {
592            "title": "Video duration",
593            "enum": [
594              "all",
595              "s",
596              "l"
597            ],
598            "type": "string",
599            "description": "Duration of the video for the search results, which is passed to YouTube as the duration URL query parameter. (any, short, long)"
600          },
601          "features": {
602            "title": "Video features",
603            "enum": [
604              "all",
605              "h",
606              "hd",
607              "s",
608              "c",
609              "3d",
610              "3",
611              "li",
612              "lo",
613              "4"
614            ],
615            "type": "string",
616            "description": "Features for video. (any, 4k, hd, live, movie, cc, 3d, hdr, location, purchased, subtitles, vr180, vr360)"
617          },
618          "sort": {
619            "title": "Sort by",
620            "enum": [
621              "r",
622              "ra",
623              "u",
624              "v"
625            ],
626            "type": "string",
627            "description": "Sorts search results by the given option. Only works with search keywords."
628          },
629          "maxItems": {
630            "title": "Maximum number of items on output",
631            "type": "integer",
632            "description": "Maximum number of items that you want as output."
633          },
634          "customMapFunction": {
635            "title": "Custom map function",
636            "type": "string",
637            "description": "Function that takes each of the objects as argument and returns data that will be mapped by the function itself. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically."
638          }
639        }
640      },
641      "runsResponseSchema": {
642        "type": "object",
643        "properties": {
644          "data": {
645            "type": "object",
646            "properties": {
647              "id": {
648                "type": "string"
649              },
650              "actId": {
651                "type": "string"
652              },
653              "userId": {
654                "type": "string"
655              },
656              "startedAt": {
657                "type": "string",
658                "format": "date-time",
659                "example": "2025-01-08T00:00:00.000Z"
660              },
661              "finishedAt": {
662                "type": "string",
663                "format": "date-time",
664                "example": "2025-01-08T00:00:00.000Z"
665              },
666              "status": {
667                "type": "string",
668                "example": "READY"
669              },
670              "meta": {
671                "type": "object",
672                "properties": {
673                  "origin": {
674                    "type": "string",
675                    "example": "API"
676                  },
677                  "userAgent": {
678                    "type": "string"
679                  }
680                }
681              },
682              "stats": {
683                "type": "object",
684                "properties": {
685                  "inputBodyLen": {
686                    "type": "integer",
687                    "example": 2000
688                  },
689                  "rebootCount": {
690                    "type": "integer",
691                    "example": 0
692                  },
693                  "restartCount": {
694                    "type": "integer",
695                    "example": 0
696                  },
697                  "resurrectCount": {
698                    "type": "integer",
699                    "example": 0
700                  },
701                  "computeUnits": {
702                    "type": "integer",
703                    "example": 0
704                  }
705                }
706              },
707              "options": {
708                "type": "object",
709                "properties": {
710                  "build": {
711                    "type": "string",
712                    "example": "latest"
713                  },
714                  "timeoutSecs": {
715                    "type": "integer",
716                    "example": 300
717                  },
718                  "memoryMbytes": {
719                    "type": "integer",
720                    "example": 1024
721                  },
722                  "diskMbytes": {
723                    "type": "integer",
724                    "example": 2048
725                  }
726                }
727              },
728              "buildId": {
729                "type": "string"
730              },
731              "defaultKeyValueStoreId": {
732                "type": "string"
733              },
734              "defaultDatasetId": {
735                "type": "string"
736              },
737              "defaultRequestQueueId": {
738                "type": "string"
739              },
740              "buildNumber": {
741                "type": "string",
742                "example": "1.0.0"
743              },
744              "containerUrl": {
745                "type": "string"
746              },
747              "usage": {
748                "type": "object",
749                "properties": {
750                  "ACTOR_COMPUTE_UNITS": {
751                    "type": "integer",
752                    "example": 0
753                  },
754                  "DATASET_READS": {
755                    "type": "integer",
756                    "example": 0
757                  },
758                  "DATASET_WRITES": {
759                    "type": "integer",
760                    "example": 0
761                  },
762                  "KEY_VALUE_STORE_READS": {
763                    "type": "integer",
764                    "example": 0
765                  },
766                  "KEY_VALUE_STORE_WRITES": {
767                    "type": "integer",
768                    "example": 1
769                  },
770                  "KEY_VALUE_STORE_LISTS": {
771                    "type": "integer",
772                    "example": 0
773                  },
774                  "REQUEST_QUEUE_READS": {
775                    "type": "integer",
776                    "example": 0
777                  },
778                  "REQUEST_QUEUE_WRITES": {
779                    "type": "integer",
780                    "example": 0
781                  },
782                  "DATA_TRANSFER_INTERNAL_GBYTES": {
783                    "type": "integer",
784                    "example": 0
785                  },
786                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
787                    "type": "integer",
788                    "example": 0
789                  },
790                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
791                    "type": "integer",
792                    "example": 0
793                  },
794                  "PROXY_SERPS": {
795                    "type": "integer",
796                    "example": 0
797                  }
798                }
799              },
800              "usageTotalUsd": {
801                "type": "number",
802                "example": 0.00005
803              },
804              "usageUsd": {
805                "type": "object",
806                "properties": {
807                  "ACTOR_COMPUTE_UNITS": {
808                    "type": "integer",
809                    "example": 0
810                  },
811                  "DATASET_READS": {
812                    "type": "integer",
813                    "example": 0
814                  },
815                  "DATASET_WRITES": {
816                    "type": "integer",
817                    "example": 0
818                  },
819                  "KEY_VALUE_STORE_READS": {
820                    "type": "integer",
821                    "example": 0
822                  },
823                  "KEY_VALUE_STORE_WRITES": {
824                    "type": "number",
825                    "example": 0.00005
826                  },
827                  "KEY_VALUE_STORE_LISTS": {
828                    "type": "integer",
829                    "example": 0
830                  },
831                  "REQUEST_QUEUE_READS": {
832                    "type": "integer",
833                    "example": 0
834                  },
835                  "REQUEST_QUEUE_WRITES": {
836                    "type": "integer",
837                    "example": 0
838                  },
839                  "DATA_TRANSFER_INTERNAL_GBYTES": {
840                    "type": "integer",
841                    "example": 0
842                  },
843                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
844                    "type": "integer",
845                    "example": 0
846                  },
847                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
848                    "type": "integer",
849                    "example": 0
850                  },
851                  "PROXY_SERPS": {
852                    "type": "integer",
853                    "example": 0
854                  }
855                }
856              }
857            }
858          }
859        }
860      }
861    }
862  }
863}

๐Ÿฏ Youtube Scraper (Pay Per Result) 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 Scraper (Pay Per Result) 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:

Developer
Maintained by Community

Actor Metrics

  • 138 monthly users

  • 42 stars

  • >99% runs succeeded

  • 4.6 hours response time

  • Created in Dec 2023

  • Modified a day ago