Go to App

Sentiment Analysis

Automatically classify exported comments as positive, negative, or neutral using AI-powered sentiment analysis. Choose between multiple AI providers or use the free built-in analyzer.

How It Works

When you enable sentiment analysis on an export, each comment's text is sent to your configured AI provider for classification. The results are embedded directly in your exported file with color-coded indicators:

SentimentColorDescription
PositiveGreenFavorable, supportive feedback
NegativeRedCritical, dissatisfied comments
NeutralYellowInformational, no strong opinion

Excel exports include a Sentiment Legend sheet with full descriptions of each classification.

AI Providers

You can choose between three providers. Configure your preference in the API dashboard.

OpenAI premium

Claude (Anthropic)

Google Cloud Natural Language

  • Model: Cloud Natural Language API v2
  • Best for: Purpose-built sentiment scoring (no prompt engineering, returns a numeric score)
  • Key format: Google Cloud API key
  • Get a key: console.cloud.google.com/apis/credentials
💡
Google NLP difference

Unlike OpenAI and Claude which use prompt-based analysis, Google Cloud NLP has a dedicated sentiment endpoint that returns a score from -1.0 to 1.0. This tends to produce more consistent results for pure sentiment classification.

Free Mode

Users without a configured API key get basic sentiment analysis at no cost:

LimitValue
Max comments analyzed10 per export
Max characters per comment50
Language supportEnglish only
EngineTextBlob (text-based)

Free mode is useful for testing. For production use, configure an AI provider for unlimited multilingual analysis.

Setup

1. Configure your provider

bash
Dashboard > API > AI Sentiment Analysis

Select your preferred provider, paste your API key, and save. Your key is stored encrypted.

2. Run analysis on an export

After an export completes, click Run Sentiment Analysis on the results page. The button shows which provider will be used:

  • Run Sentiment Analysis via OpenAI
  • Run Sentiment Analysis via Claude (Anthropic)
  • Run Sentiment Analysis via Google Cloud NLP
  • Run Sentiment Analysis [ FREE ] (no API key configured)

3. Download results

The exported file includes sentiment values color-coded in the spreadsheet. Use Excel's filter on the Sentiment column to isolate specific sentiments.

API Usage

Sentiment analysis is triggered as a filter option when creating or re-processing export jobs. It runs automatically during the export filter pipeline.

Filter option

Include sentiment: true in your filter options when creating a filtered export:

bash
curl -X POST https://exportcomments.com/api/v3/job \
-H "X-AUTH-TOKEN: your-api-token" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=example",
"options": {
"filter": {
"sentiment": true
}
}
}'

The sentiment provider and API key configured in your account settings will be used automatically.

Supported Platforms

Sentiment analysis works on all platforms that export text content, including:

Facebook, Instagram, YouTube, TikTok, Twitter/X, Reddit, Discord, LinkedIn, Amazon, Google Reviews, Trustpilot, Steam, Etsy, Shopee, Lazada, Tripadvisor, Vimeo, Twitch, ProductHunt, Kickstarter, and 20+ more.

⚠️
Not supported

Sentiment analysis is not available for non-text exports such as followers, following, likes, and shares.

Cost Estimates

ExportComments does not charge for sentiment analysis. Costs come from your AI provider's API pricing:

ProviderApproximate CostFree Tier
OpenAI (GPT-3.5 Turbo)~$0.002 / 1,000 commentsNone
Claude (Haiku)~$0.001 / 1,000 commentsNone
Google Cloud NLP~$1.00 / 1,000 commentsFirst 5,000/month free
💡
Switching providers

You can switch providers anytime from the API dashboard. To revert to the free analyzer, remove your API key.