Sentiment Analysis
Pricing
Pay per usage
Go to Apify Store
Under maintenance
Sentiment Analysis
Analyze sentiment in text using AI. Detect positive, negative, or neutral emotions. Perfect for social media monitoring, customer feedback analysis, and brand reputation tracking.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Fabio Suizu
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
13 hours ago
Last modified
Categories
Share
Sentiment Analysis - AI Emotion Detection
Analyze sentiment and detect emotions in text. Perfect for reviews, feedback, and social media analysis.
Features
- Fast Processing: Lightning-fast sentiment analysis - ai emotion detection powered by Azure
- Reliable: 99.9% uptime with automatic failover
- Scalable: Handle single requests or bulk operations
- Secure: Enterprise-grade security with API key authentication
- Well Documented: Comprehensive API documentation and examples
Use Cases
- Development: Integrate into your development workflow
- Automation: Build automated pipelines
- Integration: Connect with other services
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | No | Text to analyze for sentiment |
texts | array | No | List of texts for batch analysis |
includeScores | boolean | No | Include probability scores for each sentiment |
includeEmotions | boolean | No | Detect specific emotions (joy, anger, sadness, etc.) |
language | string | No | Text language code |
Output Format
{"success": true,"result": { ... },"timestamp": "2026-01-07T00:00:00Z"}
Code Examples
JavaScript (Node.js)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const input = {"text": "I absolutely love this product! Best purchase I've ever made.","texts": ["Great service!","Terrible experience","It was okay"],"includeScores": true,"includeEmotions": true,"language": "en"};const run = await client.actor("vivid_astronaut/sentiment-analysis").call(input);const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run_input = {"text": "I absolutely love this product! Best purchase I've ever made.","texts": ["Great service!","Terrible experience","It was okay"],"includeScores": true,"includeEmotions": true,"language": "en"}run = client.actor("vivid_astronaut/sentiment-analysis").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
cURL
curl -X POST "https://api.apify.com/v2/acts/vivid_astronaut~sentiment-analysis/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"text": "I absolutely love this product! Best purchase I've ever made.","texts": ["Great service!","Terrible experience","It was okay"],"includeScores": true,"includeEmotions": true,"language": "en"}'
Pricing
Model: Pay per result Price: $0.005 per result
You only pay for successful results. Platform usage costs are included.
API Documentation
Full API documentation is available at:
Support
- Issues: Report bugs via Apify Console
- Documentation: Apify Docs
- Community: Apify Discord
Version History
See ./CHANGELOG.md for version history.
Powered by Azure Cloud Infrastructure