Multilingual Sentiment Analysis API
Emotion detection from text, priced per message. Sign in with GitHub or Google, top up by card, and classify text across 28 emotions in 6 languages — no subscription required.
Try it
Why Sentiment for emotion detection
Pay per message
Top up credit and spend it one message at a time. No subscription and no monthly minimum.
Pay by card
Card, Apple Pay or Google Pay through Polar, with tax handled and receipts included. Credit lasts a year.
28 emotions + valence
Multilingual multi-label emotion detection with a continuous valence score in [-1, 1].
6 languages
Arabic, English, French, Spanish, German, Turkish via an mBERT-based model.
Serverless GPU
Inference runs on RunPod serverless GPUs; dynamic pricing tracks GPU cost + margin.
Simple API keys
Sign in with GitHub or Google, create a key, and send it as a bearer token. Revoke it at any time.
How it works
- 1
Sign in
Use your GitHub or Google account. An account is free.
- 2
Top up
Choose an amount from $10 and pay by card through Polar. Credit lasts a year.
- 3
Call the API
POST /api/analyze with your API key; we debit your balance and return 28 emotions.
Emotion detection from text — what the API returns
Every request runs a multilingual transformer model (mBERT fine-tuned on the Go Emotions taxonomy) and returns a full multi-label score vector — not just "positive or negative". You get all 28 emotion scores (joy, gratitude, anger, disappointment, curiosity, fear, surprise and more), the top emotion, and a continuous valence score in [-1, 1] you can aggregate, chart or threshold. Sigmoid scoring means several emotions can be present at once, exactly like real text.
Need volume? Batch analysis accepts up to 10,000 messages in a single request — reviews, support tickets, survey answers or social posts in one call, one debit.
Built for real-world text
Customer reviews
Separate disappointment from anger and confusion across thousands of reviews, by product and release.
Social media
Track brand emotion trends and catch negative spikes in six languages, emojis and slang included.
Support tickets
Route frustrated customers first and measure whether conversations end better than they started.
Multilingual feedback
One model for Arabic, English, French, Spanish, German and Turkish — no translation step.
Sentiment analysis guides
All guides →- What Is Sentiment Analysis? How It Works, Methods and Use Cases
- Sentiment Analysis in Python: VADER, TextBlob, Transformers and APIs
- VADER Sentiment Analysis Explained: Compound Score, Limits and Alternatives
- Sentiment Analysis of Customer Reviews: A Step-by-Step Guide
- Social Media Sentiment Analysis: Methods, Metrics and Pitfalls
- Multilingual Sentiment Analysis: Arabic, French, Spanish, German and Turkish
- Sentiment Analysis Tools Compared: Libraries, Cloud APIs and Models
- Emotion Detection vs Sentiment Analysis: What's the Difference?
- The GoEmotions Dataset: 27 Emotions + Neutral, Explained
- Sentiment Analysis Datasets: 12 Public Datasets for Training and Testing
- Emotion Detection API: How to Choose One (Options Compared)
- GoEmotions API: Detect 28 Emotions in Text
- AWS Comprehend Alternative for Sentiment Analysis (vs Google and Azure)
- Arabic and Turkish Sentiment Analysis API
- Sentiment Analysis API with Pay-Per-Request Pricing (No Subscription)
- TextBlob Sentiment Analysis: Polarity, Subjectivity and Limits
- List of 28 emotions (GoEmotions) with definitions and examples
Frequently asked questions
What is a sentiment analysis API?
A sentiment analysis API takes raw text and returns machine-readable scores describing the feelings it expresses. Sentiment goes beyond positive/negative: each request returns scores for 28 distinct emotions (the Go Emotions taxonomy — joy, anger, gratitude, disappointment and more) plus a single valence score from -1 (negative) to +1 (positive).
Which languages does the emotion detection support?
The API performs multilingual sentiment analysis in six languages: Arabic, English, French, Spanish, German and Turkish, using an mBERT-based multilingual model. You do not need to declare the language — send the text and the model handles it.
How much does the API cost?
Pricing is pay-per-message with no subscription. Each message costs a fraction of a cent, priced dynamically from real GPU cost. You top up a prepaid credit balance from $10 by card, and each request debits it. GET /api/pricing returns the live per-message price.
How is this different from free sentiment analysis libraries?
Libraries like VADER or TextBlob run rule-based polarity scoring in English only. This API runs a GPU-hosted transformer model that detects 28 fine-grained emotions across 6 languages, returns calibrated multi-label scores, and scales to batches of 10,000 messages per request — with no infrastructure for you to run.
Do I need an account or API key?
Yes, both are free. Sign in with GitHub or Google, top up credit on the dashboard and create an API key. Send the key as Authorization: Bearer sent_... with each request.
Can an AI agent use the API?
Yes. Give the agent an API key and it can submit text and read results until the credit runs out. A key can spend credit but cannot buy credit or create other keys, so a person stays in control of the budget.