{"positive_level":"50%","negative_level":"0%","result":"positive","words_count":4}
curl --location --request POST 'https://pr213-testing.zylalabs.com/api/3497/emotional+state+api/3831/sentiment+detection' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text": "I am happy today"
}'
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 Emotional State 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.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
Emotional State API designed to analyze the sentiment expressed in textual content. Leveraging advanced natural language processing (NLP) techniques, this API discerns the emotional tone of text, providing valuable information about the attitudes, opinions and emotions conveyed by the author. By accurately detecting sentiment, it enables businesses and developers to gain deeper insights from textual data, improving decision-making processes and enabling more personalized user experiences.
In essence, the Emotional State API employs sophisticated algorithms to classify text into different sentiment categories, typically positive and negative. This classification is based on the semantic meaning and context of the words and phrases used, rather than simply based on matching individual keywords. Thanks to this nuanced approach, the API is able to capture the subtleties of human language, accurately gauging sentiment even in complex or nuanced expressions.
Overall, the Emotional State API analyzes sentiment in textual data. With its ability to accurately classify sentiment across different languages and data sources, along with its complementary capabilities for entity recognition, aspect-based analysis and sentiment trend tracking, the API enables users to gain valuable insights from textual content, driving more informed decision making and enabling a better understanding of customer attitudes and preferences.
It will receive parameters and provide you with a JSON.
Social media monitoring: Sentiment analysis on social media posts to understand public opinion and brand perception.
Customer feedback analysis: Assessing sentiment in customer feedback to identify areas for improvement or measure satisfaction.
Market research: Analyze sentiment in market reports and surveys to measure consumer sentiment towards products or services.
Brand tracking: Tracking sentiment towards a brand or company through online platforms to manage reputation.
Product review analysis: Assessing sentiment in product reviews to understand customer preferences and inform product development.
Besides the number of API calls available for the plan, there are no other limitations.
To utilize this API effectively, users are required to input a text for the sentiment analysis process to generate insightful results.
The Emotional State API is designed to analyze and interpret the emotional content expressed in textual data.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid 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 Sentiment detection endpoint returns a JSON object containing sentiment analysis results, including the levels of positive and negative sentiment, the overall sentiment result, and the word count of the analyzed text.
The key fields in the response data include "positive_level," "negative_level," "result," and "words_count." These fields provide insights into the sentiment expressed in the input text.
The response data is structured as a JSON object, with each key representing a specific aspect of the sentiment analysis. This allows for easy parsing and utilization in applications.
The primary parameter for the Sentiment detection endpoint is the "text" parameter, which requires the user to input the textual content they wish to analyze for sentiment.
Users can customize their data requests by providing different textual inputs to the "text" parameter, allowing for sentiment analysis on various types of content, such as reviews, social media posts, or feedback.
The Emotional State API utilizes advanced natural language processing techniques to analyze textual data, drawing from a wide range of sources, including social media, customer feedback, and product reviews.
Data accuracy is maintained through sophisticated algorithms that consider the semantic meaning and context of words, allowing the API to capture nuances in human language and improve sentiment classification.
Typical use cases include social media monitoring to gauge public opinion, customer feedback analysis to enhance satisfaction, and product review analysis to inform development based on customer preferences.
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