# X/Twitter Scraper — Fast & Cheap (`celebrated-quadraphonic/x-twitter-scraper-v3`) Actor

Scrape tweets, profiles, followers & following from X/Twitter. 5 modes × 40+ fields × 15 filters × multi-account rotation. $0.20/1K results — 50% cheaper than competitors.

- **URL**: https://apify.com/celebrated-quadraphonic/x-twitter-scraper-v3.md
- **Developed by:** [XiaoZhi DataTools](https://apify.com/celebrated-quadraphonic) (community)
- **Categories:** Social media, Developer tools, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## X/Twitter Scraper — Fast & Cheap

Scrape tweets, profiles, followers & following from X/Twitter. **5 modes × 40+ fields × 15 filters × multi-account rotation.**

Built on [Scweet](https://github.com/Altimis/Scweet) (1.5K stars, actively maintained) — uses Twitter's internal GraphQL API with TLS fingerprint matching. No official API needed.

### Why Choose This Scraper?

| | **This Scraper** | apidojo V2 (59K users) | kaitoeasyapi (15K users) | xquik (1K users) |
|--|---|---|---|---|
| **Price** | **$0.20/1K** | $0.40/1K | $0.25/1K | $0.15/1K |
| **Output fields** | **40+** | ~20 | ~25 | ~30 |
| **Date filter** | ✅ Works | ❌ Broken | ⚠️ UNIX only | ✅ Works |
| **Tweet type filter** | ✅ 6 options | ❌ No | ❌ No | ❌ No |
| **Multi-query** | ✅ One per line | ✅ Array | ✅ Array | ✅ Array |
| **Multi-account** | ✅ Auto rotation | ❌ No | ❌ No | ❌ No |
| **Default limit** | ✅ 100 | ❌ None ($55 bills) | ✅ 200 | ✅ 100 |
| **View count** | ✅ Yes | ❌ No | ❌ No | ❌ No |
| **Bookmark count** | ✅ Yes | ❌ No | ❌ No | ❌ No |
| **User metadata** | ✅ 15+ fields | ⚠️ Basic | ⚠️ Basic | ⚠️ Basic |

### 5 Scraping Modes

#### 1. 🔍 Search Tweets
Search tweets by keyword with 15+ filters. Supports Twitter advanced search operators.

#### 2. 📝 Profile Tweets
Get timeline tweets from specific users.

#### 3. 👥 Followers
Get follower lists for any public account.

#### 4. 👤 Following
Get following lists for any public account.

#### 5. ℹ️ User Info
Get detailed profile metadata (bio, followers, verified status, etc.)

### 40+ Output Fields Per Tweet

**Basic:** tweet_id, text, embedded_text, emojis, timestamp, tweet_url

**Engagement:** likes, retweets, replies, view_count, bookmark_count, quote_count

**Author:** username, display_name, user_id, user_followers, user_following, user_verified, user_blue_verified, user_description, user_location, user_statuses_count, user_profile_image

**Content:** image_links, media_count, media_types, video_urls, hashtags, user_mentions, urls

**Metadata:** lang, source, is_quote, is_reply, is_retweet, conversation_id, in_reply_to_tweet_id, in_reply_to_username, possibly_sensitive

**Search:** search_term (when tagging enabled)

### 15 Search Filters

| Filter | Type | Description |
|--------|------|-------------|
| `query` | textarea | Keywords or advanced operators. Multiple queries: one per line |
| `since` | date | Only tweets after YYYY-MM-DD |
| `until` | date | Only tweets before YYYY-MM-DD |
| `displayType` | select | Top, Latest, Photos, Videos |
| `tweetType` | select | all, originals_only, replies_only, retweets_only, exclude_replies, exclude_retweets |
| `lang` | text | ISO 639-1 language code (en, es, fr, ja, zh...) |
| `minLikes` | number | Minimum likes threshold |
| `minRetweets` | number | Minimum retweets threshold |
| `minReplies` | number | Minimum replies threshold |
| `hasImages` | checkbox | Only tweets with images |
| `hasVideos` | checkbox | Only tweets with videos |
| `hasLinks` | checkbox | Only tweets with URLs |
| `verifiedOnly` | checkbox | Only verified users |
| `blueVerifiedOnly` | checkbox | Only X Premium (Blue) subscribers |
| `includeSearchTerms` | checkbox | Tag results with which query found them |

### How to Get auth_token

1. Log in to [x.com](https://x.com) in your browser
2. Press **F12** → **Application** → **Cookies** → `https://x.com`
3. Copy the `auth_token` value (~40 char hex string)
4. Paste into the input field

> auth_token stays valid for weeks/months. Multiple tokens = higher rate limits via auto-rotation.

### Advanced Search Examples

````

## From a specific user

from:elonmusk

## AI tweets with 100+ likes, in English

AI min\_faves:100 lang:en

## Exclude retweets, images only

nature -filter:retweets filter:images

## Date range + language

python since:2025-01-01 until:2025-06-01 lang:en

## Multiple queries (one per line in input)

machine learning
deep learning
neural networks

````

### Pricing

- **$0.20 per 1,000 results** — 50% cheaper than apidojo ($0.40)
- Default `maxResults=100` → typical run costs **$0.02**
- No hidden fees, no surprise charges

### Technical Details

- Built on [Scweet](https://github.com/Altimis/Scweet) v5.3 (1.5K stars)
- Uses Twitter's internal GraphQL API with TLS fingerprint matching (`curl_cffi`)
- Automatic guest token management and rotation
- Multi-account support for higher rate limits
- Built-in deduplication (same tweet won't appear twice)
- Auto-fresh GraphQL query IDs via manifest scraping

### Limitations

- Requires `auth_token` from a logged-in X/Twitter session
- Rate limited by Twitter (mitigated by multi-account rotation)
- auth_token expires after weeks/months (needs refresh)
- Private/protected accounts cannot be scraped
- No conversation thread expansion (search results only)

# Actor input Schema

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

Search tweets, user timeline, followers, following, or profile info.
## `query` (type: `string`):

Keywords or Twitter advanced operators. Multiple queries: one per line. Example:\npython machine learning\ndeep learning\nneural networks
## `usernames` (type: `string`):

Without @. For profile/followers/following/user_info modes.
## `authTokens` (type: `string`):

X/Twitter auth_token cookies. F12 → Application → Cookies → x.com → auth_token. Multiple = auto rotation.
## `maxResults` (type: `integer`):

Maximum results. Default 100 ≈ $0.02/run.
## `maxEmptyPages` (type: `integer`):

Stop after this many consecutive empty pages. Lower = faster stop when results run out.
## `since` (type: `string`):

Only tweets after this date.
## `until` (type: `string`):

Only tweets before this date.
## `displayType` (type: `string`):

Top = most relevant, Latest = newest, Photos/Videos = media only.
## `tweetType` (type: `string`):

Filter by type: originals (no RT/reply), replies only, retweets only, etc.
## `lang` (type: `string`):

ISO 639-1: en, es, fr, de, ja, zh, ko, pt, ru, ar, hi, etc.
## `langs` (type: `string`):

Run separate queries for each language and merge results. Overrides single lang. Example: en\nja\nzh\nko
## `minLikes` (type: `integer`):

Min Likes
## `minRetweets` (type: `integer`):

Min Retweets
## `minReplies` (type: `integer`):

Min Replies
## `hasImages` (type: `boolean`):

Only tweets with images.
## `hasVideos` (type: `boolean`):

Only tweets with videos.
## `hasLinks` (type: `boolean`):

Only tweets with URLs.
## `hasMentions` (type: `boolean`):

Only tweets that mention other users.
## `hasHashtags` (type: `boolean`):

Only tweets with hashtags.
## `verifiedOnly` (type: `boolean`):

Only verified users (checkmark).
## `blueVerifiedOnly` (type: `boolean`):

Only X Premium (Blue) subscribers.
## `allWords` (type: `string`):

Comma or newline separated. Tweets must contain ALL of these words.
## `anyWords` (type: `string`):

Comma or newline separated. Tweets must contain at least ONE.
## `exactPhrases` (type: `string`):

One phrase per line. Tweets must contain this exact phrase.
## `excludeWords` (type: `string`):

Comma or newline separated. Exclude tweets containing these.
## `hashtagsAny` (type: `string`):

Comma or newline separated. Must contain at least one.
## `hashtagsExclude` (type: `string`):

Comma or newline separated.
## `fromUsers` (type: `string`):

Comma or newline separated usernames. Only tweets from these users.
## `toUsers` (type: `string`):

Only tweets directed to these users.
## `mentioningUsers` (type: `string`):

Only tweets that mention these users.
## `place` (type: `string`):

Filter by place name (e.g., 'New York', 'Tokyo', 'London').
## `geocode` (type: `string`):

Latitude,longitude,radius (e.g., '40.7128,-74.0060,10mi' or '35.6762,139.6503,50km').
## `near` (type: `string`):

Near a place name (e.g., 'San Francisco'). Use with 'Within'.
## `within` (type: `string`):

Distance from 'Near' location (e.g., '15mi' or '25km').
## `includeSearchTerms` (type: `boolean`):

Add search_term column when using multiple queries.
## `proxyUrl` (type: `string`):

http://user:pass@host:port

## Actor input object example

```json
{
  "mode": "search",
  "query": "python programming",
  "usernames": "",
  "maxResults": 100,
  "maxEmptyPages": 3,
  "since": "",
  "until": "",
  "displayType": "Top",
  "tweetType": "all",
  "lang": "",
  "langs": "",
  "minLikes": 0,
  "minRetweets": 0,
  "minReplies": 0,
  "hasImages": false,
  "hasVideos": false,
  "hasLinks": false,
  "hasMentions": false,
  "hasHashtags": false,
  "verifiedOnly": false,
  "blueVerifiedOnly": false,
  "allWords": "",
  "anyWords": "",
  "exactPhrases": "",
  "excludeWords": "",
  "hashtagsAny": "",
  "hashtagsExclude": "",
  "fromUsers": "",
  "toUsers": "",
  "mentioningUsers": "",
  "place": "",
  "geocode": "",
  "near": "",
  "within": "",
  "includeSearchTerms": false,
  "proxyUrl": ""
}
````

# 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 = {
    "mode": "search",
    "query": "python programming",
    "usernames": "",
    "authTokens": "",
    "maxResults": 100,
    "maxEmptyPages": 3,
    "since": "",
    "until": "",
    "displayType": "Top",
    "tweetType": "all",
    "lang": "",
    "langs": "",
    "minLikes": 0,
    "minRetweets": 0,
    "minReplies": 0,
    "hasImages": false,
    "hasVideos": false,
    "hasLinks": false,
    "hasMentions": false,
    "hasHashtags": false,
    "verifiedOnly": false,
    "blueVerifiedOnly": false,
    "allWords": "",
    "anyWords": "",
    "exactPhrases": "",
    "excludeWords": "",
    "hashtagsAny": "",
    "hashtagsExclude": "",
    "fromUsers": "",
    "toUsers": "",
    "mentioningUsers": "",
    "place": "",
    "geocode": "",
    "near": "",
    "within": "",
    "includeSearchTerms": false,
    "proxyUrl": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("celebrated-quadraphonic/x-twitter-scraper-v3").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 = {
    "mode": "search",
    "query": "python programming",
    "usernames": "",
    "authTokens": "",
    "maxResults": 100,
    "maxEmptyPages": 3,
    "since": "",
    "until": "",
    "displayType": "Top",
    "tweetType": "all",
    "lang": "",
    "langs": "",
    "minLikes": 0,
    "minRetweets": 0,
    "minReplies": 0,
    "hasImages": False,
    "hasVideos": False,
    "hasLinks": False,
    "hasMentions": False,
    "hasHashtags": False,
    "verifiedOnly": False,
    "blueVerifiedOnly": False,
    "allWords": "",
    "anyWords": "",
    "exactPhrases": "",
    "excludeWords": "",
    "hashtagsAny": "",
    "hashtagsExclude": "",
    "fromUsers": "",
    "toUsers": "",
    "mentioningUsers": "",
    "place": "",
    "geocode": "",
    "near": "",
    "within": "",
    "includeSearchTerms": False,
    "proxyUrl": "",
}

# Run the Actor and wait for it to finish
run = client.actor("celebrated-quadraphonic/x-twitter-scraper-v3").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 '{
  "mode": "search",
  "query": "python programming",
  "usernames": "",
  "authTokens": "",
  "maxResults": 100,
  "maxEmptyPages": 3,
  "since": "",
  "until": "",
  "displayType": "Top",
  "tweetType": "all",
  "lang": "",
  "langs": "",
  "minLikes": 0,
  "minRetweets": 0,
  "minReplies": 0,
  "hasImages": false,
  "hasVideos": false,
  "hasLinks": false,
  "hasMentions": false,
  "hasHashtags": false,
  "verifiedOnly": false,
  "blueVerifiedOnly": false,
  "allWords": "",
  "anyWords": "",
  "exactPhrases": "",
  "excludeWords": "",
  "hashtagsAny": "",
  "hashtagsExclude": "",
  "fromUsers": "",
  "toUsers": "",
  "mentioningUsers": "",
  "place": "",
  "geocode": "",
  "near": "",
  "within": "",
  "includeSearchTerms": false,
  "proxyUrl": ""
}' |
apify call celebrated-quadraphonic/x-twitter-scraper-v3 --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "X/Twitter Scraper — Fast & Cheap",
        "description": "Scrape tweets, profiles, followers & following from X/Twitter. 5 modes × 40+ fields × 15 filters × multi-account rotation. $0.20/1K results — 50% cheaper than competitors.",
        "version": "3.0",
        "x-build-id": "qdWrU6fyS8wmxwJ7v"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/celebrated-quadraphonic~x-twitter-scraper-v3/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-celebrated-quadraphonic-x-twitter-scraper-v3",
                "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/celebrated-quadraphonic~x-twitter-scraper-v3/runs": {
            "post": {
                "operationId": "runs-sync-celebrated-quadraphonic-x-twitter-scraper-v3",
                "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/celebrated-quadraphonic~x-twitter-scraper-v3/run-sync": {
            "post": {
                "operationId": "run-sync-celebrated-quadraphonic-x-twitter-scraper-v3",
                "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": [
                    "authTokens"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "profile",
                            "followers",
                            "following",
                            "user_info"
                        ],
                        "type": "string",
                        "description": "Search tweets, user timeline, followers, following, or profile info.",
                        "default": "search"
                    },
                    "query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Keywords or Twitter advanced operators. Multiple queries: one per line. Example:\\npython machine learning\\ndeep learning\\nneural networks",
                        "default": ""
                    },
                    "usernames": {
                        "title": "Usernames (one per line)",
                        "type": "string",
                        "description": "Without @. For profile/followers/following/user_info modes.",
                        "default": ""
                    },
                    "authTokens": {
                        "title": "Auth Tokens (one per line)",
                        "type": "string",
                        "description": "X/Twitter auth_token cookies. F12 → Application → Cookies → x.com → auth_token. Multiple = auto rotation."
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum results. Default 100 ≈ $0.02/run.",
                        "default": 100
                    },
                    "maxEmptyPages": {
                        "title": "Max Empty Pages",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Stop after this many consecutive empty pages. Lower = faster stop when results run out.",
                        "default": 3
                    },
                    "since": {
                        "title": "Since (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only tweets after this date.",
                        "default": ""
                    },
                    "until": {
                        "title": "Until (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only tweets before this date.",
                        "default": ""
                    },
                    "displayType": {
                        "title": "Sort Order",
                        "enum": [
                            "Top",
                            "Latest",
                            "Photos",
                            "Videos"
                        ],
                        "type": "string",
                        "description": "Top = most relevant, Latest = newest, Photos/Videos = media only.",
                        "default": "Top"
                    },
                    "tweetType": {
                        "title": "Tweet Type",
                        "enum": [
                            "all",
                            "originals_only",
                            "replies_only",
                            "retweets_only",
                            "exclude_replies",
                            "exclude_retweets"
                        ],
                        "type": "string",
                        "description": "Filter by type: originals (no RT/reply), replies only, retweets only, etc.",
                        "default": "all"
                    },
                    "lang": {
                        "title": "Language (single)",
                        "type": "string",
                        "description": "ISO 639-1: en, es, fr, de, ja, zh, ko, pt, ru, ar, hi, etc.",
                        "default": ""
                    },
                    "langs": {
                        "title": "Multi-Language (one per line)",
                        "type": "string",
                        "description": "Run separate queries for each language and merge results. Overrides single lang. Example: en\\nja\\nzh\\nko",
                        "default": ""
                    },
                    "minLikes": {
                        "title": "Min Likes",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Min Likes",
                        "default": 0
                    },
                    "minRetweets": {
                        "title": "Min Retweets",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Min Retweets",
                        "default": 0
                    },
                    "minReplies": {
                        "title": "Min Replies",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Min Replies",
                        "default": 0
                    },
                    "hasImages": {
                        "title": "Has Images",
                        "type": "boolean",
                        "description": "Only tweets with images.",
                        "default": false
                    },
                    "hasVideos": {
                        "title": "Has Videos",
                        "type": "boolean",
                        "description": "Only tweets with videos.",
                        "default": false
                    },
                    "hasLinks": {
                        "title": "Has Links",
                        "type": "boolean",
                        "description": "Only tweets with URLs.",
                        "default": false
                    },
                    "hasMentions": {
                        "title": "Has @Mentions",
                        "type": "boolean",
                        "description": "Only tweets that mention other users.",
                        "default": false
                    },
                    "hasHashtags": {
                        "title": "Has #Hashtags",
                        "type": "boolean",
                        "description": "Only tweets with hashtags.",
                        "default": false
                    },
                    "verifiedOnly": {
                        "title": "Verified Only",
                        "type": "boolean",
                        "description": "Only verified users (checkmark).",
                        "default": false
                    },
                    "blueVerifiedOnly": {
                        "title": "X Premium Only",
                        "type": "boolean",
                        "description": "Only X Premium (Blue) subscribers.",
                        "default": false
                    },
                    "allWords": {
                        "title": "Must Include All Words",
                        "type": "string",
                        "description": "Comma or newline separated. Tweets must contain ALL of these words.",
                        "default": ""
                    },
                    "anyWords": {
                        "title": "Include Any Word",
                        "type": "string",
                        "description": "Comma or newline separated. Tweets must contain at least ONE.",
                        "default": ""
                    },
                    "exactPhrases": {
                        "title": "Exact Phrases",
                        "type": "string",
                        "description": "One phrase per line. Tweets must contain this exact phrase.",
                        "default": ""
                    },
                    "excludeWords": {
                        "title": "Exclude Words",
                        "type": "string",
                        "description": "Comma or newline separated. Exclude tweets containing these.",
                        "default": ""
                    },
                    "hashtagsAny": {
                        "title": "Include Hashtags",
                        "type": "string",
                        "description": "Comma or newline separated. Must contain at least one.",
                        "default": ""
                    },
                    "hashtagsExclude": {
                        "title": "Exclude Hashtags",
                        "type": "string",
                        "description": "Comma or newline separated.",
                        "default": ""
                    },
                    "fromUsers": {
                        "title": "From Users",
                        "type": "string",
                        "description": "Comma or newline separated usernames. Only tweets from these users.",
                        "default": ""
                    },
                    "toUsers": {
                        "title": "To Users",
                        "type": "string",
                        "description": "Only tweets directed to these users.",
                        "default": ""
                    },
                    "mentioningUsers": {
                        "title": "Mentioning Users",
                        "type": "string",
                        "description": "Only tweets that mention these users.",
                        "default": ""
                    },
                    "place": {
                        "title": "Place",
                        "type": "string",
                        "description": "Filter by place name (e.g., 'New York', 'Tokyo', 'London').",
                        "default": ""
                    },
                    "geocode": {
                        "title": "Geocode",
                        "type": "string",
                        "description": "Latitude,longitude,radius (e.g., '40.7128,-74.0060,10mi' or '35.6762,139.6503,50km').",
                        "default": ""
                    },
                    "near": {
                        "title": "Near Location",
                        "type": "string",
                        "description": "Near a place name (e.g., 'San Francisco'). Use with 'Within'.",
                        "default": ""
                    },
                    "within": {
                        "title": "Within Distance",
                        "type": "string",
                        "description": "Distance from 'Near' location (e.g., '15mi' or '25km').",
                        "default": ""
                    },
                    "includeSearchTerms": {
                        "title": "Tag Results with Query",
                        "type": "boolean",
                        "description": "Add search_term column when using multiple queries.",
                        "default": false
                    },
                    "proxyUrl": {
                        "title": "Proxy (optional)",
                        "type": "string",
                        "description": "http://user:pass@host:port",
                        "default": ""
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
