YouTube Community Posts Scraper
Pricing
from $1.90 / 1,000 community posts
YouTube Community Posts Scraper
Scrape public YouTube Community posts from channel handles, channel URLs, channel IDs or post URLs, with text, media, likes, timestamps, linked videos and channel metadata. No cookies needed.
Pricing
from $1.90 / 1,000 community posts
Rating
0.0
(0)
Developer
Khadin Akbar
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
What is YouTube Community Posts Scraper?
YouTube Community Posts Scraper turns public YouTube Community feeds into a clean dataset with one row per post. Give it channel URLs, @handles, UC... channel IDs or individual post URLs, and it returns each post's text, images, poll choices and vote totals, like and comment counts, publish time, channel identity and, when the post links a video, that video's title, views, length and thumbnail. Creator-partnership teams, brand monitors, media analysts and AI agents use it to track announcements, product teasers and polls as data, with no cookies, Google login or personal API key.
Why teams choose this Community posts scraper
- Community posts as their own entity. Announcements, images and teasers that never appear in upload feeds become searchable rows.
- Linked-video context. Posts that promote a video carry
videoId,videoTitle,videoUrl,videoViewCountandvideoLengthSeconds. - Polls and attachments. Poll posts return every choice and the total votes; multi-image and video posts return every image and the linked video.
- Fast and resilient. Reads YouTube's public feed directly (150 posts in about 15 seconds), and switches to a backup data route automatically if the direct route is unavailable.
- Only new posts. Turn on
newPostsOnlyand scheduled runs return just the posts you have not seen yet. - Flexible inputs. Mix channel URLs,
@handles,UC...IDs and/post/...URLs in one run. - Clean deduplication. Every row carries a stable
postId, and the same post is saved once even when several inputs reach it. - Spend you control.
maxPostscaps billable posts across the whole run;maxPagesPerChannelbounds paging per channel. - Clear outcomes. Each run writes
OUTPUTandRUN_SUMMARYwithCOMPLETE,PARTIAL,VALID_EMPTYorINVALID_INPUTso pipelines can branch.
Best fit for this Actor
- Best fit for known channels or posts where you want Community content as structured data.
- Designed for creator campaign tracking, competitor announcement monitoring and content research.
- When you start from a topic instead of a channel list, start with YouTube Search Scraper, then pass its
channelUrlorchannelIdvalues intochannelUrlshere. - When a post links a video and you want the audience reaction, then pass the
videoUrlto YouTube Comments Scraper.
Best fit and scope
Use it when you have known channels or post links and want public Community posts, polls and counts as rows. Pair it with another Actor when you need videos or Shorts (start with YouTube Search Scraper), video comments (continue with YouTube Comments Scraper); members-only posts sit outside the public-data scope.
Example workflow: from a creator list to a campaign signal
A creator-partnership team follows thirty channels and knows that launches often start as Community posts. Each Monday the analyst starts a job with the thirty channel URLs, maxPosts at 100 and maxPagesPerChannel at 2. The dataset returns each post's content, imageUrls, publishedAt, likeCount and any linked videoUrl. The analyst filters content for the product name, stores postId as the deduplication key, compares likeCount across creators, then feeds the linked videos into the comments step to read audience reaction. A weekly schedule keeps the evidence log current.
Input
{"channelUrls": ["https://www.youtube.com/@MrBeast","@mkbhd","UC_x5XG1OV2P6uZZ5FSM9Ttw"],"postUrls": [],"maxPosts": 50,"maxPagesPerChannel": 2,"newPostsOnly": false,"exactPublishedDate": false}
| Field | Type | What it controls |
|---|---|---|
channelUrls | array of strings | Channel URLs, @handles or exact UC... channel IDs. |
postUrls | array of strings | Public Community post URLs in the https://www.youtube.com/post/... form. |
maxPosts | integer | Total posts saved across the whole run. Default 20, up to 2,000. |
maxPagesPerChannel | integer | Feed pages read per channel. Default 5, up to 250. |
newPostsOnly | boolean | Skip posts a previous run already returned for the same channel, so a schedule only collects new ones. Default off. |
exactPublishedDate | boolean | Also open each post's page to read its exact publish timestamp. Slower; off by default. |
sourceMode, connectionMode | advanced selects | Force the direct or backup data route, or pick the connection type. Leave on auto unless you are debugging. |
Individual postUrls are processed before channel feeds, and numeric fields take numbers such as 10 rather than strings.
Output
| Field | What it contains |
|---|---|
postId, postUrl | Community post identity and link |
content | Post text |
imageUrl, imageUrls | First image and every image on the post |
postType | text, image, multi_image, poll, video or other |
poll | Poll choices and total votes, when the post is a poll |
likeCount, likeCountText | Public like count as a number and as displayed |
commentCount, commentCountText | Number of comments on the post, as displayed (for example 6.3K) |
publishedAt, publishedAtApprox, publishedAtPrecision, publishedTimeText | Exact timestamp when known (null otherwise), the estimated date and its precision, and YouTube's display text |
isEdited | Whether YouTube marks the post as edited |
channelId, channelName, channelHandle, channelUrl | Channel identity |
videoId, videoTitle, videoUrl, videoThumbnailUrl | Linked video, when the post promotes one |
videoViewCount, videoViewCountText, videoPublishedTimeText, videoLengthText, videoLengthSeconds | Linked-video metrics |
route, scrapedAt | Data route used (direct or managed) and collection time |
agentSummary | One plain sentence describing the post, for AI agents |
{"postId": "UgkxWw9Nf4Kb453wM6hA2d9pySxjBixo0fXT","postUrl": "https://www.youtube.com/post/UgkxWw9Nf4Kb453wM6hA2d9pySxjBixo0fXT","content": "How we made the Galaxy S23 Ultra Intro at @TheStudio!","imageUrl": null,"imageUrls": [],"postType": "image","poll": null,"likeCount": 12085,"likeCountText": "12K","commentCount": 1000,"commentCountText": "1K","publishedAt": "2023-12-07T19:29:35.345Z","publishedAtApprox": null,"publishedAtPrecision": "exact","publishedTimeText": "2 years ago","isEdited": false,"channelId": "UCBJycsmduvYEL83R_U4JriQ","channelName": "Marques Brownlee","channelHandle": "mkbhd","channelUrl": "https://www.youtube.com/@mkbhd","videoId": "as_kxJn4Xwc","videoTitle": "Can an iPad Control Our Camera Robot?","videoUrl": "https://www.youtube.com/watch?v=as_kxJn4Xwc","videoThumbnailUrl": "https://i.ytimg.com/vi/as_kxJn4Xwc/hq720.jpg","videoViewCount": 188492,"videoViewCountText": "188,492 views","videoPublishedTimeText": "3y ago","videoLengthText": "18:36","videoLengthSeconds": 1116,"route": "direct","scrapedAt": "2026-11-23T12:30:34.735Z","agentSummary": "Marques Brownlee posted a image post on 2023-12-07."}
Each run also writes OUTPUT (outcome, counts and charged events) and RUN_SUMMARY (input counts, deduplication, paging state and stop reason) to the default key-value store.
Pricing
This Actor uses Pay per event plus Apify platform usage. The events are Actor Start (once per run, per allocated GB) and Community post (one per validated post saved to the dataset). For example, a run with maxPosts at 10 that fills its cap at the default memory is one start event plus 10 post events, plus the platform usage of the job; a valid request with no public posts is the start event only. Platform usage was measured at about $0.012 per 1,000 posts at the default 256 MB memory (150 posts took about 15 seconds). The live Pricing tab on this page shows the current price of each event, and maxPosts is the strongest cost control.
Cost of a bounded run
This Actor uses Pay per event plus platform usage. A run that saves 100 posts is 100 Community post events, one Actor Start event per allocated GB, and about $0.0012 of platform usage. A run that finds no public posts costs only the start event. The live Pricing tab is the source of truth for current event prices.
API example
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~youtube-community-posts-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"channelUrls": ["@TED"], "postUrls": [], "maxPosts": 10, "maxPagesPerChannel": 1}'
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("khadinakbar/youtube-community-posts-scraper").call(run_input={"channelUrls": ["@TED"],"postUrls": [],"maxPosts": 10,"maxPagesPerChannel": 1,})posts = list(client.dataset(run["defaultDatasetId"]).iterate_items(clean=True))output = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")print(output["value"]["outcome"], len(posts))
Use with AI agents (MCP)
The Actor is available through Apify MCP as khadinakbar--youtube-community-posts-scraper for Claude, ChatGPT, Cursor and other MCP clients. Example prompt:
Collect up to 10 public Community posts from @TED with one page per channel. Return postId, postUrl, content, publishedAt, likeCount, imageUrls and videoUrl, and tell me the outcome.
The agent starts the Actor with small numeric limits, reads OUTPUT.outcome, then reads rows with get-dataset-items. Treat empty fields as unknown rather than zero, use postId for deduplication and scrapedAt for provenance. For cost and scope, keep maxPosts small on the first call and raise it once the rows look right.
Best results
| Starting situation | Helpful action | Expected outcome |
|---|---|---|
| First look at a channel | maxPosts 10 with maxPagesPerChannel 1 | A quick sample of the latest posts |
| Several channels in one job | Raise maxPosts, since the cap is shared | Posts from every channel in the list |
| A specific post | Use its canonical /post/... URL in postUrls | One enriched row for that post |
| Date-bounded reporting | Filter on publishedAtApprox (or publishedAt with exactPublishedDate) | Clean reporting windows |
| Weekly monitoring | Schedule with newPostsOnly on | Only new posts added to your log |
Works with public Community posts; members-only and login-only posts sit outside its public-data scope. Like counts and linked-video views are snapshots at scrapedAt.
Scope and troubleshooting
- Evidence and freshness: checked with live cloud runs covering large creator feeds, single post links, channels without a Community tab and a 150-post multi-channel run that finished in about 15 seconds.
- A channel without a public Community tab returns
VALID_EMPTYwith a warning naming the channel; nothing is charged beyond the start event. - When the direct route is unavailable, the Actor moves to a backup route automatically. Backup rows have no poll data and no comment count, and show
route: managed. - Feed rows give an estimated date only; use
exactPublishedDatefor exact timestamps. - If a run ends
PARTIAL, read the warnings inOUTPUT, then re-run with the same input;newPostsOnlyavoids paying twice for posts already returned.
Builder's note
I built this because creator launches increasingly start as Community posts, and those never show up in upload or search datasets. I designed maxPosts as a single cap across the whole job so spend is predictable no matter how many channels you add, and I kept linked-video fields on the same row so a post and the video it promotes travel together.
FAQ
Do I need cookies or a YouTube API key?
No. The Actor reads public Community data with no login or personal key.
Can I filter by date?
YouTube shows only a relative age such as "2 years ago" in the feed, so the feed rows carry an estimated date in publishedAtApprox with its precision. Turn on exactPublishedDate to open each post and read the exact timestamp in publishedAt; rows without it keep publishedAt empty rather than guessed.
Why does a row have no images or no linked video?
Text-only posts have no images and many posts link no video, so those fields stay empty for that post.
Responsible use
This Actor collects public YouTube Community posts. Follow YouTube's terms and applicable privacy laws such as the GDPR and CCPA when you store or reuse creator content. YouTube is a trademark of Google LLC; this independent Actor is not affiliated with or endorsed by YouTube or Google.