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

joy91.0%●positive (0.82)
admiration
91.0
amusement
74.0
grief
9.3
sadness
9.3
caring
8.9
disapproval
8.6
embarrassment
8.4
fear
8.2
surprise
6.8
curiosity
6.8
optimism
6.4
love
5.7
anger
5.0
excitement
4.4
nervousness
4.1
confusion
4.0
desire
3.8
remorse
3.6
disappointment
3.5
pride
3.5
joy
3.5
realization
3.5
approval
3.0
relief
2.8
annoyance
2.0
neutral
0.6
gratitude
0.1
disgust
0.1

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. 1

    Sign in

    Use your GitHub or Google account. An account is free.

  2. 2

    Top up

    Choose an amount from $10 and pay by card through Polar. Credit lasts a year.

  3. 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

Sentiment analysis guides

All guides →

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.