Supporting over 50 languages, this API will allow you to determine a text's sentiment. To name a few languages, we support:
The API will receive a text that you want to analyze and will deliver a Sentiment prediction (positive, negative, neutral), and the confidence score.
There could be many reasons to use a sentiment analysis API, just to name a few:
Sentiment analysis application helps companies understand how their customers feel about their products. For companies, social media comments have become the voice of customers and segment analysis. Customers use social media to express their thoughts on any product.
It captures customers’ complaints about a product and enables business leaders and analysts to fix bugs and issues and improve their products based on customers’ needs.
The only limitation is the number of API calls you can make monthly.
Pass a text to this endpoint to retrieve the sentiment score and its label.
It could be Positive, negative, or neutral.
Supported Languages:
From Russian over German, English, or Spanish to Chinese and Japanese and more...
Analyzer - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"results":[{"text":"This sentiment analyzer is amazing. It covers many more languages than I have used so far.","label":"positive","confidence":"0.99"}]}
curl --location --request POST 'https://zylalabs.com/api/760/multilingual+sentiment+analysis+api/483/analyzer' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"texts": [
"This sentiment analyzer is amazing. It covers many more languages than I have used so far."
]
}'
| 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.
The Analyzer endpoint returns sentiment analysis results for the provided text, including a sentiment label (positive, negative, or neutral) and a confidence score indicating the reliability of the prediction.
The key fields in the response data include "text" (the analyzed input), "label" (the sentiment classification), and "confidence" (a score between 0 and 1 representing the certainty of the sentiment prediction).
The response data is structured as a JSON object containing a "results" array. Each entry in the array includes the analyzed text, its sentiment label, and the corresponding confidence score.
The primary parameter for the Analyzer endpoint is the "text" parameter, which accepts any string input in supported languages for sentiment analysis.
Data accuracy is maintained through continuous training of the underlying AI model on diverse datasets, ensuring it effectively understands sentiment nuances across different languages and contexts.
Typical use cases include analyzing customer feedback on products, monitoring social media sentiment, and assessing customer satisfaction in support interactions to inform business decisions.
Users can leverage the sentiment label to gauge public opinion and the confidence score to prioritize responses or actions based on the reliability of the sentiment analysis.
The Analyzer endpoint provides insights into the emotional tone of text, helping users understand customer sentiments, identify trends, and make data-driven decisions based on public perception.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
295ms
Service Level:
100%
Response Time:
1,134ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
828ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
884ms
Service Level:
100%
Response Time:
379ms
Service Level:
100%
Response Time:
474ms
Service Level:
100%
Response Time:
1,535ms