YouTube Video Data Scraper avatar

YouTube Video Data Scraper

Try for free

1 day trial then $20.00/month - No credit card required now

Go to Store
YouTube Video Data Scraper

YouTube Video Data Scraper

delicious_zebu/youtube-video-data-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

Easily extract key video details from YouTube, including views, likes, comments, and channel stats. Simply provide the video URL and get all the essential data in minutes. Perfect for video analytics, SEO, and content research.

You can access the YouTube Video Data Scraper 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": "pGlsqGCHw48QmisFG"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/delicious_zebu~youtube-video-data-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-delicious_zebu-youtube-video-data-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/delicious_zebu~youtube-video-data-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-delicious_zebu-youtube-video-data-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/delicious_zebu~youtube-video-data-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-delicious_zebu-youtube-video-data-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          "urls": {
135            "title": "YouTube Video URLs",
136            "uniqueItems": true,
137            "type": "array",
138            "description": "List of YouTube video URLs to scrape data from. The Actor will return details for each provided video.",
139            "default": [
140              "https://www.youtube.com/watch?v=IFvLorAL5-8"
141            ],
142            "items": {
143              "type": "string"
144            }
145          }
146        }
147      },
148      "runsResponseSchema": {
149        "type": "object",
150        "properties": {
151          "data": {
152            "type": "object",
153            "properties": {
154              "id": {
155                "type": "string"
156              },
157              "actId": {
158                "type": "string"
159              },
160              "userId": {
161                "type": "string"
162              },
163              "startedAt": {
164                "type": "string",
165                "format": "date-time",
166                "example": "2025-01-08T00:00:00.000Z"
167              },
168              "finishedAt": {
169                "type": "string",
170                "format": "date-time",
171                "example": "2025-01-08T00:00:00.000Z"
172              },
173              "status": {
174                "type": "string",
175                "example": "READY"
176              },
177              "meta": {
178                "type": "object",
179                "properties": {
180                  "origin": {
181                    "type": "string",
182                    "example": "API"
183                  },
184                  "userAgent": {
185                    "type": "string"
186                  }
187                }
188              },
189              "stats": {
190                "type": "object",
191                "properties": {
192                  "inputBodyLen": {
193                    "type": "integer",
194                    "example": 2000
195                  },
196                  "rebootCount": {
197                    "type": "integer",
198                    "example": 0
199                  },
200                  "restartCount": {
201                    "type": "integer",
202                    "example": 0
203                  },
204                  "resurrectCount": {
205                    "type": "integer",
206                    "example": 0
207                  },
208                  "computeUnits": {
209                    "type": "integer",
210                    "example": 0
211                  }
212                }
213              },
214              "options": {
215                "type": "object",
216                "properties": {
217                  "build": {
218                    "type": "string",
219                    "example": "latest"
220                  },
221                  "timeoutSecs": {
222                    "type": "integer",
223                    "example": 300
224                  },
225                  "memoryMbytes": {
226                    "type": "integer",
227                    "example": 1024
228                  },
229                  "diskMbytes": {
230                    "type": "integer",
231                    "example": 2048
232                  }
233                }
234              },
235              "buildId": {
236                "type": "string"
237              },
238              "defaultKeyValueStoreId": {
239                "type": "string"
240              },
241              "defaultDatasetId": {
242                "type": "string"
243              },
244              "defaultRequestQueueId": {
245                "type": "string"
246              },
247              "buildNumber": {
248                "type": "string",
249                "example": "1.0.0"
250              },
251              "containerUrl": {
252                "type": "string"
253              },
254              "usage": {
255                "type": "object",
256                "properties": {
257                  "ACTOR_COMPUTE_UNITS": {
258                    "type": "integer",
259                    "example": 0
260                  },
261                  "DATASET_READS": {
262                    "type": "integer",
263                    "example": 0
264                  },
265                  "DATASET_WRITES": {
266                    "type": "integer",
267                    "example": 0
268                  },
269                  "KEY_VALUE_STORE_READS": {
270                    "type": "integer",
271                    "example": 0
272                  },
273                  "KEY_VALUE_STORE_WRITES": {
274                    "type": "integer",
275                    "example": 1
276                  },
277                  "KEY_VALUE_STORE_LISTS": {
278                    "type": "integer",
279                    "example": 0
280                  },
281                  "REQUEST_QUEUE_READS": {
282                    "type": "integer",
283                    "example": 0
284                  },
285                  "REQUEST_QUEUE_WRITES": {
286                    "type": "integer",
287                    "example": 0
288                  },
289                  "DATA_TRANSFER_INTERNAL_GBYTES": {
290                    "type": "integer",
291                    "example": 0
292                  },
293                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
294                    "type": "integer",
295                    "example": 0
296                  },
297                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
298                    "type": "integer",
299                    "example": 0
300                  },
301                  "PROXY_SERPS": {
302                    "type": "integer",
303                    "example": 0
304                  }
305                }
306              },
307              "usageTotalUsd": {
308                "type": "number",
309                "example": 0.00005
310              },
311              "usageUsd": {
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": "number",
332                    "example": 0.00005
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            }
365          }
366        }
367      }
368    }
369  }
370}

YouTube Video Data Scraper 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 Data Scraper 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

  • 2 monthly users

  • 1 star

  • >99% runs succeeded

  • Created in Jan 2025

  • Modified 10 days ago