YouTube Scraper: Videos, Channels, Comments $0.39/1K avatar

YouTube Scraper: Videos, Channels, Comments $0.39/1K

Pricing

from $0.31 / 1,000 videos

Go to Apify Store
YouTube Scraper: Videos, Channels, Comments $0.39/1K

YouTube Scraper: Videos, Channels, Comments $0.39/1K

Scrape YouTube search, channels, videos, Shorts, comments and transcripts: views, likes, subscribers, dates and descriptions. Videos cost $0.39 per 1,000; 20 videos cost about $0.015 including $0.0074 setup and $0.00005 start fees. Export JSON or CSV. No login.

Pricing

from $0.31 / 1,000 videos

Rating

0.0

(0)

Developer

fortbrand

fortbrand

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

For analysts, research teams and developers collecting public YouTube videos for a repeatable data workflow. Search a topic, collect a channel's uploads, follow a playlist, or monitor a list of videos. Each video comes with its title, description, channel identity, subscribers, views, likes, public comment count, date and duration when YouTube exposes them. Add public comments or timestamped captions when your project needs the text behind a video.

$0.39 per 1,000 videos, $0.10 per 1,000 comments and $0.20 per 1,000 caption transcripts. Each successful run adds a $0.0074 setup fee, collected only after its first video is saved, plus Apify's $0.00005 start fee. The default 20-video example costs about $0.015 in total. Bronze gets 5% off, Silver 10%, and Gold or higher 20%, excluding the platform start fee. Set Maximum cost per run before starting. Empty searches, unavailable data and duplicates have no result or setup charge. No YouTube login or API key.

Job at list pricesTotal including setup/start
20 videos$0.015
1,000 videos$0.4
3 videos and 1,200 comments$0.13
One video and its caption transcript$0.008

What you get

One VIDEO row represents one distinct public video in the run. The same video found through a search, a channel and a playlist is saved once and charged once. Optional COMMENT rows link to their parent using videoId. An optional TRANSCRIPT row contains the complete available caption track and its timestamped segments. Channel URL inputs also add a free CHANNEL row with the public feed identity, description, avatar and displayed counters. Free NOTE rows explain unavailable data. A free SUMMARY row and the SUMMARY record in key-value storage give the totals and input outcomes.

FieldMeaning
verdictA readable label identifying the delivered data or explaining a free note
typeVIDEO, CHANNEL, COMMENT, TRANSCRIPT, NOTE or SUMMARY
rowKeyStable key within the run; use it to distinguish row types and deduplicate exports
id, urlSource identifier and the public YouTube link
title, descriptionVideo title and rendered public description; line breaks and displayed link labels are retained
channelObject containing the channel's name, id and subscribers
channelName, channelId, subscribersFlat versions for spreadsheets and compatibility with the channel engagement Actor
views, likesPublic video counters; hidden values remain null
comments, commentsCountPublic comment count, which YouTube may round; both fields carry the same value
publishedAtSource publication date, rather than a date guessed from relative age
duration, lengthSecondsDuration in seconds; both fields carry the same value
isShortSource classification when available; null means the source did not identify it
tagsVerified creator keywords from the page or optional public app metadata; generic site keywords are excluded
thumbnail, imageUrlThumbnail URL; both fields carry the same value
scrapedAtUTC observation timestamp for the video
inputThe query, channel, playlist or video that first discovered this result

Comment rows include text, author, authorChannelId, likes, replyCount and publishedTimeText. A displayed age such as “2 weeks ago” is preserved as text instead of being turned into a falsely precise timestamp. Their publishedAt is null. Transcript rows include language, text and segments. Each segment has start, end and text, with times measured in seconds from the beginning of the video.

Useful workflows

Build a topic inventory, monitor public video counters, collect a channel's uploads, search timestamped captions, or read top-level audience feedback. Keep id, the source link and observation timestamp beside every result.

Start in three steps

  1. Add one or more terms to searchQueries, or paste public links into startUrls.
  2. Choose maxResults, the maximum number of distinct videos for the entire run. Leave optional text collection off unless you need it.
  3. Start the Actor and open the Videos and counts dataset view. Export JSON, CSV or Excel, or read the dataset through the API.

The prefilled input searches for space telescope and collects up to 20 videos. The global cap makes a first run predictable. Searches share the cap with all other inputs, and remaining capacity is divided between the inputs still to be read. If a source has fewer videos, the run can finish below your cap. It never pads a result with unrelated videos to reach a requested total.

Inputs

InputExampleBehavior
searchQueries["space telescope", "ocean science"]Public YouTube searches. Terms are trimmed and duplicate terms are removed.
startUrls[{"url":"https://www.youtube.com/@NASA"}]Public video, Shorts, channel or playlist links. String URLs are also accepted by the runtime.
maxResults20Global distinct-video cap, from 1 to 10,000. Defaults to 20.
includeCommentsfalseCollect top-level public comments for each video. Defaults to false.
maxComments20Per-video comment cap, from 0 to 10,000. Applies only with includeComments.
includeDetailsfalseRetry omitted creator tags and exact duration through public app metadata, at the same video price.
includeTranscriptfalseSave an available public caption track as one transcript row per video.
sortBy"relevance"Search order: relevance, date, viewCount or rating.
dateFilter"any"Search upload filter: any, hour, today, week, month or year.
proxyConfiguration{"useApifyProxy":true}Automatic datacenter route with bounded residential fallback; explicit choices are respected.

Search aliases queries, keywords and query are accepted when searchQueries is absent. URL aliases urls and channels are accepted when startUrls is absent. Canonical fields take precedence if both are supplied. There are no alternative names for maxResults, so a smaller cap cannot silently lose to a platform-added default under a different field name. Use maxResults directly.

The search date filter and sort order are passed to YouTube's own search. They do not reorder a playlist, impose a date range on a direct video, or change a channel's source upload order. A query is a discovery request, so its results may change as YouTube changes its index. Use direct video links when you need a fixed monitoring list.

Search example

{
"searchQueries": ["space telescope", "ocean science"],
"maxResults": 40,
"sortBy": "date",
"dateFilter": "month",
"includeComments": false,
"includeTranscript": false
}

Comments and captions example

{
"startUrls": [{"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"}],
"maxResults": 1,
"includeComments": true,
"maxComments": 20,
"includeTranscript": true
}

Output example

Selected fields from a real cloud result collected on 17 November 2026:

{
"verdict": "Public video metadata",
"type": "VIDEO",
"id": "jNQXAC9IVRw",
"title": "Me at the zoo",
"channelId": "UC4QobU6STFB0P71PMvOGN5A",
"views": 448725002,
"likes": 20140348,
"comments": 10000000,
"publishedAt": "2005-04-23",
"lengthSeconds": 19
}

A cloud stress run delivered 1,149 videos from 1,150 discovered IDs, with one free source-failure note. A separate three-video run delivered 1,200 comments. Real reboot tests preserved saved rows and their charges.

Reading and exporting the results

Use the type field before counting results. A dataset containing 20 videos and one summary has 21 rows but only 20 billable video results. A comment is not another video. A transcript is charged once for the video, rather than once per line or segment. Notes and the summary are free. CSV is convenient for scalar counters; JSON retains nested channel objects, arrays of tags and timestamped transcript segments.

Monitor videos on a schedule

Create a task from your chosen input and add a schedule in Apify. Keep the same video URL list when comparing counters between snapshots. Send dataset results to your database, Google Sheets, Make, Zapier or n8n through Apify integrations or a webhook. Configure the webhook to run only after a successful run, and inspect SUMMARY.status before treating a partial source response as a complete snapshot.

SUMMARY.inputs explains whether each source returned videos, produced no matches, or remained unavailable after retries. SUMMARY.errors records source problems during enrichment or optional text collection. A no-match query is a normal empty result. A temporary source failure is identified separately, so an empty export cannot silently be interpreted as a disappearance of all matching videos.

Use from code

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("vant47/youtube-scraper-cheap").call(
run_input={"searchQueries": ["space telescope"], "maxResults": 20}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row.get("type") == "VIDEO":
print(row["id"], row["title"], row["views"], row["publishedAt"])

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('vant47/youtube-scraper-cheap').call({
searchQueries: ['space telescope'],
maxResults: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const videos = items.filter(row => row.type === 'VIDEO');
console.log(videos.map(row => ({ id: row.id, views: row.views })));

HTTP

curl -X POST \
'https://api.apify.com/v2/acts/vant47~youtube-scraper-cheap/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{"searchQueries":["space telescope"],"maxResults":20}'

Use with AI agents (MCP)

Connect an MCP client to https://mcp.apify.com. Ask for a concrete input and fields, for example: “Find 20 public videos about space telescopes, with channel names, views, likes and publication dates. Use a maximum of 20 videos and do not collect comments.” An agent can call this Actor with searchQueries and maxResults, then filter the returned dataset by type.

Limits

  • This is an independent tool and is not affiliated with YouTube or Google.
  • Only public signed-out data is collected. Private, deleted, paid and account-restricted material is unavailable. No login, account cookies or CAPTCHA solving are used.
  • Tags, duration, thumbnails, subscriber counts, captions and Short classification can be absent from a source response. Those fields remain null when they cannot be verified. Turn on includeDetails to retry missing metadata through public app clients. HTML duration can round up by one second; listing or player duration takes precedence when available.
  • Channels return their public upload feed and a free channel metadata row, rather than a scored channel-analysis report. Public playlists can omit unavailable entries. Search only returns what YouTube chooses to list.
  • Comments are top-level comments in the source order. Reply text is not collected. Displayed likes, reply counts, subscriber totals and comment totals can be rounded. Relative comment ages remain text.
  • Captions require an available public caption track and a source route that serves it. The first English track is preferred, otherwise the first available track. There is no translation, account access or generated transcription.
  • Automatic proxy selection begins with datacenter requests and permits a US residential retry for refused data. Explicit custom proxy URLs, a selected proxy group, country or proxy disable are respected and can affect coverage.
  • A run accepts up to 200 distinct queries or URLs, with a free note if more are supplied. The result cap is 10,000 videos per run and 10,000 comments per video. Source exhaustion can produce fewer rows. A spending limit can stop the run before the requested quantity.

FAQ

What happens if a run restarts? Saved rows are the durable delivery ledger. On restart, the Actor loads those rows and reconciles saved result charges before continuing. Completed rows are not appended or charged again. If billing state is ambiguous, it stops safely instead of guessing and charging twice.

Will an empty search charge for videos? No. Empty results and free notes have no video, comment or transcript charge. The successful-run setup fee is only attached to a saved first video. Apify's platform start fee still applies.

Are transcripts billed per segment? No. A saved transcript is one result for its parent video, regardless of the segment count. Unavailable captions do not receive a transcript charge.

Related searches: YouTube scraper, YouTube video scraper, YouTube channel scraper, YouTube comments scraper, YouTube search results, public video metadata, YouTube captions and timestamped transcripts.