Detector24
Advanced Sentiment Analysis
TextContent Analysis

Advanced Sentiment Analysis

Analyze text sentiment with high accuracy (positive, negative, neutral)

Accuracy
98.8%
Avg. Speed
150ms
Per Request
$0.0030
API Name
advanced-sentiment-analysis

API Reference

Version
2601
Jan 3, 2026
Avg. Processing
150ms
Per Request
$0.003
Required Plan
trial

Input Parameters

Analyzes text sentiment (negative, neutral, positive)

textstringRequired

Text content to analyze for sentiment

Example:
This product exceeded my expectations!

Response Fields

Sentiment analysis result with probability scores

labelstring

Primary sentiment classification

Example:
positive
negative_probabilityfloat

Probability of negative sentiment (0.0-1.0)

Example:
0.05
neutral_probabilityfloat

Probability of neutral sentiment (0.0-1.0)

Example:
0.1
positive_probabilityfloat

Probability of positive sentiment (0.0-1.0)

Example:
0.85
confidencefloat

Classification confidence (0.0-1.0)

Example:
0.92

Complete Example

Request

{
  "model": "advanced-sentiment-analysis",
  "content": "This product exceeded my expectations!"
}

Response

{
  "success": true,
  "data": {
    "label": "positive",
    "negative_probability": 0.05,
    "neutral_probability": 0.1,
    "positive_probability": 0.85,
    "confidence": 0.92
  }
}

Additional Information

Rate Limiting
If we throttle your request, you will receive a 429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.
Supported Formats
txt, json
Maximum File Size
1MB
Tags:sentimentemotionanalysispositivenegative

Ready to get started?

Integrate Advanced Sentiment Analysis into your application today with our easy-to-use API.