# Twitter/ X Lists Scraper (`mikolabs/twitter-x-lists-scraper`) Actor

Extract Twitter/X list data including list details, members, subscribers, and timeline tweets. Search for curated lists by keyword. Ideal for audience research, influencer mapping, lead generation, and competitive analysis without needing an official API key.

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

## Pricing

from $0.10 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 / X Lists Scraper: Members, Subscribers, Tweets & Search

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange?style=flat-square\&logo=apify)](https://apify.com)
[![Twitter/X Compatible](https://img.shields.io/badge/Twitter%2FX-Compatible-blue?style=flat-square\&logo=x)](https://x.com)
[![Proxy Support](https://img.shields.io/badge/Residential%20Proxies-Built--in-green?style=flat-square)](#proxy--anti-blocking)
[![No API Key Required](https://img.shields.io/badge/API%20Key-Not%20Required-success?style=flat-square)](#why-use-this-actor)

Extract comprehensive data from **Twitter / X Lists** with zero hassle. Collect list details, scrape member profiles with full bios, track list subscribers, extract timeline tweets with real-time engagement metrics, and discover curated lists by keywords.

**No Twitter developer account, API keys, or cookies required.**

***

### 🌟 Key Features

- 🔍 **Search Lists by Keyword**: Discover niche public lists across any industry, topic, or location.
- 👥 **Scrape List Members**: Extract all members of any list with full profile metadata (followers, following, tweets, bio, verified status, avatar CDN URL).
- 🔔 **Extract List Subscribers**: Identify and extract high-intent audience members who follow or subscribe to specific lists.
- 💬 **Extract List Timeline Tweets**: Collect chronological tweets posted by members of any list with full engagement metrics (likes, retweets, replies, views, media attachments).
- ℹ️ **Get List Details & Metadata**: Retrieve owner details, list name, description, subscriber counts, member counts, creation date, and banner URLs.
- 🛡️ **Built-in Residential Proxy Support**: Pre-configured with Apify residential proxies for reliable, anti-ban data extraction.
- 📊 **Structured Dataset Output**: Export seamlessly to **JSON, CSV, Excel, XML, HTML, or RSS**.

***

### 🎯 Common Use Cases

| Use Case | Description |
| :--- | :--- |
| **Lead Generation & Sales** | Scrape members of curated industry lists (e.g., "SaaS Founders", "AI Engineers", "Venture Capitalists") to build targeted B2B prospect lists. |
| **Influencer & Creator Discovery** | Find key opinion leaders in any niche and analyze their follower metrics and activity levels. |
| **Audience & Market Research** | Analyze subscribers of specific topic lists to identify target demographics and user interests. |
| **Content & Competitor Monitoring** | Track tweets from competitor lists or industry peers in real time with engagement metrics. |
| **AI / Machine Learning Datasets** | Gather clean, topic-specific conversational data and tweet datasets for LLM fine-tuning or sentiment analysis. |

***

### ⚙️ Supported Scraping Modes

| Mode | Description | Required Parameter | Key Output Fields |
| :--- | :--- | :--- | :--- |
| **`Get List Detail`** | Fetches metadata and statistics for a specific list | **List ID** (`id`) | Name, description, member count, subscriber count, owner details, banner |
| **`Get List Members`** | Extracts all accounts added as members to a list | **List ID** (`id`) | Full user profile: username, name, bio, followers, following, verified, avatar |
| **`Get List Subscribers`** | Extracts all users following/subscribed to a list | **List ID** (`id`) | Full user profile: username, name, bio, followers, following, verified, avatar |
| **`Get List Tweets`** | Scrapes tweets posted by list members in chronological order | **List ID** (`id`) | Tweet text, timestamp, likes, retweets, replies, views, media links, author info |
| **`Search Lists`** | Searches public lists by keyword or topic | **Search Query** (`query`) | List ID, list name, description, member count, subscriber count, creator |

***

### 📌 How to Find a Twitter / X List ID

To scrape a specific list, you need its numeric **List ID**.

1. Open Twitter / X in your browser and navigate to any List page (e.g., `https://x.com/i/lists/1736495155002106192`).
2. Copy the numeric string at the end of the URL:

```text
https://x.com/i/lists/1736495155002106192
                       ^^^^^^^^^^^^^^^^^^^
                       This is the List ID
```

***

### 📥 Input Configuration

#### Input Parameters Reference

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :---: | :---: | :--- |
| `mode` | String | **Yes** | `"Get List Detail"` | The extraction mode (`"Get List Detail"`, `"Get List Members"`, `"Get List Subscribers"`, `"Get List Tweets"`, `"Search Lists"`). |
| `id` | String | *Conditional* | `"224830914"` | The numeric List ID from the URL. Required for all list-specific modes. |
| `query` | String | *Conditional* | `"tech"` | Search keyword or topic phrase. Required for `"Search Lists"` mode. |
| `max_results` | Integer | No | `50` | Maximum number of records to retrieve (1 to 100,000). Free tier is capped at 30 items. |
| `useResidentialProxy` | Boolean | No | `true` | Enable Apify Residential Proxies for resilient anti-blocking extraction. |
| `proxyConfiguration` | Object | No | `{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }` | Apify proxy group settings. |

***

### 📋 Request & Response Examples

#### 1. Get List Detail

Extract complete metadata, statistics, and owner profile for a specific list.

##### Input:

```json
{
  "mode": "Get List Detail",
  "id": "1736495155002106192"
}
```

##### Output (Dataset Item):

```json
{
  "id": "1736495155002106192",
  "url": "https://x.com/i/lists/1736495155002106192",
  "name": "Tech Leaders & Visionaries",
  "description": "Curated list of leading executives, founders, and engineers in high-tech.",
  "member_count": 312,
  "subscriber_count": 1840,
  "mode": "Public",
  "created_at": "2026-08-22T19:25:00+00:00",
  "username": "tech_curator",
  "user_id": "tech_curator",
  "banner": "https://pbs.twimg.com/profile_banners/12345678/1680000000/1500x500",
  "owner": {
    "id": "tech_curator",
    "username": "tech_curator",
    "name": "Tech Curator",
    "url": "https://x.com/tech_curator"
  }
}
```

***

#### 2. Get List Members

Extract all accounts belonging to a curated list.

##### Input:

```json
{
  "mode": "Get List Members",
  "id": "1736495155002106192",
  "max_results": 100
}
```

##### Output (Dataset Items):

```json
[
  {
    "id": "sama",
    "username": "sama",
    "name": "Sam Altman",
    "description": "building OpenAI",
    "followers_count": 3200000,
    "following_count": 680,
    "tweet_count": 14200,
    "verified": true,
    "avatar": "https://pbs.twimg.com/profile_images/1647427845620948992/X6A9kQ_4_normal.jpg",
    "url": "https://x.com/sama"
  },
  {
    "id": "karpathy",
    "username": "karpathy",
    "name": "Andrej Karpathy",
    "description": "Building Eureka Labs. Previously Director of AI @ Tesla, OpenAI founding member.",
    "followers_count": 1100000,
    "following_count": 210,
    "tweet_count": 5600,
    "verified": true,
    "avatar": "https://pbs.twimg.com/profile_images/1794883448496734208/gWqD3y6m_normal.jpg",
    "url": "https://x.com/karpathy"
  }
]
```

***

#### 3. Get List Subscribers

Extract the users who follow/subscribe to a curated list.

##### Input:

```json
{
  "mode": "Get List Subscribers",
  "id": "1736495155002106192",
  "max_results": 100
}
```

##### Output (Dataset Items):

```json
[
  {
    "id": "ai_researcher_01",
    "username": "ai_researcher_01",
    "name": "Alex Morgan",
    "description": "PhD candidate studying deep learning architectures and LLMs.",
    "followers_count": 4800,
    "following_count": 920,
    "tweet_count": 1250,
    "verified": false,
    "avatar": "https://pbs.twimg.com/profile_images/1678912345678901234/aBcDeFg_normal.jpg",
    "url": "https://x.com/ai_researcher_01"
  }
]
```

***

#### 4. Get List Tweets

Extract the latest timeline posts from list members in chronological order.

##### Input:

```json
{
  "mode": "Get List Tweets",
  "id": "1736495155002106192",
  "max_results": 200
}
```

##### Output (Dataset Items):

```json
[
  {
    "id": "1826048192847192834",
    "url": "https://x.com/karpathy/status/1826048192847192834",
    "text": "Excited to share our latest exploration into modular AI architectures. Full paper and weights linked below!",
    "created_at": "2026-08-21T16:36:00+00:00",
    "lang": "en",
    "favorite_count": 3420,
    "retweet_count": 612,
    "reply_count": 145,
    "view_count": 284000,
    "user_id": "karpathy",
    "username": "karpathy",
    "name": "Andrej Karpathy",
    "avatar": "https://pbs.twimg.com/profile_images/1794883448496734208/gWqD3y6m_normal.jpg",
    "verified": true,
    "media": [
      "https://pbs.twimg.com/media/GU91823a0AAk4Lz.jpg"
    ]
  }
]
```

***

#### 5. Search Lists

Search for public curated lists by topic or industry.

##### Input:

```json
{
  "mode": "Search Lists",
  "query": "artificial intelligence",
  "max_results": 50
}
```

##### Output (Dataset Items):

```json
[
  {
    "id": "1482019482710491823",
    "url": "https://x.com/i/lists/1482019482710491823",
    "name": "Top AI Researchers & ML Engineers",
    "description": "The best AI researchers, professors, and engineers sharing updates daily.",
    "member_count": 480,
    "subscriber_count": 5210,
    "username": "ml_weekly",
    "user_id": "ml_weekly",
    "banner": "https://pbs.twimg.com/profile_banners/987654321/1650000000/1500x500"
  }
]
```

***

### ⚡ Free Tier vs Paid Plans

| Plan | Results Limit | Speed & Concurrency | Support |
| :--- | :---: | :---: | :---: |
| **Free Plan / Trial** | Up to **30 items** per run | Standard | Community support |
| **Paying Subscribers** | **Unlimited** (up to 100,000+ per run) | Maximum concurrency & priority routing | Dedicated priority support |

> 💡 **Tip:** Upgrade your Apify subscription to remove the 30-result trial cap and unlock bulk data extraction.

***

### 🔌 API & Integrations

You can easily trigger and integrate this scraper into your existing pipelines using Python, JavaScript/Node.js, or direct HTTP API requests.

#### Python Integration (via `apify-client`)

```python
from apify_client import ApifyClient

## Initialize client with your Apify API Token
client = ApifyClient("YOUR_APIFY_TOKEN")

## Prepare input configuration
run_input = {
    "mode": "Get List Members",
    "id": "1736495155002106192",
    "max_results": 200,
    "useResidentialProxy": True
}

## Run the Actor and wait for completion
run = client.actor("0xrish/god-x-list-extractor").call(run_input=run_input)

## Fetch all scraped items from the dataset
dataset_items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in dataset_items:
    print(f"@{item.get('username')} - {item.get('name')} ({item.get('followers_count')} followers)")
```

#### JavaScript / Node.js Integration (via `apify-client`)

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

const client = new ApifyClient({
    token: 'YOUR_APIFY_TOKEN',
});

const input = {
    mode: 'Get List Tweets',
    id: '1736495155002106192',
    max_results: 100,
    useResidentialProxy: true,
};

const run = await client.actor('0xrish/god-x-list-extractor').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Scraped ${items.length} tweets from list timeline.`);
```

#### No-Code & Workflow Automation

- **Make.com / Zapier**: Connect dataset runs directly to Google Sheets, Notion, Airtable, or CRM tools (HubSpot, Salesforce).
- **Webhooks**: Configure Apify webhooks to trigger downstream processing upon run completion.
- **Direct Export**: Download dataset results immediately in CSV, Excel, or JSON via the Apify Console.

***

### ❓ Frequently Asked Questions (FAQ)

##### Do I need a Twitter / X account or API token?

No. The scraper runs independently and does not require an X login, cookies, or Twitter Developer API keys.

##### Can I scrape Private lists?

No. Only public Twitter / X lists are accessible. If a list is private or deleted, the scraper will return an empty status with a descriptive reason.

##### How do I handle large extractions (10,000+ members/tweets)?

Simply set `max_results` to your desired count (e.g., `10000`). The scraper automatically handles pagination cursors and token management. Ensure you have an active Apify paid subscription for runs exceeding 30 items.

##### Are media attachments and avatar links permanent?

Yes! All avatars, banners, and media images are automatically resolved to Twitter's official CDN URLs (`pbs.twimg.com`).

***

### 🤝 Support & Feature Requests

Encountered an issue or need a custom feature?

- Submit feedback via the **Issues** tab on the Apify Actor page.
- Need high-volume custom scraping solutions? Reach out via Apify support.

# Actor input Schema

## `mode` (type: `string`):

Select the type of list data to scrape. Each mode requires different input parameters.

## `id` (type: `string`):

The numeric List ID from the URL. From https://x.com/i/lists/<b>1234567890</b>, enter <b>1234567890</b>. Required for list-specific modes.

## `query` (type: `string`):

Keywords to search for lists. Example: <b>tech leaders</b> or <b>crypto influencers</b>. Required for 'Search Lists' mode.

## `max_results` (type: `integer`):

Maximum number of items to return. Free plan users are capped at 30 items max; paying subscribers have unlimited extraction. Default: 50.

## `useResidentialProxy` (type: `boolean`):

Enable Apify residential proxies for resilient and unblocked scraping.

## `proxyConfiguration` (type: `object`):

Apify residential proxy settings. Enabled by default for reliable extraction.

## Actor input object example

```json
{
  "mode": "Search Lists",
  "query": "tech",
  "max_results": 50,
  "useResidentialProxy": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

All scraped data stored in the default dataset

# 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 = {
    "id": "",
    "query": "tech",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mikolabs/twitter-x-lists-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 = {
    "id": "",
    "query": "tech",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mikolabs/twitter-x-lists-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "id": "",
  "query": "tech",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call mikolabs/twitter-x-lists-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mikolabs/twitter-x-lists-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1Dvo2r5KexaLLblV2/builds/G7PlckDqaieovxQ85/openapi.json
