Ntriq X402 Sentiment
Analyze sentiment, emotions (joy/anger/sadness/fear), and intent from any text. Pay $0.01 USDC via x402.
Latest: v1.0.0
- Initial release of ntriq-x402-sentiment.
- Analyze sentiment, intent, and detailed emotions (joy, anger, sadness, fear, surprise, disgust) from text.
- Returns structured scores, overall sentiment, intent classification, and a one-sentence summary.
- Pay $0.01 USDC per request via the x402 protocol on Base mainnet.
Sentiment Analysis (x402)
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).
How to Call
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"
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | ✅ | Text to analyze |
language | string | ❌ | Response language ISO code (default: en) |
Example Response
{
"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."
}
Sentiment Values
positive, negative, neutral, mixed
Intent Values
inform, request, complain, praise, question, suggest, other
Payment
- Price: $0.01 USDC per call
- Network: Base mainnet (EIP-3009 gasless)
- Protocol: x402
curl https://x402.ntriq.co.kr/services
