About the API:
This API uses Language Processing techniques to recognize the sentiment that is contained in a financial-related text.
This API will receive a text and it will deliver the sentiment score between Positive, Neutral, and negative.
This API is a good fit for those financial websites that want to sort the content based on sentiment.
A great choice for those who scrape content and need to check the sentiment of the scraped text.
Besides API call limitations per month, there are no other limitations.
To use this endpoint you must enter a text in the parameter.
Sentiment Analysis - Endpoint Features
| Object | Description |
|---|---|
text |
[Required] |
{"type":"positive","score":0.917220858,"ratio":1,"keywords":[{"word":"love","score":0.917220858}],"version":"7.5.7","author":"twinword inc.","email":"[email protected]","result_code":"200","result_msg":"Success"}
curl --location --request GET 'https://zylalabs.com/api/839/financial+sentiment+analysis+api/7799/sentiment+analysis?text=I love tennis' --header 'Authorization: Bearer YOUR_API_KEY'
| 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 Sentiment Analysis endpoint returns a sentiment score categorized as Positive, Neutral, or Negative, along with a numerical score, ratio, and keywords associated with the sentiment.
Key fields in the response include "type" (sentiment category), "score" (numerical sentiment score), "ratio" (sentiment ratio), and "keywords" (list of significant words with their scores).
The response data is structured in JSON format, containing fields for sentiment type, score, ratio, keywords, version, author, email, result code, and result message.
The primary parameter for the Sentiment Analysis endpoint is the text string that you want to analyze for sentiment.
Users can utilize the returned data to categorize financial content, identify trends in sentiment over time, or enhance user engagement by tailoring content based on sentiment analysis.
Typical use cases include analyzing news articles for market sentiment, assessing customer feedback on financial products, and sorting financial blog posts based on sentiment.
Data accuracy is maintained through advanced language processing techniques and continuous model training on diverse financial texts to ensure reliable sentiment detection.
Users can expect consistent patterns in sentiment scores, with positive sentiments often linked to favorable financial news and negative sentiments associated with downturns or crises.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
1,545ms
Service Level:
100%
Response Time:
1,884ms
Service Level:
100%
Response Time:
884ms
Service Level:
100%
Response Time:
302ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
1,535ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
295ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
2,061ms
Service Level:
100%
Response Time:
1,680ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
1,658ms
Service Level:
100%
Response Time:
2,494ms
Service Level:
100%
Response Time:
916ms
Service Level:
100%
Response Time:
550ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
3,709ms
Service Level:
100%
Response Time:
159ms
Service Level:
100%
Response Time:
0ms