Sentiment Analysis Api

Description

The service that analyses the feelings expressed in pictures or writings, along with their degrees.

Pricing per Call: 0.001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/pictureAnalysis

Service that provides the production of emotion analysis from many different directions.

Parameters
FieldDescriptionTypeHeaderRequired
photourlEnter the link to the image you want to query here.text
Example
Request
{
  "uri": "https://api.collectapi.com/sentimentai/pictureAnalysis?photourl=url",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "facetype": "Angry"
    },
    {
      "facetype": "Sad"
    },
    {
      "facetype": "Happy"
    }
  ]
}
get/textAnalysis

With this service, you can classify with emotion analysis of the article you entered. 3 different results (positive, negative, neutral) return in response to someone.

Parameters
FieldDescriptionTypeHeaderRequired
queryHere you specify the article you want to classify.text
probaShowing the statistical values of the resultboolean
Example
Request
{
  "uri": "https://api.collectapi.com/sentimentai/textAnalysis?proba=true&query=izlediğimiz film pek de fena sayılmazdı",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "positive": 0.744804
    },
    {
      "negative": 0.128712
    },
    {
      "neutral": 0.126484
    }
  ]
}