Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man sentiment

/sentiment

agentutility / wordmint / sentiment
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
sentiment score how positive, negative, or mixed a piece of text reads, down to the emotion level
SYNOPSIS
POST https://x402.agentutility.ai/sentiment
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Score how positive, negative, or mixed a piece of text reads, down to the emotion level. Send text with an optional aspects array (up to 15 specific things to evaluate separately, like "service" or "price"), and get back overall_sentiment, an overall_score from -1 to +1, a confidence value, a short summary, and a per-emotion breakdown covering joy, anger, sadness, fear, surprise, and disgust. When aspects are supplied, each one gets its own sentiment, score, and supporting quote. Use it as a sentiment analysis API, emotion detection tool, or review and support-ticket triage system for gauging customer feedback or social mentions at scale.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to analyze. Max 12k chars.required
aspectsarrayOptional array of up to 15 aspect names to score individually alongside the overall sentiment.optional
OUTPUTresponse shape
fieldtypedescription
overall_sentimentstringOverall sentiment label for the input text, such as positive, negative, neutral, or mixed.
overall_scorenumberSigned sentiment score from -1 (most negative) to +1 (most positive) for the full input.
confidencenumberModel confidence in the overall sentiment classification, from 0 to 1.
summarystringShort natural-language summary of the sentiment and emotional tone detected in the text.
emotionsobjectPer-emotion scores covering joy, anger, sadness, fear, surprise, and disgust (each 0..1).
aspectsobjectOptional aspect-based breakdown mapping extracted aspects or topics to their own sentiment scores.
input_charsnumberCharacter count of the submitted text, used for size accounting.
modelstringIdentifier of the underlying model that produced the sentiment and emotion analysis.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/sentiment \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the sentiment tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
sentimentemotionnlpai
env
VENICE_API_KEY
methods
POST
cluster
wordmint
price
$0.01 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
ai-to-human-textRewrite AI-generated text so it reads like a person wrote it.$0.01
app-review-sentimentScores app-store reviews by onboarding, stability, pricing, performance, and feature requests.$0.01
brand-bootstrapBootstraps a brand kit for a new business or product in one call.$0.01
brand-launch-briefGenerates a structured brand launch brief for a new company or product from name, concept, audience, and tone.$0.01
brand-positioning-briefGenerates a brand positioning brief covering messaging pillars, taglines, launch channels, and a logo prompt.$0.01
brand-sentiment-analysisScores comments, mentions, survey verbatims, and campaign feedback for sentiment.$0.01
candidate-feedback-sentimentSummarizes candidate experience, recruiter feedback, and hiring-process comments by sentiment.$0.01
churn-risk-sentimentAnalyzes support tickets, chats, and emails for negative sentiment, urgency, and at-risk churn themes.$0.01
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org