Sentiment analysis—also known as opinion mining—is a pivotal advancement in text analysis. At its core, it’s an automated process designed to interpret and quantify the emotional tone conveyed in written content. Far beyond basic positive or negative classifications, this technology identifies nuanced human emotions such as joy, anger, sadness, and surprise.
The Mood Analysis API marks a significant leap forward in natural language processing (NLP) and machine learning. By transforming raw text into emotionally rich insights, it enables users to instantly understand the sentiment behind any piece of content.
What sets this API apart is its remarkable versatility. It can analyze virtually any type of text, making it an essential tool in a globally connected world. Businesses can tap into emotional signals from diverse audiences, gaining valuable perspectives across languages, regions, and cultures.
Another key strength of the Mood Analysis API is its contextual intelligence. Rather than analyzing words in isolation, it considers the full context—enhancing accuracy in cases involving sarcasm, irony, or subtle emotional cues that traditional models might miss.
In short, the Mood Analysis API is a powerful solution for extracting emotional intelligence from text. With its deep sentiment detection, contextual awareness, real-time performance, and wide applicability, it empowers businesses, organizations, and individuals to make more informed, emotionally aware decisions in an increasingly data-driven world.
[{"label":"joy","score":0.9640277624130249},{"label":"sadness","score":0.012908090837299824},{"label":"disgust","score":0.012041660957038403},{"label":"anger","score":0.004565613344311714},{"label":"neutral","score":0.004244835581630468},{"label":"fear","score":0.0013242153218016028},{"label":"surprise","score":0.0008878417429514229}]
curl --location --request POST 'https://zylalabs.com/api/2912/mood+analysis+api/3038/get+analysis' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '[
{
"id": "1",
"language": "en",
"text": "I love Zyla"
}
]'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API the user must indicate a text to analyze the emotions of this one.
There are different plans suits everyone including a free plan for small amount of requests per day, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
The Mood Analysis API is a powerful tool designed to analyze and interpret the emotional tone within textual content, providing insights into the predominant moods expressed in the given text.
The Mood Analysis API returns a JSON object containing the analysis of the input text, categorizing it into seven emotions: anger, disgust, fear, joy, neutral, sadness, and surprise, along with their respective confidence scores.
The key fields in the response data include "label," which indicates the identified emotion, and "score," which represents the confidence level of that emotion on a scale from 0 to 1.
The response data is organized as an array of objects, each containing a "label" for the emotion and a "score" indicating the strength of that emotion in the analyzed text.
The primary parameter for the Mood Analysis API is the "text" parameter, which should contain the textual content you wish to analyze for emotional classification.
Users can customize their requests by providing different text inputs to the "text" parameter, allowing for analysis of various types of content, such as social media posts or customer reviews.
Typical use cases include analyzing social media sentiments, evaluating customer feedback, monitoring brand reputation, optimizing content strategies, and managing crisis communications.
Data accuracy is maintained through continuous training of the underlying machine learning models on diverse datasets, ensuring the API captures a wide range of emotional expressions and language nuances.
Users can utilize the returned data by interpreting the "label" and "score" fields to gauge the emotional tone of the text, enabling informed decisions in areas like marketing strategies and customer engagement.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
1,134ms
Service Level:
100%
Response Time:
1,281ms
Service Level:
100%
Response Time:
3,251ms
Service Level:
100%
Response Time:
828ms
Service Level:
100%
Response Time:
575ms
Service Level:
100%
Response Time:
248ms
Service Level:
100%
Response Time:
73ms
Service Level:
100%
Response Time:
13ms
Service Level:
100%
Response Time:
8,667ms
Service Level:
100%
Response Time:
1,771ms
Service Level:
100%
Response Time:
1,107ms
Service Level:
100%
Response Time:
1,364ms
Service Level:
100%
Response Time:
1,322ms
Service Level:
100%
Response Time:
1,625ms
Service Level:
100%
Response Time:
478ms
Service Level:
100%
Response Time:
878ms
Service Level:
100%
Response Time:
11,971ms
Service Level:
100%
Response Time:
1,430ms
Service Level:
100%
Response Time:
2,507ms
Service Level:
100%
Response Time:
3,054ms