Sentiment Analysis API (1.0.0)

Download OpenAPI specification:

A simple API to analyze the sentiment of a piece of text.

Analyze sentiment

Analyzes the sentiment of a given text.

Request Body schema: application/json
required
text
string

The text to be analyzed.

Responses

Request samples

Content type
application/json
{
  • "text": "I love this product!"
}

Response samples

Content type
application/json
{
  • "sentiment": "positive",
  • "score": 0.95
}