# YouTube Community Posts Scraper | Polls, Quizzes & Likes (`genial_candlestand/youtube-community-posts-scraper`) Actor

Get posts from YouTube channels' Posts (Community) tab or by post URL: full text with real links, likes and comment counts (exact by default), poll and quiz choices with the correct answer and votes, images, linked video and shared posts. No post cap, date and type filters, no login.

- **URL**: https://apify.com/genial_candlestand/youtube-community-posts-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.55 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## YouTube Community Posts Scraper | Polls, Quizzes & Likes

![YouTube Community Posts Scraper | Polls, Quizzes & Likes](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/youtube-com-account-posts-feed-tagged-posts-banner-dd5bcef1.png)

Get the posts from YouTube channels' Posts tab (formerly Community) as flat rows: the full post text with real link URLs, the like count, the comment count, the poll or quiz choices with the correct answer and total votes, attached images and the linked video. Give @handles, channel URLs, UC channel ids or single post URLs; there is no cap on posts per channel and no login is needed.

### What does YouTube Community Posts Scraper do?

You give it YouTube channels (`@MrBeast`, `https://www.youtube.com/@veritasium/posts`, `/channel/UC…`, `/c/name`, `/user/name` or a bare `UC…` id) and/or single post URLs. It returns one row per community post, newest first, with the post text, attachment type, likes, comments, poll votes, images, linked video, links, hashtags and @mentions. It is built for creator-economy and influencer-marketing analysts, brand and agency teams that watch sponsored channels, researchers and AI pipelines that need post text and poll data, and creators auditing their own or competitors' post history.

### How to scrape YouTube community posts

![How YouTube Community Posts Scraper works: Resolves each @handle, channel URL or post URL to a YouTube channel or post id; Reads the channel's Posts tab via YouTube's JSON API, 10 posts per page; Page](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/youtube-com-account-posts-feed-tagged-posts-how-e7c25093.png)

1. Open the actor in Apify Console.
2. In **Channels**, add one channel per line: an @handle, a channel URL or a UC… id. Optionally add **Single post URLs**.
3. Set **Max posts per channel** (default 50; there is no source cap, so a high number gets the whole history).
4. Optionally narrow with **Posted after** (a date or "30 days") and **Post types** (e.g. only polls and quizzes).
5. Click **Start** and download the dataset as JSON, CSV, Excel or via API.

### How much does it cost to scrape YouTube community posts?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Post | $3.00 per 1,000 | $2.85 per 1,000 | $2.70 per 1,000 | $2.55 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 41 rows in 10 s.

You pay per post: one `post` event = one community post row in the dataset. Exact counts, images, polls, linked-video data and shared-post data are included — there are no add-on events. Channels that are not found, have no Posts tab or have no posts after your filters cost nothing. A duplicate post (the same post reached from a channel and a post URL) is returned and charged once. Each run also has the small Apify actor start event.

| Scenario | Posts (events) | Cost on the Free plan |
|---|---|---|
| 5 channels × 20 newest posts | 100 | about $0.30 |
| Weekly check of 30 brand channels, ~5 new posts each (`postedAfter: "7 days"`) | 150 | about $0.45 |
| Full post history of 4 large channels | 1,000 | about $3.00 |
| Research dataset of many channels | 10,000 | about $30.00 |

Costs include the actor start fee ($0.00005), which is negligible.

### Input

![YouTube Community Posts Scraper input example: Channels (@handles, URLs or UC ids), Single post URLs, Max posts per channel, Exact comment and vote counts](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/youtube-com-account-posts-feed-tagged-posts-input-11f1bc1b.png)

| Field | Type | Description |
|---|---|---|
| `channels` | array of strings | @handles, channel URLs (`/@x`, `/@x/posts`, `/@x/community`, `/channel/UC…`, `/c/name`, `/user/name`, `m.youtube.com`) or bare `UC…` ids. Post URLs pasted here are scraped as single posts. Video, Shorts, live and playlist URLs are rejected. |
| `postUrls` | array of strings | Single posts: `https://www.youtube.com/post/<id>` or `https://www.youtube.com/channel/UC…/community?lb=<id>`. One row each. |
| `maxPostsPerChannel` | integer ≥ 1 | Newest posts per channel, counted after the filters. Default 50. |
| `postedAfter` | string | `YYYY-MM-DD` or relative ("30 days", "6 months"). Approximate (± one unit of the post age); must not be in the future. |
| `postTypes` | array | Any of `text`, `image`, `images`, `video`, `poll`, `quiz`, `shared`. Empty = all types. |
| `exactCounts` | boolean | Default `true`: exact comment and poll vote counts (1 extra small request per page of 10 posts). Off: counts of 1,000+ come rounded ("3K" → 3000). |
| `maxItems` | integer ≥ 1 | Total cap of posts across all inputs. |
| `proxyConfiguration` | object | Default Apify datacenter proxy; blocked requests switch to residential automatically. |

Give `channels`, `postUrls` or both — an input with both empty fails. `maxPostsPerChannel`, `postedAfter` and `postTypes` do not apply to single post URLs; `maxItems` does.

```json
{
  "channels": ["@MrBeast", "https://www.youtube.com/@veritasium/posts"],
  "postUrls": ["https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"],
  "maxPostsPerChannel": 20
}
```

### What data can you extract from YouTube community posts?

![YouTube Community Posts Scraper output example: Image, Channel, Text, Type, Likes](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/youtube-com-account-posts-feed-tagged-posts-output-6c364c89.png)

| Field | Description |
|---|---|
| `id`, `url` | Post id and post URL |
| `text` | Full post text; YouTube's shortened link texts are replaced by the real URL |
| `author`, `authorUrl`, `channelId`, `channelHandle`, `authorAvatarUrl` | The posting channel |
| `publishedTimeText`, `publishedAt`, `isEdited` | Age as YouTube shows it ("3 weeks ago"), an estimated ISO date, edited flag |
| `likesCount` | Exact likes (null for shared posts) |
| `commentsCount`, `commentsCountIsExact` | Comments and whether the number is exact (null for shared posts and single post URLs) |
| `attachmentType` | `text`, `image`, `images`, `video`, `poll`, `quiz`, `shared` or `other` |
| `imageUrls`, `imageUrl` | All attached images in the largest size; main image or video thumbnail |
| `videoId`, `videoUrl`, `videoTitle`, `videoViewsCount`, `videoDuration`, `videoChannelName` | Linked video of video posts |
| `pollChoices`, `pollCorrectChoice`, `pollVotesCount`, `pollVotesCountIsExact` | Poll or quiz options, the quiz's correct answer, total votes |
| `isMembersOnly` | Members-only post |
| `links`, `hashtags`, `mentions` | Real URLs, #hashtags and @handles found in the text |
| `originalPostId`, `originalPostUrl`, `originalPostAuthor`, `originalPostChannelId`, `originalPostText`, `originalPostLikesCount` | The original post of a shared post |
| `position` | 1-based place in the channel feed (newest first, before filters); null for single post URLs |
| `query`, `scrapedAt` | The input entry that produced the row; scrape time |

Example row (a Veritasium quiz post, from a real run):

```json
{
  "id": "UgkxHz--7OUi8suwPWRCv34Bhsbv8EY4_q3Q",
  "url": "https://www.youtube.com/post/UgkxHz--7OUi8suwPWRCv34Bhsbv8EY4_q3Q",
  "text": "Which of these methods have been used by researchers to make thin glass fibers? https://www.youtube.com/watch?v=NiCgcUTL9_Q",
  "author": "Veritasium",
  "authorUrl": "https://www.youtube.com/@veritasium",
  "channelId": "UCHnyfMqiRRG1u-2MsSQLbXA",
  "channelHandle": "@veritasium",
  "publishedTimeText": "3 weeks ago",
  "publishedAt": "2026-10-21T11:23:53.005Z",
  "isEdited": false,
  "likesCount": 946,
  "commentsCount": 78,
  "commentsCountIsExact": true,
  "attachmentType": "quiz",
  "imageUrls": [],
  "imageUrl": null,
  "pollChoices": ["Crossbow", "Catapult", "Running", "All of the above"],
  "pollCorrectChoice": "All of the above",
  "pollVotesCount": 51254,
  "pollVotesCountIsExact": true,
  "isMembersOnly": false,
  "links": ["https://www.youtube.com/watch?v=NiCgcUTL9_Q"],
  "hashtags": [],
  "mentions": [],
  "position": 3,
  "query": "https://www.youtube.com/@veritasium/posts",
  "scrapedAt": "2026-11-11T11:23:53.005Z"
}
```

### Use cases

- **Benchmark post engagement**: pull the whole post history of channels like @MrBeast and @veritasium with exact likes and comments.
- **Monitor sponsored or competitor channels**: schedule a run with `postedAfter: "7 days"` over your brand list to catch new announcements, giveaways and polls; paging stops early, so the run stays small.
- **Poll and quiz research**: filter `postTypes` to `poll` and `quiz` to collect questions, choices, the correct quiz answer and vote totals.
- **Track known posts**: re-scrape single post URLs (e.g. a giveaway post) to follow their likes over time.
- **Sponsor links and cross-promotion**: use the `links`, `mentions` and `hashtags` columns to see which sites and channels a creator promotes.

### Limitations

- **Dates are relative.** YouTube shows only "3 weeks ago"-style ages, so `publishedAt` is an estimate precise to about one unit of that age ("2 years ago" is ± 1 year), and `postedAfter` is approximate in the same way.
- **Very large poll totals are rounded.** Polls with 1M+ votes come as e.g. 1800000 with `pollVotesCountIsExact: false`. With `exactCounts` off, comment and vote counts of 1,000+ are rounded.
- **Single post URLs have no comment count**: `commentsCount` and `commentsCountIsExact` are null there, and `position` is null.
- **Shared posts have no own likes or comments** (null); the original's data is in the `originalPost…` fields.
- **Members-only posts** are flagged with `isMembersOnly`, but their content may be partial without a login.
- **No logged-in feed and no tagged posts**: the Home/Subscriptions feed needs an account, and YouTube has no "tagged posts". Use `mentions` and `hashtags` instead.
- The actor does not scrape the comments of posts, only their counts. Poll percentages per choice are not returned, only the total votes.

### Tips and troubleshooting

- **Get a channel's full history**: set `maxPostsPerChannel` high (e.g. 5000); paging continues until the channel's history ends.
- **Only new posts**: set `postedAfter` (e.g. "7 days") on a scheduled run; paging stops after the first page that is entirely older than the cutoff, and a pinned old post does not stop it early.
- **Filters combine**: `postTypes` and `postedAfter` can be used together; `maxPostsPerChannel` counts posts after both filters.
- **0 rows?** Check the log: each channel that was not found, does not exist or has no Posts tab gets a warning naming the entry, and it is free. A name without `@` (e.g. `MrBeast`) is tried as a legacy channel URL — add the `@` for handles.
- **Input error?** Video, Shorts, live and playlist URLs are not channels or posts; `postedAfter` must be a date or "N days/weeks/months/years" in the past.
- **Fewer requests**: set `exactCounts` to `false` if rounded comment counts are enough. Likes stay exact.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/youtube-community-posts-scraper").call(run_input={
    "channels": ["@MrBeast", "https://www.youtube.com/@veritasium/posts"],
    "postUrls": ["https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"],
    "maxPostsPerChannel": 20,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/youtube-community-posts-scraper').call({
    "channels": ["@MrBeast", "https://www.youtube.com/@veritasium/posts"],
    "postUrls": ["https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"],
    "maxPostsPerChannel": 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~youtube-community-posts-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels":["@MrBeast","https://www.youtube.com/@veritasium/posts"],"postUrls":["https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"],"maxPostsPerChannel":20}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/youtube-community-posts-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/youtube-community-posts-scraper"}}}`. Then ask, for example:

- "Get the 100 newest community posts of @MrBeast with likes and comment counts"
- "List the polls and quizzes Veritasium posted, with choices, the correct answer and total votes"
- "Which links and channels did @LinusTechTips promote in community posts in the last 30 days?"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Can it scrape all posts of a channel?**<br>
Yes. `maxPostsPerChannel` has no maximum and the actor pages to the end of the Posts tab; during research it read all 364 posts of @LinusTechTips.

**Are the like and comment counts exact?**<br>
Likes are read from the like-button label, which gives the exact number. Comments and poll votes are exact by default (`exactCounts: true`); `commentsCountIsExact` and `pollVotesCountIsExact` tell you when a number is rounded.

**Can I mix channels and single post URLs in one run?**<br>
Yes. Both lists are processed in one run, and a post reached twice is returned and charged once.

**Do I need a YouTube account, cookies or an API key?**<br>
No. The actor reads public data without login.

**How is it different from other YouTube community post actors?**<br>
It has no per-channel post cap (the leading actor documents about 200 posts per channel), returns exact comment counts where others return rounded "1K" values, adds quiz answers, shared-post data and real link URLs, and charges one flat event per post with no add-on events.

**Is it legal to scrape YouTube community posts?**<br>
The actor collects only publicly visible posts that YouTube shows to any logged-out visitor. You are responsible for how you use the data, including compliance with YouTube's terms, copyright and data-protection laws such as GDPR. Consult a lawyer if unsure.

### Also useful

- [YouTube Channel Scraper](https://apify.com/genial_candlestand/youtube-channel-details-videos-scraper) — add subscriber counts, channel details and videos with exact views for the same channels
- [YouTube Comments Scraper](https://apify.com/genial_candlestand/youtube-comments-and-replies-scraper) — get comments and replies of the videos linked in posts, with exact like counts
- [YouTube Scraper](https://apify.com/genial_candlestand/youtube-scraper) — collect videos, channels, Shorts and comments in one run
- [YouTube Search Scraper](https://apify.com/genial_candlestand/youtube-search-scraper) — find channels to monitor by keyword: videos, Shorts, channels and views
- [YouTube Transcript Scraper](https://apify.com/genial_candlestand/youtube-transcript-scraper) — fetch captions of the videos the posts promote for text analysis

# Actor input Schema

## `channels` (type: `array`):

YouTube channels whose Posts (Community) tab to scrape, one per line: @handle, channel URL (/@x, /@x/posts, /@x/community, /channel/UC…, /c/name, /user/name, m.youtube.com) or a bare UC… channel id. Post URLs pasted here are scraped as single posts. Video, Shorts, live and playlist URLs are rejected. Give this field, Single post URLs, or both.

## `postUrls` (type: `array`):

Individual posts, one per line: https://www.youtube.com/post/<id> or https://www.youtube.com/channel/UC…/community?lb=<id>. One row each. Max posts per channel, Posted after and Post types do not apply to them; Max posts in total does.

## `maxPostsPerChannel` (type: `integer`):

Newest posts to return per channel, counted after the Posted after and Post types filters. Default 50. There is no source cap: set a high number to get a channel's whole post history.

## `postedAfter` (type: `string`):

Only posts published after this date: YYYY-MM-DD or relative like "30 days" or "6 months". YouTube shows only relative ages ("3 weeks ago"), so the cutoff is approximate (± one unit of that age). Paging stops once a whole page is older. Must not be in the future.

## `postTypes` (type: `array`):

Only posts with these attachments: text, image, images (carousel), video, poll, quiz, shared. Empty = all types. The actor pages further until it finds Max posts per channel matching posts or the channel's history ends.

## `exactCounts` (type: `boolean`):

On (default): exact comment and poll vote counts, with 1 extra small request per page of 10 posts. Off: counts of 1,000+ come rounded as YouTube shows them ("3K" → 3000). Likes are exact either way.

## `maxItems` (type: `integer`):

Stop the whole run after this many posts across all channels. Empty = no total limit (only Max posts per channel).

## `proxyConfiguration` (type: `object`):

Proxy settings. The Apify datacenter proxy (default) works; the actor switches a blocked request to residential automatically.

## Actor input object example

```json
{
  "channels": [
    "@MrBeast",
    "https://www.youtube.com/@veritasium/posts"
  ],
  "postUrls": [
    "https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"
  ],
  "maxPostsPerChannel": 20,
  "exactCounts": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

Dataset with one row per community post

## `overview` (type: `string`):

The overview table of posts

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channels": [
        "@MrBeast",
        "https://www.youtube.com/@veritasium/posts"
    ],
    "postUrls": [
        "https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"
    ],
    "maxPostsPerChannel": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/youtube-community-posts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "channels": [
        "@MrBeast",
        "https://www.youtube.com/@veritasium/posts",
    ],
    "postUrls": ["https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"],
    "maxPostsPerChannel": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/youtube-community-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channels": [
    "@MrBeast",
    "https://www.youtube.com/@veritasium/posts"
  ],
  "postUrls": [
    "https://www.youtube.com/post/UgkxX6gkDxQ0KRucvyG7NLui0LhjHp0CLlfZ"
  ],
  "maxPostsPerChannel": 20
}' |
apify call genial_candlestand/youtube-community-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/youtube-community-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YX6skxa0bOHDFcdFS/builds/1pl7rfHys3BcwtWus/openapi.json
