Speech Emotion Recognition API

Detect emotion from voice with one API call.

Upload an audio file with multipart/form-data and receive a predicted emotion, confidence score, expression breakdown, and remaining request count. Built for support review, voice analytics, and workflow screening.

Multipart file upload
Predicted emotion returned
8-way expression breakdown
Remaining requests included

Quickstart

POST multipart/form-data
/v1/speech-emotion/apiPOST

// Headers

apiKey:

YOUR_API_KEY

// Form Data

formData.append("file", yourAudioFile);

// Sample Response

{
  "success": true,
  "predicted_emotion": "happy",
  "confidence": 87,
  "expressions": {
    "happy": 87,
    "neutral": 5,
    "surprised": 3,
    "angry": 2,
    "sad": 1,
    "fearful": 1,
    "disgusted": 1,
    "other": 0
  },
  "remainingRequests": 119
}

Send the audio file using the file field. Supported formats include WAV, MP3, M4A, FLAC, OGG, WebM, AAC, Opus, WMA, AMR, 3GP, AIFF, AU, and more.

Customer experience signals

Surface frustration, satisfaction, or urgency in call recordings and voice notes to prioritize follow-up.

Workflow support

Use emotion detection as one signal in support review, quality assurance, and product research workflows.

Clean JSON responses

Receive predicted_emotion, confidence, expressions (8 emotions), and remainingRequests in one compact response.

Fast integration

A simple multipart upload flow keeps implementation straightforward in web, backend, and mobile services.

Usage visibility

Track remaining request quota directly in each successful response.

Focused format support

Designed to handle many common voice analysis formats, including WAV, MP3, M4A, FLAC, OGG, WebM, AAC, Opus, WMA, AMR, 3GP, AIFF, AU, and more.

How it works

Speech emotion detection in three steps.

1

Upload the file

POST multipart/form-data to the /api endpoint with your apiKey header and a file field.

2

Receive JSON

Get the predicted emotion, confidence score, expression breakdown, and remainingRequests after processing completes.

3

Act on the signal

Use the result in support review, voice analytics, research tagging, or additional verification flows.

cURL

Multipart upload
curl -X POST 'https://api.genderrecognition.com/v1/speech-emotion/api' \
  -H 'apiKey: YOUR_API_KEY' \
  -F 'file=@/path/to/your/audio.wav'

JavaScript

fetch example
const apiKey = "YOUR_API_KEY";
const formData = new FormData();
formData.append("file", yourAudioFile);

const response = await fetch(
  "https://api.genderrecognition.com/v1/speech-emotion/api",
  {
    method: "POST",
    headers: {
      apiKey,
    },
    body: formData,
  }
);

const result = await response.json();

Customer support review

Flag frustrated or urgent calls automatically so support teams can prioritize follow-up.

Voice analytics

Attach emotion detection output to research, sentiment tagging, and product feedback pipelines.

Smarter review queues

Prioritize clips based on predicted emotion and confidence when additional review is required.

Ready to Get Started?

We provide the best gender recognition services using advanced AI technology to ensure accuracy and privacy for all users.

Create an account in minutes to claim your API key and have unrestricted access.

Register Account

Daily Free Usage

Enjoy a generous free tier every day to test and explore our APIs.

Try API

Pricing

Simple, transparent pricing. First 1000 requests free, then pay as you go. Check out our pricing page for more details.

View Pricing

Frequently Asked Questions