YouTube Channel, Video & Comment Export - Official API avatar

YouTube Channel, Video & Comment Export - Official API

Pricing

from $0.80 / 1,000 item exporteds

Go to Apify Store
YouTube Channel, Video & Comment Export - Official API

YouTube Channel, Video & Comment Export - Official API

Export YouTube channel info, channel or playlist videos, video details and (opt-in) comments through the official YouTube Data API v3 with your own free API key. Quota-aware: stops before your daily units run out. Comments without author names or ids. $0.0008 per item plus $0.01 per run.

Pricing

from $0.80 / 1,000 item exporteds

Rating

0.0

(0)

Developer

DigiVibeTech

DigiVibeTech

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

YouTube Channel, Video & Comment Export — export YouTube channel info, channel or playlist videos, video details and (opt-in) comments through the official YouTube Data API v3 with your own free API key.

Try it free: press Start — the prefilled input runs a small real job (a few items). Apify's free plan includes monthly platform credit, so a first test costs you nothing. You can also set a maximum cost per run.

  • What you get: itemType, title, text, publishedAt, channelTitle, url
  • Who it's for: marketers, creators and researchers
  • Price: $0.0008 per item exported plus $0.01 per run ($0.80 per 1,000 items, plus the per-run start fee). Failed inputs free
  • Data source: Uses the official YouTube Data API v3 with your own free API key; comment author names and ids are not returned.

What is YouTube Channel, Video & Comment Export?

Export YouTube channel info, channel uploads, playlist videos, video details and (opt-in) comments to JSON, CSV or Excel through the official YouTube Data API v3, using your own free Google API key. One clean row per channel, video or comment, with stable columns, a quota counter that stops before your units run out, and no comment-author data.

✅ Why this one

  • Official API, your own key: data comes from Google's documented Data API (channels, playlistItems, videos, commentThreads, comments), not from scraped pages. No proxy, no login, no anti-bot workaround.
  • Quota-aware: every call this actor makes costs 1 quota unit (up to 50 channels or videos, or 100 comments per call). It counts units as it goes and stops before the run's budget (quotaBudgetUnits, default 2,000 of the 10,000 a default key gets per day). The 100-unit search call is never used.
  • Comments are off by default, and never include the author: comment rows hold text, likes, dates and reply counts only. Author name, author channel id/URL and profile picture are dropped before saving.
  • Your key stays private: a secret input, sent only to www.googleapis.com in the X-Goog-Api-Key header, never written to the dataset, logs or run summary.
  • Price context: the three most-used comparable YouTube video, channel and comment actors in the Apify Store charged about $1.30–$4.00 per 1,000 results at their free-plan price (checked 10 Nov 2026; some give lower prices on paid Apify plans). This one costs $0.80 per 1,000 items plus $0.01 per run and uses the official YouTube Data API v3 with your own key, so it stays within your Google quota.
  • Pay per item, plus $0.01 per run: failed inputs, not-found ids, quota stops and a rejected key are not charged as items. A wrong key or an API that is not enabled fails the run before any item is charged.

Modes

ModeInputOne row perQuota units
Channel infochannels (UC... id, @handle, channel URL)channel1 per 50 ids, 1 per handle
Channel videoschannelsvideo (newest uploads first)1 per channel + 1 per 50 videos (list) + 1 per 50 videos (details)
Playlist videosplaylists (PL... id or URL)video1 per 50 videos (list) + 1 per 50 videos (details)
Video detailsvideos (id, watch / youtu.be / shorts / live URL)video1 per 50 videos
Comments (needs allowComments: true)videostop-level comment (+ replies if includeReplies)1 per 100 comments

With the default 10,000 units a day, that is up to about 250,000 videos with full stats, or about 1,000,000 comments, per key per day.

⬇️ What data you get

Every row has every column (null where it does not apply), so Console tables and CSV exports never have missing cells. Views: All items, Channels, Videos, Comments.

FieldMeaning
itemType, id, url, title, text, publishedAtShared columns (text = description or comment text)
channelId, channelTitle, channelHandle, channelCountry, subscriberCount (+ subscriberCountText), hiddenSubscriberCount, channelVideoCount, channelViewCount, uploadsPlaylistId, thumbnailUrlChannel rows (and the channel of each video)
videoId, playlistId, playlistPosition, durationIso, durationSeconds, definition, hasCaptions, licensedContent, liveBroadcastContent, madeForKids, categoryId, tags, defaultLanguage, defaultAudioLanguage, viewCount, likeCount, commentCountVideo rows. likeCount / commentCount are null when YouTube does not report them (likes hidden, comments turned off); the views show the text twins likeCountText / commentCountText, which are then empty
commentId, parentCommentId, isReply, commentLikeCount, totalReplyCount, commentUpdatedAtComment rows
sourceInput, fetchedAt, isSampleWhich input produced the row, and when

Run summary with quota units used per endpoint (SUMMARY) and every skipped input or stop reason (ERRORS, never charged) are in the key-value store.

🎯 Use cases

  • Export a channel's or playlist's videos with stats
  • Get video details in bulk
  • Collect opt-in comments without author data for sentiment analysis

▶️ How to use

  1. Open the actor; the input is prefilled with a small real example.
  2. Replace it with your own input and set maxItems to control the cost.
  3. Press Start. Results appear in the Output tab (Overview view).
  4. Download JSON, CSV or Excel, call the results via API, or schedule the actor.

Try it first (free)

  • Run with no key: the actor validates your input and returns 3 illustrative sample rows for the mode you picked (isSample: true, fictional channel, not live data). Nothing is charged.
  • First real run: the default maxItems is 20, which costs $0.026 (20 × $0.0008 + $0.01 start). You can also set maxChargeUsd or Apify's own max cost per run.

Real runs (22 Nov 2026, build 1.1.1)

Results table from a real YouTube Data API export on 22 Nov 2026

One result item from the same real export

Input form for the same real run, API key masked

Run cost for the same real export

Channel videos, run PykhnchVR9SUvDWWV: input {"mode": "channelVideos", "channels": ["@YouTube", "https://www.youtube.com/@Google"], "maxVideosPerChannel": 8, "maxItems": 16}. 16 videos exported in 4.6 s using 6 quota units. At the current price that is 16 × $0.0008 = $0.0128 plus the $0.01 start (this run was charged at the earlier per-item price). First rows:

ChannelVideoPublishedSecondsViewsLikesComments
YouTubeOprah said add to cart, so of course, we listened! 🎁2026-11-212830504172131
YouTubered carpet odds were in our favor 🤩 happy premiere day to th2026-11-205930005273165
YouTubeand the crowd goes wild! @VanossGaming had a 🚌and a dream.2026-11-202440189597181
YouTubeguess who walked through HQ? @BoyThrob!! check out their new2026-11-20216882947470
YouTubesome memories are just too good not to smile at 🌸2026-11-18752369769742329
YouTubeone unforgettable year, now yours to watch 🌸2026-11-189026807427084593

Comments (opt-in), run k01YAGYdmNAF2UE4s: 5 top-level comments on one public video, 1 quota unit; at the current price 5 × $0.0008 = $0.004 plus the $0.01 start (this run was charged at the earlier per-item price). One row; there is no author field to show:

{"itemType": "comment", "id": "UgzKJy60hYaU8e1OAJR4AaABAg", "videoId": "az-aKc_p9oc", "text": "Justice for those who don't have premium 😭", "publishedAt": "2026-11-21T06:09:50Z", "commentLikeCount": 52, "totalReplyCount": 3, "isReply": false, "parentCommentId": ""}

Cost at the current prices: 200 videos = $0.17 (200 × $0.0008 + $0.01 start; about 9 quota units).

⚙️ Input

Example input

{
"channels": [
"@YouTube"
],
"maxItems": 20
}

⬆️ Output

Each dataset row is one channel, video or comment (itemType). A real video row from run PykhnchVR9SUvDWWV (22 Nov 2026), shortened to the main fields:

{
"itemType": "video",
"id": "QwhynRkyiYQ",
"url": "https://www.youtube.com/watch?v=QwhynRkyiYQ",
"title": "Oprah said add to cart, so of course, we listened! 🎁",
"publishedAt": "2026-11-21T20:00:40Z",
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"channelTitle": "YouTube",
"durationSeconds": 28,
"definition": "hd",
"viewCount": 30504,
"likeCount": 172,
"commentCount": 131,
"sourceInput": "@YouTube",
"fetchedAt": "2026-11-22T15:46:33.782878+00:00",
"isSample": false
}

💵 Pricing and cost estimate

Pay per event: $0.0008 per item exported plus $0.01 per run ($0.80 per 1,000 items). Sample rows, failed inputs, not-found ids and stopped runs are not charged as items. Apify platform usage is included.

🔌 Integrations and API

Run it from n8n, Make, Zapier, Clay or any tool that can call an HTTP endpoint, connect a webhook to get notified when a run finishes, or let AI agents call it through the Apify MCP server (mcp.apify.com).

Run it and get the results in one call:

curl -X POST "https://api.apify.com/v2/acts/digivibetech~youtube-data-api-export/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channels": ["@YouTube"], "maxItems": 20}'

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("digivibetech/youtube-data-api-export").call(run_input={"channels": ["@YouTube"], "maxItems": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Get a free API key (about 5 minutes)

  1. Open console.cloud.google.com, create (or pick) a project.
  2. APIs & Services → Library → enable YouTube Data API v3.
  3. APIs & Services → Credentials → Create credentials → API key. If you restrict it, restrict it to the YouTube Data API v3 (an HTTP-referrer or IP restriction blocks Apify's servers).
  4. Paste the key into apiKey.

⚠️ Limits

  • Comment export is off by default. You must set allowComments: true. Comment rows never contain the author's name, channel id, channel URL or profile picture. Comment text itself is written by people; handle it under the data-protection law that applies to you.
  • No keyword search. Search costs 100 units per call, so this actor works from channel, playlist and video ids/URLs only. Custom /c/ URLs need search and are not supported: use the @handle or /channel/UC... URL.
  • What the API shows is what you get: subscriber counts are rounded by YouTube and hidden when the channel hides them; dislike counts are not public; held-for-review and hidden comments are not returned; private and deleted videos are reported as not found.
  • Quota is per Google Cloud project and resets at midnight Pacific Time. When Google reports the daily quota as used up, the run stops and keeps what it already exported.
  • No video, audio or caption download. Metadata, statistics and comment text only.
  • Real-run screenshots are not in this README yet. A real private run exists (10 Nov 2026, build 1.0.2, channel videos mode); its Console screenshots are still to be taken.

🛡️ Data source, privacy and legality

Uses the official YouTube Data API v3 with your own free API key; comment author names and ids are not returned.

Responsible use

Use the export within YouTube's API Services Terms and Developer Policies, and the data-protection law that applies to you. This actor collects only public metadata through the official API and leaves out comment-author identity by design.

Built by DigiVibeTech with AI assistance; tested against fixtures in the documented API response shape and a local Apify pay-per-event test run. Questions or a field you need: digivibetech.com/support.

❓ FAQ

How much does YouTube Channel, Video & Comment Export cost?

The pay-per-event price will be published before the actor goes public.

Can I try it for free?

Yes. Press Start with the prefilled input: it runs a small real job (a few items). Apify's free plan includes monthly platform credit, which covers a first test.

Uses the official YouTube Data API v3 with your own free API key; comment author names and ids are not returned. Use the results lawfully (terms of the source, GDPR where it applies). This is not legal advice.

Can I use it through the API or an MCP server?

Yes. Every run is available through the Apify API and the official client libraries, and AI agents can call the actor through the Apify MCP server. See Integrations and API above.

Something does not work. Where do I get help?

Open an issue on the Issues tab or use digivibetech.com/support. Include the run ID so we can reproduce it.

📝 Changelog

1.1 (22 Nov 2026)

  • Verified end to end with a real key (runs PykhnchVR9SUvDWWV, k01YAGYdmNAF2UE4s); README shows those runs instead of sample rows. Price shown in the listing.

20 Nov 2026 — listing refresh

  • README, listing text and input form restructured to the DigiVibeTech Apify quality standard v1. No feature or price change.

1.0 — builds 1.0.1 to 1.0.3

  • First build 2026-11-10, latest build 2026-11-10 (3 successful builds).

🧩 More DigiVibeTech actors

Maintained by DigiVibeTech. Questions or bugs: use the Issues tab or digivibetech.com/support; we reply within 2–5 business days.