Emotion Detection API

Emotion Detection API

Be able to detect any emotions in a given image. The model detects the following emotions on a human face: neutral, joy, sadness, surprise, anger, fear, and disgust.

API description

About the API:

Emotion recognition is the process of detecting displayed human emotions using artificial intelligence-based technologies in order to evaluate non-verbal responses to products, services, or goods. Emotion analysis can be carried out using face detection or facial recognition technology which enables programs to “examine” the sentiments on a human face by utilizing sophisticated image dispensation. Facial expressions are generally analyzed by using cameras to detect faces and capture real-time human responses to real-world scenarios. Each facial expression that an individual display causes the facial muscles to move and contract differently, and this makes the process of determining an emotion easier for the deep learning AI algorithms.


What this API receives and what your API provides (input/output)?

You will be passing the image URL that you want to detect the emotions. The response will provide the location of the face that is being analyzed and an emotion percentage from 0.01 to 0.99, were closer to 0.99 means more accurate emotion. 

The API will compare between "happy", "sad", "angry", "disgust", "fear", "surprise", and "neutral". 


What are the most common uses cases of this API?

Emotion recognition for online admissions and interviews: 

Emotion recognition can be used to understand how candidates feel during interviews and to measure how they react to certain questions. This information can be used to optimize interview structure for future candidates and streamline the application process. Using Sightcorps technology you can also measure attention using head orientation/pose analysis. 

Emotion Analysis for A/B campaign testing:

Using emotion analysis technology it is possible to pre-evaluate remotely or on-site marketing campaigns, This helps to ensure that they are evoking the right reactions before launching to the market. Using facial expression recognition software, advertisers can see which ads are receiving high engagement and positive emotional responses from viewers and provides them with the tools to run tests at scale on different target audiences to ensure that the campaigns with the highest impact are selected.

Emotion analysis for online education:

Anonymous emotion detection for online education is an ideal way to analyze the online student journey and improve it where necessary. Assess the school's course materials, teaching styles, structure, and layout by way of emotional feedback as students go through each module in real-time. Use true facial responses and engagement levels to find points of interest or course stumbling blocks and make optimizations.  

Emotion recognition in health care:

An industry that’s taking advantage of this technology is health care, with AI-powered recognition software helping to decide when patients need medicine, assess their emotional response in clinical trials, or help physicians in deciding how to best triage their patients.  

Emotion analysis in video game testing:

Video games are designed with a specific target audience in mind and aim to evoke a particular behavior and set of emotions from the users. During the testing phase, users are asked to play the game for a given period and their feedback is incorporated to make the final product. Using facial emotion recognition can aid in understanding which emotions a user is experiencing in real-time. This is a great addition to verbal feedback as it provides a more complex review of the gaming experience.

Automotive industry and emotion analysis:

Car manufacturers all over the globe are focusing on manufacturing automobiles that are safe to drive and provide a personalized experience for users. Moreover, the use of AI, ML, and deep learning techniques in facial recognition systems understand human emotions. It ensures driver safety by analyzing their facial expressions to detect fatigue or drowsiness and send alerts. The system prompts the driver to stop for a while, take a coffee break, play music, or adjust the temperature if it detects an anomaly.


Are there any limitations with your plans?

Besides the number of API calls per month: 

  • Free Plan: 10 requests per minute. 
  • Basic Plan: 40 requests per minute. 
  • Pro Plan: 60 requests per minute. 
  • Pro Plus: 100 requests per minute. 



Detect Emotion

Recognize any emotions in a given picture with ease. 

Just pass the image URL and receive the emotions detected there. 


POST http://zylalabs.com/api/116/emotion+detection+api/167/detect+emotion
Detect Emotion - Endpoint Features
Object Description
Request Body [Required]

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Emotion Detection API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

$0.00 / Mo

  • 150 Requests / Month
$24.99 / Mo

  • 1,000 Requests / Month
$49.99 / Mo

  • 10,000 Requests / Month
$99.99 / Mo

  • 100,000 Requests / Month
🚀 Enterprise
Custom quote

Need more? We offer unlimited API calls, Request Quote

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

API Provider: SoftDev

Useful links: