GETcommunities

Extract Community Tweets from Twitter

Get all tweets from any Twitter Community. Filter by Top, Latest, or Media to find the most relevant community discussions.

Average response time: 90ms

Code Examples

const response = await fetch(
  'https://scrapebadger.com/v1/twitter/communities/1234567890/tweets?tweet_type=Top',
  { headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const tweets = await response.json();
tweets.data.forEach(t => console.log(t.text, t.favorite_count));
Response
{
  "data": [
    {
      "id": "comm_tweet_001",
      "text": "Just published a new tutorial on React Server Components...",
      "author": { "username": "webdev", "followers_count": 8000 },
      "favorite_count": 156
    }
  ],
  "next_cursor": "comm_tweet_cursor"
}

API Reference

GET/v1/twitter/communities/{community_id}/tweets
ParameterTypeRequiredDescription
community_idstringRequiredThe numeric community ID
tweet_typestringOptionalFilter type: "Top", "Latest", or "Media"
cursorstringOptionalPagination cursor for next page

Use Cases

Community Management

Manage Twitter communities by tracking member activity, top contributors, discussion themes, and community health metrics.

Social Listening

Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.

Trend Tracking

Detect emerging trends, viral content, and breaking news before they peak using real-time trending topic data.

Academic Research

Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.

Content Curation

Aggregate top-performing content by topic or industry to fuel newsletters, social feeds, and content marketing calendars.

Market Research

Analyze consumer conversations, product feedback, and market trends to inform product development and go-to-market strategies.

Frequently Asked Questions

You can filter by "Top" (most engaged), "Latest" (chronological), or "Media" (tweets with images/videos).

Use the Search Communities endpoint to search for tweets matching specific keywords within communities.

Community timelines typically show recent activity. Use pagination to access older posts.

Yes. Communities are self-selected groups, making them valuable for studying specific interest groups.