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:
| Sentiment | Color | Description |
|---|---|---|
| Positive | Green | Favorable, supportive feedback |
| Negative | Red | Critical, dissatisfied comments |
| Neutral | Yellow | Informational, 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
- Model: GPT-3.5 Turbo
- Best for: Fast, cost-effective analysis
- Key format: Starts with
sk- - Get a key: platform.openai.com/account/api-keys
Claude (Anthropic)
- Model: Claude Haiku
- Best for: Accurate, nuanced understanding of context and sarcasm
- Key format: Starts with
sk-ant- - Get a key: console.anthropic.com/settings/keys
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
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:
| Limit | Value |
|---|---|
| Max comments analyzed | 10 per export |
| Max characters per comment | 50 |
| Language support | English only |
| Engine | TextBlob (text-based) |
Free mode is useful for testing. For production use, configure an AI provider for unlimited multilingual analysis.
Setup
1. Configure your provider
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 OpenAIRun Sentiment Analysis via Claude (Anthropic)Run Sentiment Analysis via Google Cloud NLPRun 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:
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.
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:
| Provider | Approximate Cost | Free Tier |
|---|---|---|
| OpenAI (GPT-3.5 Turbo) | ~$0.002 / 1,000 comments | None |
| Claude (Haiku) | ~$0.001 / 1,000 comments | None |
| Google Cloud NLP | ~$1.00 / 1,000 comments | First 5,000/month free |
You can switch providers anytime from the API dashboard. To revert to the free analyzer, remove your API key.
