Analyze sentiment, emotion breakdown, and intent from any text. Returns structured scores for joy, anger, sadness, fear, surprise, and disgust — plus intent classification and a one-sentence summary. Pay $0.01 USDC per call via x402 (Base mainnet).
bash
POST https://x402.ntriq.co.kr/sentiment
Content-Type: application/json
X-PAYMENT: <x402-payment-header>
{
"text": "I've been waiting 3 weeks and still no response. This is completely unacceptable.",
"language": "en"
}
ParameterTypeRequiredDescriptiontextstring✅Text to analyzelanguagestring❌Response language ISO code (default: en)
json
{
"status": "ok",
"sentiment": "negative",
"confidence": 0.94,
"emotions": {
"joy": 0.02,
"anger": 0.71,
"sadness": 0.18,
"fear": 0.05,
"surprise": 0.02,
"disgust": 0.62
},
"intent": "complain",
"summary": "Customer expresses strong frustration over a 3-week delay without any response."
}
positive, negative, neutral, mixed
inform, request, complain, praise, question, suggest, other
bash
curl https://x402.ntriq.co.kr/services