Back to explore

language

Sentiment

Credits: 0.000001

Analyze

POST /v1/sentiment/Analyze

Analyze and score a piece of text

Request

langstring

The language. Defaults to english.

textstring

The text to analyze

Response

scorenumber

The score of the text {positive is 1, negative is 0}

Request

Response

{
    "score": 1
}