# Youtube Community Posts Scraper Pro (`alpha-scraper/youtube-community-posts-scraper-pro`) Actor

Extract detailed data from YouTube community posts across multiple channels. Supports keywords, usernames, channel IDs, and URLs. Collects post text, likes, comments, media, and more in structured format—perfect for analytics, research, and automation workflows.

- **URL**: https://apify.com/alpha-scraper/youtube-community-posts-scraper-pro.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Categories:** Social media, Videos, Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

---

## 🚀 YouTube Community Posts Scraper Pro

🔥 **Extract powerful insights from YouTube community posts at scale**

The **YouTube Community Posts Scraper Pro** is a high-performance data extraction tool designed to collect **rich metadata from YouTube channel community posts**. Whether you're a **marketer, researcher, data analyst, or automation expert**, this tool helps you gather structured datasets for deeper analysis.

---

### 🌟 Key Features & Overview

* ✅ Extract community posts from **multiple YouTube channels at once**
* ✅ Supports **keywords, usernames, channel IDs, and URLs**
* ✅ Automatically detects and processes **unique channels**
* ✅ Collects **complete post-level metadata**
* ✅ Handles **images, videos, polls, and text posts**
* ✅ Clean, structured output — ready for analysis
* ✅ Scalable for **large datasets and automation workflows**

---

### 📊 What Data This Actor Provides

This actor collects **detailed metadata from YouTube community posts**, including:

* Channel and author information
* Post content and publishing time
* Engagement metrics (likes & comments)
* Media attachments (images, videos, polls)
* Source channel reference

---

### 📦 Output Structure (Fields Explained)

Each post is returned as a structured JSON object with the following fields:

| Field              | Description                                       |
| ------------------ | ------------------------------------------------- |
| **postId**         | Unique identifier of the post                     |
| **author**         | Name of the channel owner                         |
| **authorUrl**      | Channel URL path                                  |
| **text**           | Full post content text                            |
| **publishedTime**  | When the post was published                       |
| **likeCount**      | Number of likes (engagement metric)               |
| **commentCount**   | Number of comments                                |
| **pollChoices**    | List of poll options (if available)               |
| **videoThumbnail** | Thumbnail URL for video posts                     |
| **images**         | List of image URLs (if image post)                |
| **attachmentType** | Type of post: `text`, `image`, `video`, or `poll` |
| **sourceUrl**      | Original channel URL                              |

---

### 📥 Input Configuration

The actor supports **multiple flexible input methods**:

#### 🔑 Supported Inputs

* **Keywords** → Discover channels automatically
* **Usernames / Handles** → `@username` format supported
* **Channel IDs** → Direct YouTube IDs
* **Start URLs** → Any valid YouTube channel link
* **Max Posts** → Limit number of posts per channel

---

### 🧪 Input Example

```json
{
    "keywords": [
        "MrBeast"
    ],
    "usernames": [
        "@loganpaulvlogs"
    ]
    "channelIds": [
        "UC-lHJZR3Gqxm24_Vd_AJ5Yw"
    ],
    "startUrls": [
        {
            "url": "https://www.youtube.com/@PenMovies/posts"
        },
        {
            "url": "https://www.youtube.com/@PlayDMF/posts"
        }
    ],
    
    "maxposts": 100,
}
````

***

### 📤 Output Example

```json
[
    {
    "postId": "UgkxSvzQ4BqxN2iXFrEbMnU-FaJmFuPMbF_1",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "Students shouldn't have to worry about having easy access to internet so they can learn and grow, which is why I've partnered with Project 10Million from T-Mobile! They're providing free hotspots and internet to millions of households all across the United States to help kids build towards a brighter future.\n\nIf you want to learn more or see if your family qualifies, visit https://www.t-mobile.com/project10mil... #TMobilePartner",
    "publishedTime": "2 months ago (edited)",
    "likeCount": "441K",
    "commentCount": "5.2K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s1600-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s2048-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/Zpf6CJ_O0oRQgVYDH4NQHRXhwTk97gU1Lb-1bPMRUKmVr1A8u44qXsrPalvRzJLG5B9a2LtqIMRA=s2250-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "UgkxMcn5gpGQdDK1s5nVsOJD7kcNtEc50ci_",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "Would you lie to your best friend for a 1 in 6 chance to win $5 MILLION? 👀 Watch Episode 9 of Beast Games to see which of the top 10 make the FINAL 6! It’s the best episode yet, I can’t wait for you all to see :) http://linktr.ee/beastgames",
    "publishedTime": "2 months ago",
    "likeCount": "467K",
    "commentCount": "7K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/44BaIJ3731Atk6LYAzcQdQAMNdmvPk3YwPSjpvWsUQumFFMfRl9HofsxfHmgDJesD3eSGsxzYOA2bg=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/xrYIMrSETdsVLpAWTFEuV_CPJYzaARrDmqbBWvLebxcd7ki8lIt3hlYI3fByFIOu4P3bb6G39lbU=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "UgkxxlSaueTWVLfvwYO3n3m6Vf86cIPuWqym",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "I gave 10 people the ability to split $1,000,000 or to screw over each other and try to steal it all in the new Beast Games episode! Almost have the $5,000,000 winner go watch :D",
    "publishedTime": "2 months ago",
    "likeCount": "233K",
    "commentCount": "4.4K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s288-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s400-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s512-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s640-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s800-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s1024-c-fcrop64=1,000017bdffffe489-rw-nd-v1",
      "https://yt3.ggpht.com/JC6mfK-JSB-jXSWdUIbzVkXVV2T7FkKICKltzjB2uBTvX2ToBCDJkgQfe3XvaYVydrtFhZgoaFvi2k4=s1080-c-fcrop64=1,000017bdffffe489-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "Ugkx_dkGHryzuVVacjrJVhJFSm0u9BvHYvd7",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "This Sunday you could win $1,000,000 worth of prizes on Whatnot. I'm going live this Sunday at 10 AM PT. Download Whatnot, follow me on the app, and I will see you there :)\n\n\n\n\n\nTerms and Conditions: https://bit.ly/MrBeast_Whatnot #WhatnotPartner",
    "publishedTime": "2 months ago",
    "likeCount": "234K",
    "commentCount": "8.4K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s288-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s400-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s512-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s640-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s800-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s1024-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s1600-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s2048-c-fcrop64=1,0000123effffd242-rw-nd-v1",
      "https://yt3.ggpht.com/MwSq_ZnaST922RAngYVXI6DKgunBahE55GaVBl5u46grsB27c9bEH-e-mcJ9BGPWv8QWBzM38r38EQ=s5405-c-fcrop64=1,0000123effffd242-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "Ugkx2FRbcv-oM-8hEVEobO6LvfocXWHIV2hh",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "We buried the top 10 contestants of Beast Games alive in one of the most brutal challenges ever 🪦 go watch now ep 7 is out!",
    "publishedTime": "2 months ago",
    "likeCount": "287K",
    "commentCount": "3.9K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/aqJHv7PxbjrnelHgubFcCQqMdIUFq6XgzlRdvzhDnEGTB2fiQMiItOlvxC1KeGQeGazyXoKU_Eyp=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/cPq09MbSnEXD9woDN6DDe4u8tRSSBndKQb_EsFoKfX8fKutoWM8IcdmdbYrpjunOJIS1dngo0Tw4=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/2SNEXV5cfliaaEG_WsRET2k_wGUTe_iHaOLXu27mZetxc-_o2otWpwQNeeW971oIUkejT4ii_-tfdw=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/HEEcrNj6KIajXFjIsFDhwj4Po8NFJMmWrEc-kf46K3NvSMTjNLymwQzStdiCc2bvF8Aw4Yeg35CjWA=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "UgkxIm6SVAUl2WB_iNpQ2EwnGP0J00VAcECz",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "Beast Games x Survivor episode is NOW LIVE! It was an honor to be able to collab with the legend Jeff Probst himself 🥰\n\nWatch for free (30 day trial) on Prime video! https://linktr.ee/beastgames",
    "publishedTime": "3 months ago",
    "likeCount": "261K",
    "commentCount": "4.7K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s1024-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/lzjX4BLmn7E1Sm-pnw_SLEZ1T-3Z-qcNKxlaAO6loxyvukWZX3i7CEHGsEwVNy_eZcenPv94vKMb2A=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "UgkxMiqr9bA6xk6au8tTD_pBh5XbLTEM5w-B",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "Beast Games Season 2 is #1 in the USA! Over 1,000,000 hours of work from thousands of people went into making this show. We’re all super grateful for everyone who is watching 🙏",
    "publishedTime": "3 months ago",
    "likeCount": "274K",
    "commentCount": "3.9K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s512-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s640-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s800-c-fcrop64=1,00000000ffffffff-rw-nd-v1",
      "https://yt3.ggpht.com/fxLl8P1LzrtaaFNRM4H-HRpC0V2jVrcyyOmFFfEn3e8clpUGW4rfQz4U9pTkRiol0h6k6hrCBJQIOvo=s1000-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
    ],
    "attachmentType": "image",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "UgkxxT2KljsElZRd7X3KR8iXXpH05zJLLSnA",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "No main channel video today but we just posted one of my all-time favorite MrBeast 2 videos. Beast Games contestants take you inside Beast City and show exclusive BTS of what it’s really like to live there 🙂 go watch pls",
    "publishedTime": "3 months ago",
    "likeCount": "61K",
    "commentCount": "1.1K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "https://i.ytimg.com/vi/9uuRqcWFr7U/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLB4LFkkwUrLA2E_VQct6WWdMrW2RA",
    "images": [],
    "attachmentType": "video",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  },
  {
    "postId": "Ugkx6QPP6zvSjpVrsx7RShOaauDWKblwzVXl",
    "author": "MrBeast",
    "authorUrl": "/@MrBeast",
    "text": "Beast Games Season 2 Strong vs Smart is streaming for FREE on Prime Video. Have you watched the first 3 episodes yet?",
    "publishedTime": "3 months ago",
    "likeCount": "73K",
    "commentCount": "4.5K",
    "pollChoices": [
      "N/A"
    ],
    "videoThumbnail": "N/A",
    "images": [],
    "attachmentType": "text",
    "sourceUrl": "https://www.youtube.com/@MrBeast"
  }
]
```

***

### 💡 Benefits & Advantages

- ✨ **All-in-one YouTube data extraction tool**
- ✨ Save time with **automated multi-channel scraping**
- ✨ Perfect for **social media analytics & research**
- ✨ Supports **bulk processing with deduplication**
- ✨ Clean output for **machine learning & dashboards**
- ✨ No manual data collection needed

***

### 🎯 Use Cases

- 📈 Social media analytics
- 🧠 Market research & trend analysis
- 📊 Influencer performance tracking
- 🤖 Automation workflows
- 📚 Academic research
- 📢 Content strategy planning

***

### ⚙️ Best Practices

- ✔️ Use **specific keywords** for better channel discovery
- ✔️ Combine multiple input types for maximum coverage
- ✔️ Set `maxposts` wisely to balance speed and data volume
- ✔️ Avoid duplicate inputs (handled automatically, but cleaner input helps)
- ✔️ Run smaller batches for faster results

***

### ⚠️ Possible Errors & How to Avoid Them

#### ❌ No Data Returned

- Ensure valid input (username, URL, or keyword)
- Try alternative input formats

#### ❌ Partial Data

- Increase `maxposts` value
- Some channels may have limited posts

#### ❌ Invalid Channel

- Verify channel URL or ID is correct
- Ensure the channel has a **community tab**

#### ❌ Rate/Access Issues

- Reduce request volume
- Run in smaller batches

***

### 🔍 Keywords  :

- YouTube scraper
- YouTube community posts scraper
- YouTube channel data extractor
- YouTube posts API alternative
- scrape YouTube community tab
- YouTube analytics data tool
- extract YouTube posts JSON
- YouTube automation scraper
- social media scraping tool
- YouTube engagement data

***

### 📈 Why Choose This Actor?

- 💎 High accuracy data extraction
- 💎 Supports multiple input formats
- 💎 Handles all post types (video, image, poll, text)
- 💎 Scalable & automation-friendly
- 💎 Clean structured output
- 💎 Designed for professional use

***

### 📨 Support

If you need help or custom features:

📧 **<alphascraper69@gmail.com>**

***

### 🚀 Final Thoughts

The **YouTube Community Posts Scraper Pro** is a **powerful, flexible, and scalable solution** for extracting valuable YouTube community data. Whether you're building analytics dashboards or running large-scale research, this tool gives you everything you need — fast and efficiently.

***

## Here my another actors:

### Youtube Iteams:

- [🎶 Youtube Audio Downloader (Video/Shorts)](https://console.apify.com/actors/lTUPL4gmLTDNXBeWw/source)
- [Youtube Video Downloader Advanced](https://console.apify.com/actors/XOpQsUkgGZLGSCJd0/source)
- [Youtube Video Downloader ( Soundless )](https://console.apify.com/actors/gFsczW1QplIquv9eL/source)
- [Youtube Video Downloader](https://console.apify.com/actors/9kZQcUlHZRKp1ilZA/source)
- [Youtube Video Details Scraper](https://console.apify.com/actors/On4VfiWjGnT79clm1/source)
- [Youtube Transcript Ninja (Subtitles) ](https://console.apify.com/actors/eWrsJHhdeEbVHChpX/source)
- [Youtube Thumbnails Downloader & Scraper](https://console.apify.com/actors/YShot3wkL0HJdRkD0/source)
- [Youtube Tags or Hashtags Scraper](https://console.apify.com/actors/O1FU99ID2ccR5wcS8/source)
- [Youtube Tags Scraper](https://console.apify.com/actors/1wVokAhQLbbeeFVfR/source)
- [Youtube Shorts Scraper lite](https://console.apify.com/actors/bOyWDt1IbXZsadWRp/source)
- [Youtube Shorts Downloader Pro](https://console.apify.com/actors/bN1AjNRMops81rGkg/source)
- [Youtube Shorts Comments Scraper](https://console.apify.com/actors/ON1C4qgHaEQEhhEmI/source)
- [Youtube Community Posts Scraper](https://console.apify.com/actors/X38E51BParHFNaCw1/source)
- [Youtube Channel Id Scraper Pro](https://console.apify.com/actors/2uuIEovgGHcYjEKyN/source)
- [Youtube Video Transcript  Scraper ( Subtitles )](https://console.apify.com/actors/IEmSN6FkNn0tw10BA/source)
- [Youtube Video Comments Scraper](https://console.apify.com/actors/URh4zBT1aesfE8QKc/source)
- [Youtube Shorts Scraper  Pro](https://console.apify.com/actors/G4McyHJJzc2TbUSo6/source)
- [Youtube Shorts Scraper](https://console.apify.com/actors/XP0WgKweF1M83FnmR/source)
- [Youtube Channel Scraper](https://console.apify.com/actors/ufMZfwMgyHeaoDdAd/source)
- [YouTube Video Description Extractor](https://console.apify.com/actors/Xqae3CmxqT3HfHaJ5/source)
- [YouTube Hashtag Scraper](https://console.apify.com/actors/d4bYqQ0LWuczEgumx/source)
- [YouTube Description Scraper pro](https://console.apify.com/actors/OVymx0bku0C8gowB0/source)
- [YouTube Comments Scraper | Pay Per Result](https://console.apify.com/actors/ict6AecoJ85T4RthZ/source)
- [YouTube Channel ID Scraper](https://console.apify.com/actors/P9XlG8ylMGqfoelOg/source)

### Tiktok Iteams:

- [Tiktok Video Downloader](https://console.apify.com/actors/dlyQGIrqOracdqOeb/source)
- [Tiktok Video Details Scraper Pro](https://console.apify.com/actors/kZMMAHBehLOdG2FBb/source)
- [Tiktok Profile Scraper](https://console.apify.com/actors/C9mdCvPs7mDV8AYdd/source)
- [TikTok Video Scraper](https://console.apify.com/actors/7NjipRJbS73X9Io90/source)
- [TikTok Profile Videos Scraper](https://console.apify.com/actors/F6ar6Hu5STLp5mdAf/source)
- [TikTok Profile Scraper pro](https://console.apify.com/actors/3fmkMmoCBQ4SBIIAN/source)
- [TikTok Audio Downloader 🎵](https://console.apify.com/actors/jHipu7fQihSVhBE3x/source)

### Snapchat Iteams:

- [Snapchat Video Downloader (Spotlight )](https://console.apify.com/actors/yKz99HNmn4AgmhPOf/source)
- [Snapchat Video  Details Scraper (Spotlight)](https://console.apify.com/actors/fyV48EkRqcNoeq2kH/source)
- [Snapchat Followers Scraper](https://console.apify.com/actors/PxBiNYw0mgZOagGyD/source)
- [Snapchat Profile     Scraper](https://console.apify.com/actors/siCUsZdm6xmc3g7HF/source)
- [Snapchat Profile Scraper  Mini](https://console.apify.com/actors/qhkQO51Cv6iHJxdAs/source)

### Instagram Iteams:

- [Instagram video Downloader + Scraper](https://console.apify.com/actors/zIpixF6ZjlbelQDrY/source)
- [Instagram Video Downloader (Soundlss)](https://console.apify.com/actors/QQkJuhIQp4pexakls/source)
- [Instagram Thumbnail Scraper Video & Reels](https://console.apify.com/actors/z8JOosBY8hlqiUthl/source)
- [Instagram Reels  Downloader](https://console.apify.com/actors/VRbovYCWXTZXuVaN2/source)
- [Instagram Profile URL to Username Converter & Extractor](https://console.apify.com/actors/FOApkedA1VuG6ncno/source)
- [Instagram Profile Scraper](https://console.apify.com/actors/5dvorBkg7ccX95wAg/source)
- [Instagram Post Videos Downloader](https://console.apify.com/actors/h95ZexZ0ifOX4JEYQ/source)
- [Instagram Followers Scraper](https://console.apify.com/actors/c55pdH9mCE02sj7Dg/source)
- [Instagram Audio Downloader](https://console.apify.com/actors/MQRNuEHUqKreEi8gI/source)
- [Instagram Video Scraper + Downloader](https://console.apify.com/actors/63Z5eSy3IxgdIEYOX/source)
- [Instagram Video  scraper Advanced](https://console.apify.com/actors/79ng2nukXLzUn0aWg/source)
- [Instagram Video Details  scraper](https://console.apify.com/actors/VLyBXSwQpHTFwUcds/source)
- [Instagram Reels Details scraper](https://console.apify.com/actors/oGR3xfeXTuIirhdlZ/source)
- [Instagram Followers Scraper Pro](https://console.apify.com/actors/MqW3EtUZXm6OHdvcI/source)

### Facebook Iteams:

- [Facebook reels Downloader  (Separate audio or video)](https://console.apify.com/actors/nuvIRaMeRIzz3cfxK/source)
- [Facebook Video Downloader advanced](https://console.apify.com/actors/2SU8ZuABbAVFNKMZa/source)
- [Facebook Video Details Scraper Advanced](https://console.apify.com/actors/umYouAXm92472jIdY/source)
- [Facebook Video Details Scraper](https://console.apify.com/actors/cQi4k63arffL6Cn0m/source)
- [Facebook Transcript & Subtitle scraper](https://console.apify.com/actors/hMNe1QYDOtcTc95qI/source)
- [Facebook Thumbnail Downloader Video & Reels](https://console.apify.com/actors/9SmYiqGTUia29Yd1Y/source)
- [Facebook Reels Downloader Advanced](https://console.apify.com/actors/3Zdnp9TnvltdoC44T/source)
- [Facebook Reels Details Scraper  Best and  Affordable](https://console.apify.com/actors/nuzr418MKJltywrCh/source)
- [Facebook Reels Details Scraper](https://console.apify.com/actors/OGBA89e5Ki6Y5amko/source)
- [Facebook Page Details Scraper](https://console.apify.com/actors/PL9nP9BrKDSsKwSZF/source)
- [Facebook Audio Downloader](https://console.apify.com/actors/uVrcf4OJ9VW8iCybQ/source)

### Amazon Iteams:

- [Amazon Search Scraper](https://console.apify.com/actors/YcgJR1WP1cHJhHzvH/source)
- [Amazon Product Details Scraper ](https://console.apify.com/actors/1twpltijc10KFaVeb/source)

# Actor input Schema

## `keywords` (type: `array`):

List of keywords. If provided, the actor can build YouTube search or discovery URLs. Example: "cooking" or "tech reviews".

## `usernames` (type: `array`):

List of channel handles or usernames (with or without @). Examples: "MrBeast", "@MrBeast". The actor will convert these to: https://www.youtube.com/@USERNAME/posts

## `channelIds` (type: `array`):

List of channel IDs (starting with UC...). The actor will convert to https://www.youtube.com/channel/CHANNEL\_ID/posts

## `startUrls` (type: `array`):

List of one or more YouTube channel URLs or share links to scrape. These will be added to the list of channels found via other inputs.

## `maxposts` (type: `integer`):

Maximum number of posts to extract from each channel (integer).

## Actor input object example

```json
{
  "keywords": [
    "MrBeast"
  ],
  "usernames": [
    "@loganpaulvlogs"
  ],
  "channelIds": [
    "UC-lHJZR3Gqxm24_Vd_AJ5Yw"
  ],
  "startUrls": [
    {
      "url": "https://www.youtube.com/@PenMovies/posts"
    },
    {
      "url": "https://www.youtube.com/@PlayDMF/posts"
    }
  ],
  "maxposts": 100
}
```

# 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 = {
    "keywords": [
        "MrBeast"
    ],
    "usernames": [
        "@loganpaulvlogs"
    ],
    "channelIds": [
        "UC-lHJZR3Gqxm24_Vd_AJ5Yw"
    ],
    "startUrls": [
        {
            "url": "https://www.youtube.com/@PenMovies/posts"
        },
        {
            "url": "https://www.youtube.com/@PlayDMF/posts"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/youtube-community-posts-scraper-pro").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 = {
    "keywords": ["MrBeast"],
    "usernames": ["@loganpaulvlogs"],
    "channelIds": ["UC-lHJZR3Gqxm24_Vd_AJ5Yw"],
    "startUrls": [
        { "url": "https://www.youtube.com/@PenMovies/posts" },
        { "url": "https://www.youtube.com/@PlayDMF/posts" },
    ],
}

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

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "MrBeast"
  ],
  "usernames": [
    "@loganpaulvlogs"
  ],
  "channelIds": [
    "UC-lHJZR3Gqxm24_Vd_AJ5Yw"
  ],
  "startUrls": [
    {
      "url": "https://www.youtube.com/@PenMovies/posts"
    },
    {
      "url": "https://www.youtube.com/@PlayDMF/posts"
    }
  ]
}' |
apify call alpha-scraper/youtube-community-posts-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=alpha-scraper/youtube-community-posts-scraper-pro",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Youtube Community Posts Scraper Pro",
        "description": "Extract detailed data from YouTube community posts across multiple channels. Supports keywords, usernames, channel IDs, and URLs. Collects post text, likes, comments, media, and more in structured format—perfect for analytics, research, and automation workflows.",
        "version": "0.0",
        "x-build-id": "4wW9QbZiwwdiNGJOj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/alpha-scraper~youtube-community-posts-scraper-pro/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-alpha-scraper-youtube-community-posts-scraper-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/alpha-scraper~youtube-community-posts-scraper-pro/runs": {
            "post": {
                "operationId": "runs-sync-alpha-scraper-youtube-community-posts-scraper-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/alpha-scraper~youtube-community-posts-scraper-pro/run-sync": {
            "post": {
                "operationId": "run-sync-alpha-scraper-youtube-community-posts-scraper-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": " Search keywords",
                        "type": "array",
                        "description": "List of keywords. If provided, the actor can build YouTube search or discovery URLs. Example: \"cooking\" or \"tech reviews\".",
                        "items": {
                            "type": "string"
                        }
                    },
                    "usernames": {
                        "title": " Channel usernames or handles",
                        "type": "array",
                        "description": "List of channel handles or usernames (with or without @). Examples: \"MrBeast\", \"@MrBeast\". The actor will convert these to: https://www.youtube.com/@USERNAME/posts",
                        "items": {
                            "type": "string"
                        }
                    },
                    "channelIds": {
                        "title": " Channel IDs",
                        "type": "array",
                        "description": "List of channel IDs (starting with UC...). The actor will convert to https://www.youtube.com/channel/CHANNEL_ID/posts",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": " Start URLs (Provide One or more posts urls)",
                        "type": "array",
                        "description": "List of one or more YouTube channel URLs or share links to scrape. These will be added to the list of channels found via other inputs.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": " URL",
                                    "description": "YouTube channel URL — any of these forms are accepted and will be normalized to the /posts URL by the actor: \n• https://www.youtube.com/@Handle\n• https://www.youtube.com/@Handle/posts\n• https://www.youtube.com/c/CustomName\n• https://www.youtube.com/user/LegacyName\n• https://www.youtube.com/channel/UCxxxxxxxxx\n• Share links or other channel URLs"
                                }
                            },
                            "required": [
                                "url"
                            ]
                        }
                    },
                    "maxposts": {
                        "title": " Max post per channel",
                        "type": "integer",
                        "description": "Maximum number of posts to extract from each channel (integer).",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
