Home / AI & LLM Utilities / Text-to-Emotion & Tone Analysis API
Text-to-Emotion & Tone Analysis API logo

Text-to-Emotion & Tone Analysis API

Published by @mdforge · Verified
99.98% uptime ~6ms avg AI Score 94/100

Detect 8 Plutchik emotions (joy, trust, fear, surprise, sadness, disgust, anger, anticipation), tone profile & sentence-level emotional arcs.

Try it live
https://api.indieapis.com/v1/text-to-emotion/analyze
Score text across 8 emotions with negation/intensifier awareness, valence & tone tags.
Response Press Run to call the live API
{
  "ok": true
}

            

Overview

Detect 8 Plutchik emotions (joy, trust, fear, surprise, sadness, disgust, anger, anticipation), tone profile & sentence-level emotional arcs.

Self-hosted production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

3 endpoints

Base URL
https://api.indieapis.com/v1/text-to-emotion
MCP
https://indieapis.com/mcp/text-to-emotion
Method Path Parameters Description
POST /analyze text* Score text across 8 emotions with negation/intensifier awareness, valence & tone tags.
POST /arc text* Track emotional shift and valence across each sentence of a message or transcript.
POST /batch texts* Classify emotions across up to 25 texts in one API call.