Skip to main content

Sentiment

Deep sentiment — polarity, score, emotions, confidence, key phrases

$0.01
per call
POST /sentiment AI Processing

Try It

curl Example

curl -X POST https://api.aipaygen.com/sentiment \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "text": "string"
}'

Python Example

import requests

resp = requests.post(
    "https://api.aipaygen.com/sentiment",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
    "text": "string"
}
)
print(resp.json())

Response Format

{
  "result": "<Sentiment output>",
  "_meta": {
    "endpoint": "/sentiment",
    "model": "claude-sonnet-4-20250514",
    "cost_usd": 0.01
  }
}

Related Tools

Classify
$0.01
Keywords
$0.01
Analyze
$0.02

Get API Key — From $1

$0.25 trial credits free. ~40 AI calls. No subscription.

Get Started

Or install via MCP: pip install aipaygen-mcp