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

Request

  • Base URL
    https://api.symanto.net
  • URL
    https://api.symanto.net/sentiment
  • Auth
    API key in header x-api-key

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.