# 𝕏 (twitter) Community Scraper (`agentx/twitter-community-scraper`) Actor

X (Twitter) Communities API: creator profile, member analytics, hashtag velocity, and post engagement per community. JSON feed for community research, brand sentiment, and niche-audience-discovery pipelines.

- **URL**: https://apify.com/agentx/twitter-community-scraper.md
- **Developed by:** [AgentX](https://apify.com/agentx) (community)
- **Categories:** Social media, Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.50 / 1,000 results

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/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

## Twitter Community Scraper - X Community Governance & Intelligence API

**Extract structured X (Twitter) community data with 14+ fields including member counts, creator verification, join policies, trending hashtags, community rules, and topic classification.** This API accepts community URLs or IDs and returns structured JSON for community governance analysis, brand-sentiment monitoring, and niche-market intelligence workflows.

[![X/Twitter](https://img.shields.io/badge/X_Twitter-ffd700?style=for-the-badge&color=ffd700)](https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi) [![14+ Fields](https://img.shields.io/badge/14+_Fields-ffd700?style=for-the-badge&color=ffd700)](https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi) [![Governance Data](https://img.shields.io/badge/Governance_Data-ffd700?style=for-the-badge&color=ffd700)](https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi)

---

### Why Choose This X Community Extraction API

#### 14+ Fields with Member Analytics, Creator Intelligence & Governance Data

**📊 Complete Community Metadata**
Extract community ID, display name, description, creation timestamp, topic classification, NSFW status, banner URL, and join policy in a single API call.

**👤 Creator Intelligence**
Each community includes creator username, legacy verification status, and X Premium blue verification status for influence mapping and creator vetting.

**📈 Member Analytics**
Real-time member count for audience sizing, plus member facepile avatar URLs for visual profiling and engagement analysis.

**#️⃣ Trending Hashtags & Rules**
Extract community hashtag lists for topic monitoring and full rule sets with structured name/description pairs for moderation and compliance research.

**🧭 Compute-Based Pricing**
This actor uses Apify's compute-based pricing model, so cost scales with runtime rather than a per-community extraction fee.

---

### Why Choose This API

This actor is designed for structured output, repeatable automation, and downstream integration in monitoring, enrichment, or ingestion pipelines.

### Quick Start Guide

#### How to Extract X Community Data in 3 Steps

##### Step 1: Enter Community URLs or IDs

Provide X community URLs or numeric IDs. Supports: `https://x.com/i/communities/1489422448332197888` or `1669501013441806336`.

##### Step 2: Run the Actor

Click "Start" to extract community profiles. Batch up to 100 communities per run.

##### Step 3: Access Structured Results

Download JSON dataset or integrate via Apify API into analytics pipelines.

#### Example Input

```json
{
  "community": [
    "https://x.com/i/communities/1489422448332197888",
    "1669501013441806336"
  ]
}
````

***

### Input Parameters

| Parameter        | Type  | Required | Description                                     |
| ---------------- | ----- | -------- | ----------------------------------------------- |
| **🐦 Community** | Array | Yes      | Twitter community URLs or IDs (max 100 per run) |

***

### Output Data Schema

Each extracted X community returns 14+ structured fields:

| Field                | Type    | Description                                            |
| -------------------- | ------- | ------------------------------------------------------ |
| **id**               | String  | Unique Twitter community identifier                    |
| **display\_name**     | String  | Community display name                                 |
| **description**      | String  | Community description/bio                              |
| **creator**          | Object  | Creator info: `user_name`, `blue_verified`, `verified` |
| **join\_policy**      | String  | Access policy (Open, Closed, Invite-Only)              |
| **created\_at**       | String  | ISO 8601 community creation timestamp                  |
| **banner\_url**       | String  | Banner image URL (high resolution)                     |
| **member\_count**     | Integer | Total community members                                |
| **is\_nsfw**          | Boolean | NSFW flag for brand safety                             |
| **community\_topic**  | String  | Primary topic/category classification                  |
| **community\_tags**   | Array   | Trending hashtags in the community                     |
| **members\_facepile** | Array   | Avatar URLs of featured members                        |
| **community\_rules**  | Array   | Rules with `name` and `description` pairs              |
| **processor**        | String  | Apify actor URL                                        |
| **processed\_at**     | String  | ISO processing timestamp                               |

#### Example Output

```json
{
  "id": "1489422448332197888",
  "display_name": "Apple",
  "description": "A community for Apple fans, developers, and enthusiasts.",
  "creator": {
    "user_name": "theapplehub",
    "blue_verified": true,
    "verified": false
  },
  "join_policy": "Open",
  "created_at": "2022-02-04T02:15:58+00:00",
  "member_count": 596636,
  "is_nsfw": false,
  "community_topic": "Technology",
  "community_tags": ["Apple", "iPhone", "MacBook", "iOS"],
  "community_rules": [
    {
      "name": "Be respectful",
      "description": "Treat all members with courtesy."
    }
  ],
  "processor": "https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi",
  "processed_at": "2026-01-01T08:30:45+00:00"
}
```

***

### Integration Examples

#### Python Integration Example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run_input = {
    "community": [
        "https://x.com/i/communities/1489422448332197888",
        "1669501013441806336"
    ]
}

run = client.actor("Rh9WgmwbWqdEG2dUb").call(run_input=run_input)
dataset_items = client.dataset(run["defaultDatasetId"]).list_items().items

for item in dataset_items:
    print(f"{item['display_name']} | {item['member_count']} members | {item['join_policy']}")
```

#### JavaScript/Node.js Integration

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

const client = new ApifyClient({ token: "YOUR_API_TOKEN" });

const input = {
  community: [
    "https://x.com/i/communities/1489422448332197888",
    "1669501013441806336",
  ],
};

const run = await client.actor("Rh9WgmwbWqdEG2dUb").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

items.forEach((item) => {
  console.log(
    `${item.display_name} | ${item.member_count} members | Topic: ${item.community_topic}`,
  );
});
```

#### Actor ID for Platform Integration

```text
Rh9WgmwbWqdEG2dUb
```

#### Ⓜ️ [Make.com Setup:](https://www.make.com/en/register?pc=marketingme)

1. Login to **[Make.com (Get 1000 Free Credits)](https://www.make.com/en/register?pc=marketingme)**
2. Add module **"Run an Actor"**
3. Turn **'Map'** on - right side of the 'Actor\*'
4. Paste **Actor ID** - from above
5. Click the **'⟳ Refresh'** - left side of Map
6. **Input JSON\*** - Modify the parameters as needed
7. Set **"Run synchronously"** to **YES**
8. Add module **"Get Dataset Items"** - receive the result
9. In **Dataset ID\*** select **defaultDatasetId**

#### 🎱 [N8N.io Setup:](https://n8n.io/)

1. Add **'Run an Actor and get dataset'** - from the apify node
2. **Actor** → **By ID** → **Paste Actor ID** - from above
3. **Input JSON** - Modify the parameters as needed

#### JSON-LD Metadata

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Twitter Community Scraper",
  "description": "X/Twitter community data extraction API with 14+ fields, member analytics, and governance data",
  "applicationCategory": "Developer Tools",
  "operatingSystem": "Cloud",
  "url": "https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi",
  "dateModified": "2026-04-21",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  }
}
```

***

### Pricing & Cost Calculator

#### Compute-Based Pricing

This actor uses Apify's compute-based pricing model. You pay for runtime resources such as memory and execution time, not a per-community extraction fee.

| Resource    | Cost                 | Description                               |
| ----------- | -------------------- | ----------------------------------------- |
| **Compute** | Standard Apify rates | Pay only for CPU, memory, and proxy usage |

#### Cost Examples

**Small Batch** (10 communities):

- Compute: ~$0.01
- **Total**: ~$0.01

**Medium Batch** (50 communities):

- Compute: ~$0.05
- **Total**: ~$0.05

**Large Batch** (100 communities):

- Compute: ~$0.10
- **Total**: ~$0.10

***

### Use Cases & Applications

#### Competitive Intelligence & Market Research

**Community Landscape Mapping**
Extract member counts, topics, and creator profiles across competitor communities to benchmark brand presence and identify market positioning gaps.

**Audience Sizing**
Use `member_count` across niche communities to quantify addressable markets and prioritize community engagement strategies.

#### Brand Safety & Due Diligence

**NSFW Risk Assessment**
Check `is_nsfw` flags, join policies, and governance rules before brand association, sponsorship, or advertising placement.

**Creator Vetting**
Verify creator verification status (legacy + X Premium) and community governance quality before partnership investment.

#### Trend Detection & Content Strategy

**Hashtag Monitoring**
Extract `community_tags` for real-time topic intelligence, content calendar planning, and emerging trend identification.

**Growth Tracking**
Schedule recurring extractions to monitor `member_count` trends as leading indicators of community health and market interest.

***

### FAQ

#### What input formats does Twitter Community Scraper accept?

Both full URLs (`https://x.com/i/communities/1489422448332197888`) and direct numeric IDs (`1669501013441806336`). You can mix both in a single run.

#### Can I extract data from private or closed communities?

No. Only publicly visible communities are accessible. Private and invite-only communities require membership and return `not found` status.

#### What creator verification data is included?

The `creator` object includes `user_name`, `verified` (legacy blue checkmark), and `blue_verified` (X Premium) for comprehensive creator vetting.

#### How many communities can I process per run?

Up to 100 communities per run. Processing speed: ~5-10 seconds per community.

#### How is this actor priced?

This actor uses Apify's compute-based pricing model. You pay for standard platform runtime resources, not a per-community extraction fee.

#### Can I track community growth over time?

Yes. Schedule the actor to run daily or weekly and compare `member_count` values across runs to monitor growth trends.

***

### SEO Keywords & Search Terms

#### Primary Keywords

Twitter community scraper API, X community data extraction, Twitter community intelligence, X community analytics API, community member count extraction, social community data

#### Long-Tail Keywords

extract X Twitter community data API, Twitter community governance rules extraction, X community member analytics pipeline, Twitter community hashtag monitoring structured data, X community member intelligence structured JSON extraction, Twitter community scraper governance rules member roles API, bulk X community data extraction audience segmentation pipeline, X community analytics member profiling competitive intelligence

#### Industry Terms

community intelligence, audience sizing, brand safety, creator vetting, social listening, competitive intelligence, trend detection

***

### Trust & Certifications

- ✅ **Enterprise Ready** - Processing community data with 99.9% uptime
- ✅ **GDPR Compliant** - EU data protection standards
- ✅ **14+ Data Fields** - Comprehensive community intelligence
- ✅ **Regular Updates** - Continuous maintenance for platform changes

***

### Legal & Compliance

#### Data Rights & Usage

All data extracted by this actor originates from publicly accessible X/Twitter communities. Users are responsible for ensuring their use complies with applicable laws and X's Terms of Service.

#### Privacy Compliance

- **GDPR**: Compliant with EU General Data Protection Regulation. No personal data is stored beyond the extraction session.
- **CCPA**: Compliant with California Consumer Privacy Act requirements.

#### Platform Terms of Service

Users must review and comply with X's Terms of Service regarding data usage. This tool accesses only publicly available community information.

#### Enterprise Support

For enterprise licensing, custom integrations, or compliance inquiries:

- **Telegram**: [@AiAgentApi](https://t.me/AiAgentApi)

***

### Related Tools

#### Jobs & Hiring

- **[All Job Scraper](https://apify.com/agentx/all-jobs-scraper?fpr=aiagentapi)** - Multi-Platform Job Data Extraction API
- **[Indeed Hiring Scraper](https://apify.com/agentx/indeed-hiring-scraper?fpr=aiagentapi)** - Indeed Job Extraction & Market Intelligence
- **[LinkedIn Hiring Scraper](https://apify.com/agentx/linkedin-hiring-scraper?fpr=aiagentapi)** - LinkedIn Job Data Extraction & Talent Intelligence
- **[Glassdoor Hiring Scraper](https://apify.com/agentx/glassdoor-hiring-scraper?fpr=aiagentapi)** - Glassdoor Salary Intelligence & Company Reviews

#### LinkedIn

- **[LinkedIn Company Scraper](https://apify.com/agentx/linkedin-company-scraper?fpr=aiagentapi)** - LinkedIn Company Data Extraction & Firmographic Intelligence
- **[LinkedIn Profile Scraper](https://apify.com/agentx/linkedin-profile-scraper?fpr=aiagentapi)** - LinkedIn Profile Data Extraction & Professional Intelligence

#### Reddit

- **[Reddit Author Scraper](https://apify.com/agentx/reddit-author-scraper?fpr=aiagentapi)** - Reddit Author Profile Extraction & Activity Analysis
- **[Reddit Viral Scraper](https://apify.com/agentx/reddit-viral-scraper?fpr=aiagentapi)** - Reddit Viral Content Extraction & Trend Intelligence
- **[SubReddit Info Scraper](https://apify.com/agentx/subreddit-info-scraper?fpr=aiagentapi)** - Subreddit Metadata Extraction & Community Intelligence
- **[SubReddit Post Scraper](https://apify.com/agentx/subreddit-post-scraper?fpr=aiagentapi)** - Subreddit Post Extraction & Content Analysis
- **[Subreddit Member Scraper](https://apify.com/agentx/subreddit-member-scraper?fpr=aiagentapi)** - Subreddit Member Extraction & Audience Analysis

#### Telegram

- **[Telegram Chat Scraper](https://apify.com/agentx/telegram-chat-scraper?fpr=aiagentapi)** - Telegram Chat Message Extraction & Content Analysis
- **[Telegram Group Inviter](https://apify.com/agentx/telegram-group-inviter?fpr=aiagentapi)** - Telegram Group Member Invitation & Management
- **[Telegram Info Scraper](https://apify.com/agentx/telegram-info-scraper?fpr=aiagentapi)** - Telegram Entity Metadata Extraction & Intelligence
- **[Telegram Member Scraper](https://apify.com/agentx/telegram-member-scraper?fpr=aiagentapi)** - Telegram Group Member Extraction & Audience Data
- **[Telegram Private Group Scraper](https://apify.com/agentx/telegram-private-group-scraper?fpr=aiagentapi)** - Telegram Private Group Data Extraction & Analysis

#### Instagram

- **[Instagram Creator Scraper](https://apify.com/agentx/instagram-creator-scraper?fpr=aiagentapi)** - Instagram Profile Data Extraction & Creator Intelligence
- **[Instagram Post Reel Scraper](https://apify.com/agentx/instagram-post-reel-scraper?fpr=aiagentapi)** - Instagram Feed Post & Reel Extraction API
- **[Instagram Trending Scraper](https://apify.com/agentx/instagram-trending-scraper?fpr=aiagentapi)** - Instagram Explore Trending Content Extraction API

#### X / Twitter

- **[Twitter Community Scraper](https://apify.com/agentx/twitter-community-scraper?fpr=aiagentapi)** - Twitter Community Extraction & Member Analysis (This Tool)
- **[Twitter Info Scraper](https://apify.com/agentx/twitter-info-scraper?fpr=aiagentapi)** - X/Twitter Profile Extraction & User Intelligence

#### TikTok

- **[TikTok Creator Scraper](https://apify.com/agentx/tiktok-creator-scraper?fpr=aiagentapi)** - TikTok Creator Profile Extraction & Analytics
- **[TikTok Live Downloader](https://apify.com/agentx/tiktok-live-downloader?fpr=aiagentapi)** - TikTok Live Stream Recording & Download
- **[TikTok Transcript](https://apify.com/agentx/tiktok-transcript?fpr=aiagentapi)** - TikTok Video Transcription & Content Extraction

#### Video & Content

- **[All Video Scraper](https://apify.com/agentx/all-video-scraper?fpr=aiagentapi)** - Multi-Platform Video Download & Extraction (1000+ Sites)
- **[Video Caption Scraper](https://apify.com/agentx/video-caption-scraper?fpr=aiagentapi)** - Video Caption Extraction & Subtitle Data
- **[Video Transcript](https://apify.com/agentx/video-transcript?fpr=aiagentapi)** - Universal Video Transcription & AI Training Data
- **[Video to Social Post](https://apify.com/agentx/video-to-social-post?fpr=aiagentapi)** - Video Content Conversion & Social Media Repurposing
- **[Live Stream Transcript](https://apify.com/agentx/live-stream-transcript?fpr=aiagentapi)** - Live Stream Transcription & Real-Time Content Extraction

#### YouTube

- **[YouTube Transcript](https://apify.com/agentx/youtube-transcript?fpr=aiagentapi)** - YouTube Video Transcription & Speech Extraction
- **[YouTube Market Intelligence](https://apify.com/agentx/youtube-market-intelligence?fpr=aiagentapi)** - YouTube Channel & Video Metadata Extraction

#### Real Estate

- **[Realtor Property Scraper](https://apify.com/agentx/realtor-property-scraper?fpr=aiagentapi)** - Realtor.com Property Data Extraction & Market Intelligence
- **[Zillow For Sale Scraper](https://apify.com/agentx/zillow-for-sale-scraper?fpr=aiagentapi)** - Zillow Property Listing Extraction & Real Estate Data

#### Maps & Local

- **[Google Maps Store Scraper](https://apify.com/agentx/google-maps-store-scraper?fpr=aiagentapi)** - Google Maps Business Data Extraction & Local Intelligence

***

### Support & Community

- **👥 Community**: [@Apify\_Actor](https://t.me/Apify_Actor)
- **👤 Contact Team**: [@AiAgentApi](https://t.me/AiAgentApi)

***

**Last Updated:** April 21, 2026

# Actor input Schema

## `community` (type: `array`):

Enter 𝕏(twitter) community URL or ID

## Actor input object example

```json
{
  "community": [
    "https://x.com/i/communities/1992144505747931156",
    "1762494276565426592"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Open the full list of X community results with creator info, member count, banner image, hashtags, and rules.

# 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 = {
    "community": [
        "https://x.com/i/communities/1992144505747931156",
        "1762494276565426592"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("agentx/twitter-community-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 = { "community": [
        "https://x.com/i/communities/1992144505747931156",
        "1762494276565426592",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("agentx/twitter-community-scraper").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 '{
  "community": [
    "https://x.com/i/communities/1992144505747931156",
    "1762494276565426592"
  ]
}' |
apify call agentx/twitter-community-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "𝕏 (twitter) Community Scraper",
        "description": "X (Twitter) Communities API: creator profile, member analytics, hashtag velocity, and post engagement per community. JSON feed for community research, brand sentiment, and niche-audience-discovery pipelines.",
        "version": "0.0",
        "x-build-id": "NRhet7WQAwbAtQ4Qt"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/agentx~twitter-community-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-agentx-twitter-community-scraper",
                "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/agentx~twitter-community-scraper/runs": {
            "post": {
                "operationId": "runs-sync-agentx-twitter-community-scraper",
                "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/agentx~twitter-community-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-agentx-twitter-community-scraper",
                "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",
                "required": [
                    "community"
                ],
                "properties": {
                    "community": {
                        "title": "🐦 Community",
                        "minItems": 1,
                        "maxItems": 1000,
                        "type": "array",
                        "description": "Enter 𝕏(twitter) community URL or ID",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
