Analyze finance sentiment
Changed onProfessional account required. Free and Hobby accounts cannot use this endpoint.
Returns the sentiment of one financial text, such as a news headline or a sentence about a company. Pass target (for example Apple or AAPL) to get the sentiment for that company. Scored by Adanos News Sentiment 5.5, our own model built for financial news.
Request
- Base URLhttps://api.adanos.org (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
Request body
Example request
{
"text": "Apple beats earnings estimates and raises its dividend",
"target": "Apple"
}Response
Successful Response
Example response
{
"text": "Apple beats earnings estimates and raises its dividend",
"sentiment_score": 0.999,
"sentiment_label": "positive",
"components": {
"engine_version": "5.5",
"model_score": 0.9988,
"emoji_score": 0,
"phrase_adjustment": 0,
"phrase_matches": [],
"contextual_finance_matches": []
}
}Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
response property
components/contextual_finance_matchesdeprecated - info
response property
components/emoji_scoredeprecated - info
response property
components/phrase_adjustmentdeprecated - info
response property
components/phrase_matchesdeprecated - info
response property
components/roberta_scoredeprecated - info
response property
components/vader_compounddeprecated
- info