Sentiment Analyzer (Deprecated)

Sentiment Analysis inspects the given text and identifies the prevailing emotional opinion within the text, especially to determine a writer's attitude as positive, negative, or neutral.

Pricing

Requests made to the Sentiment Analysis API are billed. Prices are based on the number of characters sent to the service to be analyzed.

The pricing for API requests is as follows:

  • Per Request Cost: 3 units base cost per request.

This API analyzes the sentiment of a text

POST https://api.autogon.ai/api/v1/services/sentiment-analysis/

Headers

Request Body

{
    "success": true,
    "data": {
        "documentSentiment": {
            "magnitude": 0.6,
            "score": -0.6
        },
        "language": "en",
        "sentences": [
            {
                "text": {
                    "content": "Bad apple",
                    "beginOffset": -1
                },
                "sentiment": {
                    "magnitude": 0.6,
                    "score": -0.6
                }
            }
        ]
    }
}

Last updated