AI Task
Sentiment Analysis API
Detect sentiment, emotions, and tone in any text with a single API call. Understand what your customers, users, and audience really feel.
Send your text
POST to /api/v1/generate with task "sentiment" and the text to analyze.
AI analyzes tone
Our models detect sentiment polarity, specific emotions, and overall tone.
Get structured results
Receive sentiment, confidence score, emotions, and tone in a clean JSON response.
Code example
Request
curl -X POST https://instantapis.net/api/v1/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"task": "sentiment",
"input": "I absolutely love this product! The build quality is exceptional and the customer support team was incredibly helpful when I had questions. Highly recommend to anyone looking for a reliable solution."
}'Response
{
"success": true,
"data": {
"sentiment": "positive",
"confidence": 0.96,
"emotions": ["joy", "satisfaction", "trust"],
"tone": "enthusiastic"
},
"task": "sentiment",
"timestamp": "2026-03-28T12:00:00.000Z"
}Use cases
Customer Feedback
Automatically classify support tickets, survey responses, and reviews as positive, negative, or neutral. Route critical negative feedback for immediate attention.
Social Media Monitoring
Track brand sentiment across social media posts, comments, and mentions. Detect shifts in public opinion in real time and respond quickly.
Product Reviews
Analyze product review sentiment at scale. Identify common complaints, praise patterns, and trending issues across thousands of reviews.
Market Research
Gauge public sentiment around topics, brands, or events. Combine with data extraction for comprehensive market intelligence.
Sentiment analysis features
Start analyzing sentiment today
Get 10 free API calls when you sign up. No credit card required.