# Twitter(X) Comment Scraper:No cookies required (`fastcrawler/twitter-x-comment-scraper-no-cookies-required`) Actor

Capture all Twitter replies, including hidden and nested ones that conversation ID methods often miss. With advanced sentiment and tone analysis, quickly sort replies by likes, relevance, or emotion. No cookies required. Fast, accurate, and ideal for complete conversation scraping.

- **URL**: https://apify.com/fastcrawler/twitter-x-comment-scraper-no-cookies-required.md
- **Developed by:** [fastcrawler](https://apify.com/fastcrawler) (community)
- **Categories:** Social media, AI
- **Stats:** 653 total users, 1 monthly users, 93.9% runs succeeded, 22 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Twitter/X Reply/Comment Scraper:Support Sentiment\&Tone Analyzer 2025

Discover the power of Reply Fast Scraper—your ultimate tool for extracting and analyzing Twitter/X replies and comments with ease. Sort replies by relevancy, likes, or latest, and enjoy advanced sentiment and tone analysis for deeper insights.

Designed for unmatched speed and precision, Reply Fast Scraper lets you extract data at a blazing 100 replies per second. Customize your extraction with advanced filters to get exactly what you need. Perfect for researchers analyzing conversations or businesses tracking customer feedback and trends.

Starting at just $15/month, unlock effortless data scraping and turn Twitter replies into actionable insights!

### Contact and Feature Requests

- If you need customized features or have specific requirements
- **[Free Twitter API](https://twitterapi.cheap) ｜ [Track X Influencers Tweets in Real-time](https://xmonitor.online)**
- Real-time username change monitoring
- real-time follow activity monitoring, feel free to contact me
- If you need any sort of support, please send an email to fastcrawler9@gmail.com | [tg](https://t.me/+MUMR3PKOoVVjNzE9) | [discord](https://discord.gg/s4jyupzaWu)

### 💡 Related scrapers

[Twitter Following\&Followers\&BlueVerified Scraper](https://apify.com/fastcrawler/twitter-following-followers-blueverified-fast-cheapest-scraper) | [Monitor Stock & Crypto Market Sentiment on Twitter/X](https://apify.com/fastcrawler/monitor-stock-crypto-market-sentiment-on-twitter-x) | [YouTube Transcript Extractor](https://apify.com/fastcrawler/youtube-transcript-extractor-video-text-5-1k-pay-per-result) | [stock-crypto-kol-tracker-discover-top-twitter-influencers](https://apify.com/fastcrawler/stock-crypto-kol-tracker-discover-top-twitter-influencers) | [Other useful scrapers](https://apify.com/fastcrawler)

### Cost

![Tweet Reply Cost](https://1-usd-promotion.com/_next/image?url=%2Fimages%2FtweetReplyCost.webp\&w=828\&q=75)

### Input Parameters

| Field | Type     | Description          |
|----|----------|---------------|
| tweetUrl  | string   | URL of the tweet. eg: https://x.com/realDonaldTrump/status/1844869841087258770   |
| sentimentAnalysis   | boolean   | Analyze the provided tweet and identify the primary \n\n **tone** (Positive, Negative, Neutral, Humorous, Sarcastic, Enthusiastic, Angry, Informative) \n\n **sentiment** (Positive, Negative, Neutral). \n\n **Note**: The analysis may take longer when checked.|
| rankingMode  | string   | Sort replies by：\["Relevancy", "Latest", "Likes"] |
| maxItems  | Integer   | Maximum number of items that you want as output. |

### Output Example

```
{
  "commentId": "1844873984250138716",
  "userId": "1355721251180961792",
  "isBlueVerified": true,
  "twitterName": "Gunther Eagleman™",
  "twitterUsername": "GuntherEagleman",
  "viewCount": "250756",
  "replyContent": "@realDonaldTrump If you support President Trump, we are family!  \n\nVote for law and order!",
  "likeCount": 6808,
  "replyCount": 395,
  "retweetCount": 486,
  "quoteCount": 12,
  "bookmarkCount": 20,
  "createdAt": "Fri Oct 11 22:53:28 +0000 2024"
}
```

### 🙋 FAQ (Frequently Asked Questions)

**Q: Do I need a Twitter API key or developer account to use this?**\
**A:** No. This actor works without the Twitter API. It uses web automation to extract replies directly from Twitter/X pages.

***

**Q: Can I scrape replies from any public tweet?**\
**A:** Yes. As long as the tweet is public and the replies haven’t been limited by the original poster, the actor can access and extract them.

***

**Q: Does this tool work on X (formerly Twitter)?**\
**A:** Yes. The actor supports both Twitter and X seamlessly, regardless of how the platform is branded or displayed in your region.

***

**Q: What is sentiment and tone analysis?**\
**A:** When enabled, the actor will use AI to detect the **sentiment** (Positive, Negative, Neutral) and **tone** (e.g., Humorous, Angry, Informative, etc.) of each reply. This adds a qualitative layer to the data and is especially useful for research or brand monitoring.

***

**Q: Does sentiment analysis slow down the scraping?**\
**A:** Yes, slightly. Since each comment is processed for tone and sentiment, analysis time increases—especially with a large number of replies.

***

**Q: What does "rankingMode" do?**\
**A:** You can sort the replies by:

- `Relevancy`: Twitter/X's internal ranking of importance
- `Likes`: Most liked replies first
- `Latest`: Newest replies first

***

**Q: Can I extract replies in bulk from multiple tweets at once?**\
**A:** Currently, the actor processes one tweet per run. For batch processing, you can run multiple tasks or schedule them using Apify’s built-in task runner.

***

**Q: Is login or cookie required?**\
**A:** No cookie is required for most public tweets. However, if the tweet is limited to certain audiences or you want more consistent scraping, a cookie can improve success rate. (Cookie field will be added in future versions.)

***

**Q: Can this actor handle tweets with thousands of replies?**\
**A:** Yes. Just set the `maxItems` parameter accordingly. The actor is optimized to extract replies quickly—up to 100 replies/second depending on network speed and load.

***

**Q: Can I use this to track how people feel about my brand or campaign?**\
**A:** Absolutely. This is one of the most common use cases. Combine sentiment/tone analysis with sorting and filtering to get highly targeted insights.

***

**Q: How accurate is the sentiment and tone detection?**\
**A:** It's powered by a robust NLP model with reasonable accuracy on short social text. However, sarcasm or slang may occasionally cause misclassification.

***

**Q: Can I filter replies by language or content keywords?**\
**A:** Language and content-based filtering will be added in future versions. Contact support if you need it sooner.

***

**Q: What if the tweet gets deleted or made private?**\
**A:** The actor will fail gracefully and return an error indicating the tweet is no longer accessible.

***

# Actor input Schema

## `tweetUrl` (type: `string`):

The URL of tweet you want to get the data from.

## `sentimentAnalysis` (type: `boolean`):

Analyze the provided tweet and identify the primary

**tone** (Positive, Negative, Neutral, Humorous, Sarcastic, Enthusiastic, Angry, Informative)

**sentiment** (Positive, Negative, Neutral).

**Note**: The analysis may take longer when checked.

## `rankingMode` (type: `string`):

Sort replies by

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

Maximum number of items that you want as output.

## Actor input object example

```json
{
  "tweetUrl": "https://x.com/sama/status/1910363426972635455",
  "rankingMode": "Relevance",
  "maxItems": 10
}
```

# 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 = {
    "tweetUrl": "https://x.com/sama/status/1910363426972635455",
    "sentimentAnalysis": false,
    "rankingMode": "Relevance"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastcrawler/twitter-x-comment-scraper-no-cookies-required").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 = {
    "tweetUrl": "https://x.com/sama/status/1910363426972635455",
    "sentimentAnalysis": False,
    "rankingMode": "Relevance",
}

# Run the Actor and wait for it to finish
run = client.actor("fastcrawler/twitter-x-comment-scraper-no-cookies-required").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 '{
  "tweetUrl": "https://x.com/sama/status/1910363426972635455",
  "sentimentAnalysis": false,
  "rankingMode": "Relevance"
}' |
apify call fastcrawler/twitter-x-comment-scraper-no-cookies-required --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastcrawler/twitter-x-comment-scraper-no-cookies-required"
        }
    }
}
```

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/wkduEgwjzhy63YILN/builds/0Vn0UffJGuo22wmWy/openapi.json
