Twitter X Community Posts Scraper
Pricing
from $1.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
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) orLatest(most recent) post ordering to match your analysis goals. - Pagination Support - Automated
maxPagesconfiguration 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 Case | Description | Benefits |
|---|---|---|
| Community Analytics | Analyze engagement patterns across Top and Latest community posts | Identify high-performing content themes and peak posting times |
| Content Research | Scrape trending discussions from niche tech, crypto, or industry communities | Discover viral topics, popular opinions, and emerging trends |
| Social Listening | Monitor what community members are talking about in real-time | Track brand mentions, product feedback, and sentiment shifts |
| Competitor Intelligence | Scrape posts from competitor-affiliated communities | Uncover competitor strategies, partnerships, and audience engagement |
| Influencer Discovery | Identify top contributors in communities by engagement metrics | Find high-influence voices for partnership and outreach campaigns |
| Academic & Market Research | Collect structured tweet data for analysis from specialized communities | Build 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
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
communityId | String | Yes | The 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). | |
ranking | String | No | Sorting order for community posts. Use Top for the most popular/engaging posts or Latest for the most recent posts. | Top |
maxPages | Integer | No | Max 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
| Field | Type | Description |
|---|---|---|
source | String | Static source identifier (twitter_x_community_posts). |
community_id | String | The numeric community ID being scraped. |
ranking | String | The ranking/sorting mode used (Top or Latest). |
position | Integer | The numerical index position of the post in the scraped results. |
tweet_id | String | Unique ID of the tweet/post. |
text | String | Full text content of the tweet. |
lang | String | Detected language code of the tweet (e.g., en, es, fr). |
created_at | String | Timestamp indicating when the tweet was posted. |
favorites | Integer | Total number of likes on the tweet. |
retweets | Integer | Total number of retweets. |
replies | Integer | Total number of replies to the tweet. |
quotes | Integer | Total number of quote tweets. |
bookmarks | Integer | Total number of bookmarks (may be null if unavailable). |
views | String | Total number of tweet impressions/views. |
author_id | String | Unique ID of the tweet author. |
author_name | String | Display name of the tweet author. |
author_screen_name | String | Username/handle of the author (e.g., ash_twtz). |
author_avatar | String | URL to the author's profile image/avatar. |
author_verified | Boolean | True if the author is blue verified (X Premium). |
photos | Array | Array of photo objects with media_url and id fields. |
videos | Array | Array of video objects with thumbnail, duration_ms, aspect_ratio, variants, and id fields. |
has_media | Boolean | True if the post contains any photos or videos. |
tweet_source | String | The client/app used to post the tweet (e.g., Twitter for iPhone). |
quoted_tweet | Object | Quoted tweet data including tweet_id, text, favorites, views, author name, screen name, and verification status. null if no quote tweet. |
scraped_at | String | ISO 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.
Related Actors 🤝
- Twitter X Community Members Scraper
- Twitter X Communities Search
- Twitter X List Members Scraper
- Twitter X List Followers Scraper
- Twitter X Lists Timeline Scraper
- Twitter X Thread Reader Scraper
- Twitter X Recent Replies Scraper
- Twitter X Profile Scraper
- Twitter X Video Downloader
- X Follower Scraper
- X Following Scraper
🏷️ 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
- Click "Try for free" to run this actor in the Apify Console.
- Provide the numeric Community ID in the input field.
- Choose your ranking preference —
ToporLatest. - Configure
maxPagesto control how deep you want to scrape. - 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