Home/APIs/Emotion & Personality Analysis
Text AnalysisFree tier available

Detect emotions, sentiment, personality & tone from text

All-in-one NLP API for emotion detection, sentiment analysis, Big Five personality traits, and communication style analysis. Replace 4 separate APIs with a single subscription — powered by advanced AI models.

Features

Emotion Detection

Classify text into 6 core emotions — joy, sadness, anger, fear, love, surprise — with confidence scores.

Sentiment Analysis

Detect positive, negative, or neutral sentiment with detailed polarity score breakdown.

Big Five Personality

Predict OCEAN personality traits (Openness, Conscientiousness, Extraversion, Agreeableness, Neuroticism) from text.

Communication Style

Identify tone, formality level, and communication intent for user profiling and chatbot personalization.

4-in-1 API

Replace 4 separate APIs with one unified subscription. Save time, cost, and integration effort.

Flexible Input

Send text via JSON, form-encoded, or multipart. Supports 3–5000 characters per request.

API Reference

4 endpoints, simple integration. Here's everything you need.

Supported Content Types

application/jsonapplication/x-www-form-urlencodedmultipart/form-data
POSThttps://emotion-sentiment-personality-analysis.p.rapidapi.com/emotions

Classify text into 6 core emotions (joy, sadness, anger, fear, love, surprise) with confidence scores based on Ekman's model.

textstringrequired

The text to analyze (3–5000 characters).

Response Schema
{
  "emotions": [
    { "label": "joy", "score": 0.9 },
    { "label": "surprise", "score": 0.1 },
    { "label": "love", "score": 0.0 },
    { "label": "sadness", "score": 0.0 },
    { "label": "anger", "score": 0.0 },
    { "label": "fear", "score": 0.0 }
  ]
}
POSThttps://emotion-sentiment-personality-analysis.p.rapidapi.com/sentiment

Determine positive, negative, or neutral sentiment with detailed polarity scores.

textstringrequired

The text to analyze (3–5000 characters).

Response Schema
{
  "sentiment": { "label": "negative", "score": 0.85 },
  "scores": { "positive": 0.2, "neutral": 0.1, "negative": 0.7 }
}
POSThttps://emotion-sentiment-personality-analysis.p.rapidapi.com/personality

Predict Big Five (OCEAN) personality traits — Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism — each scored from 0.0 to 1.0.

textstringrequired

The text to analyze (3–5000 characters).

Response Schema
{
  "personality": {
    "openness": 0.7,
    "conscientiousness": 0.9,
    "extraversion": 0.8,
    "agreeableness": 0.6,
    "neuroticism": 0.3
  }
}
POSThttps://emotion-sentiment-personality-analysis.p.rapidapi.com/communication

Analyze communication style including intent, tone (assertive, collaborative, empathetic, analytical, casual), and formality level (formal, neutral, informal).

textstringrequired

The text to analyze (3–5000 characters).

Response Schema
{
  "style": "fact-oriented",
  "confidence": 0.9,
  "formality": "formal",
  "tone": "collaborative"
}

Response

200

Each endpoint returns structured JSON with analysis results. Emotion detection returns 6 emotion scores, sentiment returns polarity breakdown, personality returns OCEAN trait scores, and communication returns style/tone/formality labels.

Quick Start

Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.

# Emotion Detection
curl -X POST "https://emotion-sentiment-personality-analysis.p.rapidapi.com/emotions" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: emotion-sentiment-personality-analysis.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{"text": "I just got promoted, this is the best day of my life!"}'

# Sentiment Analysis
curl -X POST "https://emotion-sentiment-personality-analysis.p.rapidapi.com/sentiment" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: emotion-sentiment-personality-analysis.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{"text": "The product quality is terrible and support was unhelpful."}'

# Big Five Personality
curl -X POST "https://emotion-sentiment-personality-analysis.p.rapidapi.com/personality" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: emotion-sentiment-personality-analysis.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{"text": "I love meeting new people and organizing group activities."}'

Pricing

Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.

Free

Basic

$0Free

100 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$15.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$49.00/mo

50,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$150.00/mo

150,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Start Using Emotion & Personality Analysis Today

Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.