v1

latestOpenAPI 3.0.32026-07-1382010.9 KB
Text Analysis

Sentiment Analysis

Evaluate the overall tonality of the text.

Supported Languages: [ar, de , en, es, tr, zn]

Returned labels:

  • positive
  • negative
post/sentiment

Query parameters

allboolean

Request body

idstring

id of the post.

textstring required

the text to be analysed.

languagestring required

language_code of the text.

Example request

[
  {
    "id": "1",
    "text": "I love the service",
    "language": "en"
  }
]

Response

Successful Response

idstring

id of the post.