# Fast Twitter & X Data Extractor | API Alternative (`fastcrawler/tweet-fast-scraper`) Actor

Extract X (Twitter) data efficiently and affordably. This cutting-edge scraper bypasses limitations to help you mine tweets, hashtags, and threads. A highly cost-effective data extractor for developers and businesses. 1,000 tweets cost just $0.01.

- **URL**: https://apify.com/fastcrawler/tweet-fast-scraper.md
- **Developed by:** [fastcrawler](https://apify.com/fastcrawler) (community)
- **Categories:** AI, Social media, News
- **Stats:** 106 total users, 1 monthly users, 66.7% runs succeeded, 8 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$9.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## 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 & Data Extractor | Fast & Affordable API Alternative

Meet the ultimate X/Twitter scraper you'll ever need. Extract tweets, user profiles, and trends at lightning speed. 

At just **$0.01 per 1,000 tweets**, this highly cost-effective tool serves as the perfect Twitter API alternative. Whether you are a researcher analyzing comprehensive datasets or a business monitoring customer sentiment, this scraper delivers structured data (JSON/CSV) with unmatched efficiency.

#### ✨ Key Features
- ⚡️ **Ultra-Fast Speed:** Capable of scraping up to 100 tweets per second.
- 🎯 **Advanced Search & Filtering:** Full support for Twitter's advanced search (by keywords, dates, engagement metrics, media types, etc.).
- 🔄 **Smart Automation:** Seamlessly handles multi-cookie rotation to bypass limits and ensure continuous data extraction.
- 📊 **Flexible Export:** Export your results ready-to-use in JSON, CSV, XML, or Excel formats.

#### 💼 Use Cases
- **Market Research & Sentiment Analysis:** Track brand mentions and public opinion.
- **Competitor Monitoring:** Keep an eye on competitor activities and audience engagement.
- **Lead Generation:** Find users interacting with specific topics or hashtags.
- **Academic Research:** Gather large-scale historical data for sociological or linguistic studies.

---

### 🛠 Input Parameters

| Field | Type | Description |
|---|---|---|
| Start URLs | array | Twitter (X) URLs. Paste the URLs to get results immediately. |
| Start Time | string | Specify the datetime (`yyyy-MM-dd_HH:mm:ss_UTC`). Returns tweets sent after the given date. |
| End Time | string | Specify the datetime (`yyyy-MM-dd_HH:mm:ss_UTC`). Returns tweets sent before the given date. |
| Search Terms | array | Search terms for X/Twitter. Supports advanced syntax (e.g., `from:nasa until:2024-10-08_23:59:59_UTC since:2024-10-08_00:00:00_UTC -filter:replies`). Refer to [this documentation](https://github.com/igorbrigadir/twitter-advanced-search). |
| Cookies | array | Used to authorize the actor. Input multiple cookies; it will automatically switch to another when a rate limit is hit. |
| Conversation IDs | array | Fetch tweets that are part of a specific thread (direct and indirect replies). |
| Sort By | string | Sort search results by the given option (e.g., Latest, Top). |
| Max Items | int | Maximum number of items you want in the output. |
| Min Retweets | int | Filter tweets with at least this number of retweets. |
| Min Likes | int | Filter tweets with at least this number of likes. |
| Min Replies | int | Filter tweets with at least this number of replies. |
| Only Verified | boolean | If true, returns tweets only from verified users. |
| Only Twitter Blue | boolean | If true, returns tweets only from Twitter Blue subscribers. |
| Only Image/Video | boolean | If true, filters for tweets containing images or videos respectively. |
| Only Quote/Reply | boolean | If true, filters for quote tweets or replies respectively. |

---

### 💻 Output Example

The actor outputs highly structured data. Here is a truncated example:

```json
{
  "type": "tweet",
  "id": "1728108619189874825",
  "url": "[https://x.com/elonmusk/status/1728108619189874825](https://x.com/elonmusk/status/1728108619189874825)",
  "twitterUrl": "[https://twitter.com/elonmusk/status/1728108619189874825](https://twitter.com/elonmusk/status/1728108619189874825)",
  "text": "More than 10 per human on average",
  "retweetCount": 11311,
  "replyCount": 6526,
  "likeCount": 104121,
  "quoteCount": 2915,
  "viewCount": 291500,
  "createdAt": "Fri Nov 24 17:49:36 +0000 2023",
  "lang": "en",
  "isReply": false,
  "author": {
    "type": "user",
    "userName": "elonmusk",
    "name": "Elon Musk",
    "isVerified": true,
    "followers": 172669889,
    "following": 538
  }
}

````

*(Note: The actual output includes much more detailed metadata such as full media arrays, nested quotes, and complete user profiles.)*

***

### 💰 Cost Analysis

***

### 💡 Related Scrapers

Expand your data extraction arsenal with our other powerful tools:

- [Tweet(X) Fast\&Cheapest Scraper | $0.35/1K | Pay-Per Result](https://apify.com/fastcrawler/tweet-x-fast-cheapest-scraper-0-35-1k-pay-per-result-2025)
- [Twitter Reply Scraper | $0.4/1K Tweets | Pay-Per Result](https://apify.com/fastcrawler/twitter-reply-scraper-0-4-1k-tweets-pay-per-result-2025)
- [Twitter KOL Discovery: Find Influencers Fast | $0.5/1k](https://apify.com/fastcrawler/twitter-kol-discovery-find-influencers-fast-0-5-1k-2025)
- [View all other useful scrapers](https://apify.com/fastcrawler)

***

### 📞 Contact & Custom Feature Requests

Need custom features or enterprise-level support? We offer advanced solutions including:

- Second-level tweet monitoring
- Real-time username change tracking
- Real-time follow/unfollow activity monitoring

Feel free to reach out to me directly:
✉️ **Email:** fastcrawler9@gmail.com
💬 **Telegram:** [Join here](https://t.me/+MUMR3PKOoVVjNzE9)
👾 **Discord:** [Join our server](https://discord.gg/s4jyupzaWu)

# Actor input Schema

## `startUrls` (type: `array`):

Twitter (X) URLs. Paste the URLs and get the results immediately.

## `startTime` (type: `string`):

Specify the datetime (yyyy-MM-dd\_HH:mm:ss\_UTC，2024-10-20\_00:00:00\_UTC),Returns tweets sent after the given date.

## `endTime` (type: `string`):

Specify the datetime (yyyy-MM-dd\_HH:mm:ss\_UTC，2024-10-20\_23:59:59\_UTC),Returns tweets sent before the given date.

## `searchTerms` (type: `array`):

Search terms you want to search from Twitter (X). Refer to https://github.com/igorbrigadir/twitter-advanced-search. eg: from:elonmusk until:2024-10-08\_23:59:59\_UTC since:2024-10-08\_00:00:00\_UTC -filter:replies

## `cookies` (type: `array`):

Cookies are used to authorize the actor with twitter

You can input multiple cookies, and when one cookie rate limit is set, it will automatically switch to another cookie to continue to capture data.

Follow these steps to get the cookies:

1. Install [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) chrome extension
2. Login to your twitter account
3. Click on the extension and Export As 'Headers String' and export the twitter cookies
4. Paste the copied contents here.

[how-to-get-twitter-cookie](https://1-usd-promotion.com/how-to-get-twitter-cookie)

## `nextCursor` (type: `string`):

Cursor value to resume scraping from,You can get it from the last record in the returned data

## `conversationIds` (type: `array`):

Conversation IDs that you want to search on Twitter (X), Tweets that are part of a thread (direct replies and other replies)

## `sortBy` (type: `string`):

Sorts search results by the given option.

## `maxItems` (type: `integer`):

Maximum number of items that you want as output.

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

Returns tweets with at least the given number of retweets.

## `minLikes` (type: `integer`):

Returns tweets with at least the given number of Likes.

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

Returns tweets with at least the given number of replies.

## `onlyVerifiedUsers` (type: `boolean`):

If checked then returns tweets by users who are verified.

## `onlyBuleVerifiedUsers` (type: `boolean`):

If checked then returns tweets by users who are Twitter Blue subscribers.

## `onlyImage` (type: `boolean`):

If checked then returns tweets that contain images.

## `onlyVideo` (type: `boolean`):

If checked then returns tweets that contain videos.

## `onlyQuote` (type: `boolean`):

If checked then returns tweets that are quotes.

## `onlyReply` (type: `boolean`):

If checked then returns tweets that are replies.

## Actor input object example

```json
{
  "searchTerms": [
    "from:elonmusk"
  ],
  "cookies": [
    "auth_token=304c9c4d0e13e6ccf682dfac3bdf213388b1f070;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1740811811087%2C%2201955075-4108-7ed6-92c0-21fe0dbf9f30%22%2C1740811616520%5D%7D;guest_id=v1%3A174230154202102158;ads_prefs=HBERAAA=;twid=u%3D1479073844589895680;auth_multi=1879891535053111296:feedf85e010b01c51d4e2a480cc783e83fa11ba1|1882133993115803648:b07bdae6b633c8f166f12369ba017c4916351cef|1881370916053270529:7561263540490652212f31b251f3a87e33d4aa9c;night_mode=2;__cf_bm=W4PqKoMtfTHfVf3J5vHyFVGH4O.UFLwELn5PZ5m95R4-1742300937-1.0.1.1-2tGbjg60z.6aT_1TcPfQy3tE7GmOuC21MJ1OcBdR5XP0cOMxdexOC7wUd_hKxHvD7vPDwJkCpOUpELVN7_LOwoRDi13IuyGvDluN74ajWKQ;ct0=1b3473505eed25605c2dc8c6802e3ad3cc792a97846f496481f55d6970390c6aba49dd40e8f7f96a3c902e328c1e8461e89d7429fdac2e61a65fdbd5f92f9716b23d1c730d1ca30df28c6eaedd25f54c;guest_id_ads=v1%3A174230154202102158;guest_id_marketing=v1%3A174230154202102158;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="
  ],
  "sortBy": "Latest",
  "maxItems": 100,
  "minRetweets": 0,
  "minLikes": 0,
  "minReplies": 0
}
```

# 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 = {
    "searchTerms": [
        "from:elonmusk"
    ],
    "cookies": [
        "auth_token=304c9c4d0e13e6ccf682dfac3bdf213388b1f070;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1740811811087%2C%2201955075-4108-7ed6-92c0-21fe0dbf9f30%22%2C1740811616520%5D%7D;guest_id=v1%3A174230154202102158;ads_prefs=HBERAAA=;twid=u%3D1479073844589895680;auth_multi=1879891535053111296:feedf85e010b01c51d4e2a480cc783e83fa11ba1|1882133993115803648:b07bdae6b633c8f166f12369ba017c4916351cef|1881370916053270529:7561263540490652212f31b251f3a87e33d4aa9c;night_mode=2;__cf_bm=W4PqKoMtfTHfVf3J5vHyFVGH4O.UFLwELn5PZ5m95R4-1742300937-1.0.1.1-2tGbjg60z.6aT_1TcPfQy3tE7GmOuC21MJ1OcBdR5XP0cOMxdexOC7wUd_hKxHvD7vPDwJkCpOUpELVN7_LOwoRDi13IuyGvDluN74ajWKQ;ct0=1b3473505eed25605c2dc8c6802e3ad3cc792a97846f496481f55d6970390c6aba49dd40e8f7f96a3c902e328c1e8461e89d7429fdac2e61a65fdbd5f92f9716b23d1c730d1ca30df28c6eaedd25f54c;guest_id_ads=v1%3A174230154202102158;guest_id_marketing=v1%3A174230154202102158;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="
    ],
    "nextCursor": "",
    "sortBy": "Latest",
    "onlyVerifiedUsers": false,
    "onlyBuleVerifiedUsers": false,
    "onlyImage": false,
    "onlyVideo": false,
    "onlyQuote": false,
    "onlyReply": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastcrawler/tweet-fast-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 = {
    "searchTerms": ["from:elonmusk"],
    "cookies": ["auth_token=304c9c4d0e13e6ccf682dfac3bdf213388b1f070;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1740811811087%2C%2201955075-4108-7ed6-92c0-21fe0dbf9f30%22%2C1740811616520%5D%7D;guest_id=v1%3A174230154202102158;ads_prefs=HBERAAA=;twid=u%3D1479073844589895680;auth_multi=1879891535053111296:feedf85e010b01c51d4e2a480cc783e83fa11ba1|1882133993115803648:b07bdae6b633c8f166f12369ba017c4916351cef|1881370916053270529:7561263540490652212f31b251f3a87e33d4aa9c;night_mode=2;__cf_bm=W4PqKoMtfTHfVf3J5vHyFVGH4O.UFLwELn5PZ5m95R4-1742300937-1.0.1.1-2tGbjg60z.6aT_1TcPfQy3tE7GmOuC21MJ1OcBdR5XP0cOMxdexOC7wUd_hKxHvD7vPDwJkCpOUpELVN7_LOwoRDi13IuyGvDluN74ajWKQ;ct0=1b3473505eed25605c2dc8c6802e3ad3cc792a97846f496481f55d6970390c6aba49dd40e8f7f96a3c902e328c1e8461e89d7429fdac2e61a65fdbd5f92f9716b23d1c730d1ca30df28c6eaedd25f54c;guest_id_ads=v1%3A174230154202102158;guest_id_marketing=v1%3A174230154202102158;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="],
    "nextCursor": "",
    "sortBy": "Latest",
    "onlyVerifiedUsers": False,
    "onlyBuleVerifiedUsers": False,
    "onlyImage": False,
    "onlyVideo": False,
    "onlyQuote": False,
    "onlyReply": False,
}

# Run the Actor and wait for it to finish
run = client.actor("fastcrawler/tweet-fast-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 '{
  "searchTerms": [
    "from:elonmusk"
  ],
  "cookies": [
    "auth_token=304c9c4d0e13e6ccf682dfac3bdf213388b1f070;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1740811811087%2C%2201955075-4108-7ed6-92c0-21fe0dbf9f30%22%2C1740811616520%5D%7D;guest_id=v1%3A174230154202102158;ads_prefs=HBERAAA=;twid=u%3D1479073844589895680;auth_multi=1879891535053111296:feedf85e010b01c51d4e2a480cc783e83fa11ba1|1882133993115803648:b07bdae6b633c8f166f12369ba017c4916351cef|1881370916053270529:7561263540490652212f31b251f3a87e33d4aa9c;night_mode=2;__cf_bm=W4PqKoMtfTHfVf3J5vHyFVGH4O.UFLwELn5PZ5m95R4-1742300937-1.0.1.1-2tGbjg60z.6aT_1TcPfQy3tE7GmOuC21MJ1OcBdR5XP0cOMxdexOC7wUd_hKxHvD7vPDwJkCpOUpELVN7_LOwoRDi13IuyGvDluN74ajWKQ;ct0=1b3473505eed25605c2dc8c6802e3ad3cc792a97846f496481f55d6970390c6aba49dd40e8f7f96a3c902e328c1e8461e89d7429fdac2e61a65fdbd5f92f9716b23d1c730d1ca30df28c6eaedd25f54c;guest_id_ads=v1%3A174230154202102158;guest_id_marketing=v1%3A174230154202102158;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="
  ],
  "nextCursor": "",
  "sortBy": "Latest",
  "onlyVerifiedUsers": false,
  "onlyBuleVerifiedUsers": false,
  "onlyImage": false,
  "onlyVideo": false,
  "onlyQuote": false,
  "onlyReply": false
}' |
apify call fastcrawler/tweet-fast-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Fast Twitter & X Data Extractor | API Alternative",
        "description": "Extract X (Twitter) data efficiently and affordably. This cutting-edge scraper bypasses limitations to help you mine tweets, hashtags, and threads. A highly cost-effective data extractor for developers and businesses. 1,000 tweets cost just $0.01.",
        "version": "0.0",
        "x-build-id": "P2ygyKVbAl8NETmRj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fastcrawler~tweet-fast-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fastcrawler-tweet-fast-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/fastcrawler~tweet-fast-scraper/runs": {
            "post": {
                "operationId": "runs-sync-fastcrawler-tweet-fast-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/fastcrawler~tweet-fast-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-fastcrawler-tweet-fast-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": [
                    "cookies"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Twitter (X) URLs. Paste the URLs and get the results immediately. ",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startTime": {
                        "title": "Start Time",
                        "type": "string",
                        "description": "Specify the datetime (yyyy-MM-dd_HH:mm:ss_UTC，2024-10-20_00:00:00_UTC),Returns tweets sent after the given date."
                    },
                    "endTime": {
                        "title": "End Time",
                        "type": "string",
                        "description": "Specify the datetime (yyyy-MM-dd_HH:mm:ss_UTC，2024-10-20_23:59:59_UTC),Returns tweets sent before the given date."
                    },
                    "searchTerms": {
                        "title": "Search Terms",
                        "type": "array",
                        "description": "Search terms you want to search from Twitter (X). Refer to https://github.com/igorbrigadir/twitter-advanced-search. eg: from:elonmusk until:2024-10-08_23:59:59_UTC since:2024-10-08_00:00:00_UTC -filter:replies",
                        "items": {
                            "type": "string"
                        }
                    },
                    "cookies": {
                        "title": "Cookies: You can input multiple cookies, and when one cookie rate limit is set, it will automatically switch to another cookie to continue to capture data.",
                        "type": "array",
                        "description": "Cookies are used to authorize the actor with twitter\n\n You can input multiple cookies, and when one cookie rate limit is set, it will automatically switch to another cookie to continue to capture data. \n\n Follow these steps to get the cookies:\n\n1. Install [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) chrome extension\n2. Login to your twitter account\n3. Click on the extension and Export As 'Headers String' and export the twitter cookies\n4. Paste the copied contents here. \n\n [how-to-get-twitter-cookie](https://1-usd-promotion.com/how-to-get-twitter-cookie)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "nextCursor": {
                        "title": "NextCursor",
                        "type": "string",
                        "description": "Cursor value to resume scraping from,You can get it from the last record in the returned data"
                    },
                    "conversationIds": {
                        "title": "Conversation IDs",
                        "type": "array",
                        "description": "Conversation IDs that you want to search on Twitter (X), Tweets that are part of a thread (direct replies and other replies)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "sortBy": {
                        "title": "Sort By",
                        "enum": [
                            "Top",
                            "Latest"
                        ],
                        "type": "string",
                        "description": "Sorts search results by the given option. ",
                        "default": "Latest"
                    },
                    "maxItems": {
                        "title": "Maximum number of items on output",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of items that you want as output.",
                        "default": 100
                    },
                    "minRetweets": {
                        "title": "Minimum retweets",
                        "minimum": 0,
                        "maximum": 10000000,
                        "type": "integer",
                        "description": "Returns tweets with at least the given number of retweets.",
                        "default": 0
                    },
                    "minLikes": {
                        "title": "Minimum Likes",
                        "minimum": 0,
                        "maximum": 10000000,
                        "type": "integer",
                        "description": "Returns tweets with at least the given number of Likes.",
                        "default": 0
                    },
                    "minReplies": {
                        "title": "Minimum Replies",
                        "minimum": 0,
                        "maximum": 10000000,
                        "type": "integer",
                        "description": "Returns tweets with at least the given number of replies.",
                        "default": 0
                    },
                    "onlyVerifiedUsers": {
                        "title": "Only verified users",
                        "type": "boolean",
                        "description": "If checked then returns tweets by users who are verified."
                    },
                    "onlyBuleVerifiedUsers": {
                        "title": "Only Twitter Blue",
                        "type": "boolean",
                        "description": "If checked then returns tweets by users who are Twitter Blue subscribers."
                    },
                    "onlyImage": {
                        "title": "Only image",
                        "type": "boolean",
                        "description": "If checked then returns tweets that contain images."
                    },
                    "onlyVideo": {
                        "title": "Only video",
                        "type": "boolean",
                        "description": "If checked then returns tweets that contain videos."
                    },
                    "onlyQuote": {
                        "title": "Only quote",
                        "type": "boolean",
                        "description": "If checked then returns tweets that are quotes."
                    },
                    "onlyReply": {
                        "title": "Only Reply",
                        "type": "boolean",
                        "description": "If checked then returns tweets that are replies."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
