Twitter X Community Posts Scraper avatar

Twitter X Community Posts Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Twitter X Community Posts Scraper

Twitter X Community Posts Scraper

Scrape tweets from any public Twitter/X community timeline. Get engagement metrics (likes, retweets, views, replies), author details, media URLs & quoted tweets. Filter by Top or Latest posts. Export as JSON, CSV or Excel.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Sachin Kumar Yadav

Sachin Kumar Yadav

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

🏘️ Twitter/X Community Posts Scraper – Extract Posts from X Communities

Scrape posts from any public Twitter/X Community. Extract full tweet data including text, engagement metrics (likes, retweets, replies, quotes, views, bookmarks), author details, photos, videos, and quoted tweets. Sort by Top or Latest ranking. Perfect for community analytics, content research, trend monitoring, and social listening!

📋 Table of Contents

🚀 Features

Complete Community Posts Extraction

  • Full Posts Timeline - Extract all posts/tweets from any public Twitter/X community timeline.
  • Engagement Metrics - Capture likes (favorites), retweets, replies, quotes, bookmarks, and total views for every post.
  • Author Details - Retrieve author ID, display name, username/screen name, avatar URL, and blue verification status for each post.
  • Rich Media Support - Extract photo URLs and full video data including thumbnails, multiple quality variants, duration, and aspect ratios.
  • Quoted Tweets - Automatically capture quoted tweet text, engagement data, and author info when a community post quotes another tweet.
  • Language Detection - Each post includes the detected language code (lang) for multilingual filtering.

Flexible Sorting & Pagination

  • Top & Latest Ranking - Choose between Top (most popular/engaging) or Latest (most recent) post ordering to match your analysis goals.
  • Pagination Support - Automated maxPages configuration controls pagination cursors under the hood to pull up to 50 pages of community posts (approx. 1,000 posts per run).
  • No Account Required - Pull data securely from public communities without logging into a personal Twitter/X account or using browser sessions.

🎯 Use Cases

Use CaseDescriptionBenefits
Community AnalyticsAnalyze engagement patterns across Top and Latest community postsIdentify high-performing content themes and peak posting times
Content ResearchScrape trending discussions from niche tech, crypto, or industry communitiesDiscover viral topics, popular opinions, and emerging trends
Social ListeningMonitor what community members are talking about in real-timeTrack brand mentions, product feedback, and sentiment shifts
Competitor IntelligenceScrape posts from competitor-affiliated communitiesUncover competitor strategies, partnerships, and audience engagement
Influencer DiscoveryIdentify top contributors in communities by engagement metricsFind high-influence voices for partnership and outreach campaigns
Academic & Market ResearchCollect structured tweet data for analysis from specialized communitiesBuild datasets for NLP, sentiment analysis, and trend studies

⚡ Quick Start

Scrape Top Posts from a Community

To scrape the most popular posts from a community (e.g., Community ID 1699807431709041070), configure your input like this:

{
"communityId": "1699807431709041070",
"ranking": "Top",
"maxPages": 2
}

Scrape Latest Posts from a Community

To scrape the most recent posts, switch the ranking to Latest:

{
"communityId": "1699807431709041070",
"ranking": "Latest",
"maxPages": 3
}

📊 Input Parameters

Configuration Options

ParameterTypeRequiredDescriptionDefault
communityIdStringYesThe numeric ID of the Twitter/X Community you want to scrape. You can find this in the community URL (e.g., in https://x.com/i/communities/1699807431709041070, the Community ID is 1699807431709041070).
rankingStringNoSorting order for community posts. Use Top for the most popular/engaging posts or Latest for the most recent posts.Top
maxPagesIntegerNoMax pages of community post results to retrieve. Each page contains ~20 posts. Range: 1 to 50.1

📤 Output Format

Community Post Result Example

{
"source": "twitter_x_community_posts",
"community_id": "1699807431709041070",
"ranking": "Top",
"position": 1,
"tweet_id": "2075189015620268479",
"text": "As a programmer , what do you enjoy more?\n \n1. Coding \n2. Making money?",
"lang": "en",
"created_at": "Thu Jul 09 12:03:11 +0000 2026",
"favorites": 91,
"retweets": 77,
"replies": 16,
"quotes": 0,
"bookmarks": null,
"views": "655",
"author_id": "1923804527838556160",
"author_name": "OJ",
"author_screen_name": "im_thereal_oJ",
"author_avatar": null,
"author_verified": true,
"photos": [],
"videos": [],
"has_media": false,
"tweet_source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"quoted_tweet": null,
"scraped_at": "2026-07-12T02:30:00.000Z"
}

Post with Photos Example

{
"source": "twitter_x_community_posts",
"community_id": "1699807431709041070",
"ranking": "Top",
"position": 3,
"tweet_id": "2073795534960365780",
"text": "Only the top 1% of developers know the real difference between Encryption and Hashing. Do you?",
"lang": "en",
"created_at": "Sun Jul 05 15:45:59 +0000 2026",
"favorites": 82,
"retweets": 6,
"replies": 53,
"quotes": 1,
"bookmarks": null,
"views": "27447",
"author_id": "1540271646300577792",
"author_name": "Mr Ash",
"author_screen_name": "ash_twtz",
"author_avatar": null,
"author_verified": true,
"photos": [
{
"media_url": "https://pbs.twimg.com/media/HMeaDJUboAAafY3.jpg",
"id": "2073795532259303424"
}
],
"videos": [],
"has_media": true,
"tweet_source": "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>",
"quoted_tweet": null,
"scraped_at": "2026-07-12T02:30:00.000Z"
}

📈 Data Fields Explained

Complete Field Reference

FieldTypeDescription
sourceStringStatic source identifier (twitter_x_community_posts).
community_idStringThe numeric community ID being scraped.
rankingStringThe ranking/sorting mode used (Top or Latest).
positionIntegerThe numerical index position of the post in the scraped results.
tweet_idStringUnique ID of the tweet/post.
textStringFull text content of the tweet.
langStringDetected language code of the tweet (e.g., en, es, fr).
created_atStringTimestamp indicating when the tweet was posted.
favoritesIntegerTotal number of likes on the tweet.
retweetsIntegerTotal number of retweets.
repliesIntegerTotal number of replies to the tweet.
quotesIntegerTotal number of quote tweets.
bookmarksIntegerTotal number of bookmarks (may be null if unavailable).
viewsStringTotal number of tweet impressions/views.
author_idStringUnique ID of the tweet author.
author_nameStringDisplay name of the tweet author.
author_screen_nameStringUsername/handle of the author (e.g., ash_twtz).
author_avatarStringURL to the author's profile image/avatar.
author_verifiedBooleanTrue if the author is blue verified (X Premium).
photosArrayArray of photo objects with media_url and id fields.
videosArrayArray of video objects with thumbnail, duration_ms, aspect_ratio, variants, and id fields.
has_mediaBooleanTrue if the post contains any photos or videos.
tweet_sourceStringThe client/app used to post the tweet (e.g., Twitter for iPhone).
quoted_tweetObjectQuoted tweet data including tweet_id, text, favorites, views, author name, screen name, and verification status. null if no quote tweet.
scraped_atStringISO timestamp of the scraping run.

❓ FAQ

Q: Can I scrape posts from private Twitter/X communities?

A: No. This actor can only access public communities. Private or restricted communities will result in access denied errors.

Q: Do I need to log into my own Twitter/X account?

A: No. The scraper runs entirely autonomously without requiring you to share cookies or log in.

Q: How do I find the Twitter/X Community ID?

A: Open the desired community in your browser. Look at the URL address bar; it will look like https://x.com/i/communities/1699807431709041070. The series of numbers at the end (1699807431709041070) is the Community ID. Copy and paste only that number into the communityId field.

Q: What is the difference between Top and Latest ranking?

A: Top returns the most popular and highly-engaged posts from the community (sorted by engagement metrics like likes, retweets, and views). Latest returns the most recently posted tweets in chronological order. Use Top for viral content discovery and Latest for real-time monitoring.

Q: What is the maximum number of posts I can scrape?

A: By setting maxPages to 50 (the maximum allowed), you can scrape up to 1,000 posts per run (each page yields ~20 results).

Q: Does the scraper capture media (photos and videos)?

A: Yes! The scraper extracts full photo URLs and video data including thumbnail URLs, multiple quality/resolution variants (MP4 links), video duration, and aspect ratios.



🏷️ Keywords & Tags

twitter community posts scraper, x community posts, scrape community posts, extract community tweets, download twitter community posts, twitter community scraper, twitter community analyzer, apify twitter community, x.com community posts, twitter community timeline, community engagement scraper, twitter community data


🚀 Get Started Now

  1. Click "Try for free" to run this actor in the Apify Console.
  2. Provide the numeric Community ID in the input field.
  3. Choose your ranking preference — Top or Latest.
  4. Configure maxPages to control how deep you want to scrape.
  5. Export your data as JSON, CSV, or Excel!

⭐ If this actor is useful to your workflow, please leave a star!


Built by Sachin Kumar Yadav using Apify Platform