Text Analysis

Emotion Analysis

Detect the emotions of the text.

Supported Langauges: [en, de, es]

Returned labels:

  • anger
  • joy
  • love
  • sadness
  • surprise
  • uncategorized
post/emotion

Request

  • Base URL
    https://api.symanto.net
  • URL
    https://api.symanto.net/emotion
  • 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.