$ man sentiment-analysis
/sentiment-analysis(1)
NAME
sentiment-analysis — sentiment analyzer / emotion classifier / aspect-based sentiment
SYNOPSIS
POST https://x402.org/v1/sentiment-analysis
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Sentiment analyzer / emotion classifier / aspect-based sentiment. Overall sentiment + score (-1 to +1) + per-emotion (joy/anger/sadness/fear/surprise/disgust). Optional aspect-based scoring.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| text | string | Text to analyze for sentiment, emotion, and optional aspect-based scoring. | required |
| aspects | array | Up to 15 noun phrases for aspect-based scoring. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| overall_sentiment | string | Overall sentiment label such as positive, negative, neutral, or mixed. |
| overall_score | number | Overall sentiment score from -1 (most negative) to +1 (most positive). |
| confidence | number | Confidence in the overall sentiment classification, from 0 to 1. |
| summary | string | Short natural-language summary of the sentiment and key emotional tone in the text. |
| emotions | object | Per-emotion scores for joy, anger, sadness, fear, surprise, and disgust. |
| aspects | object | Aspect-based sentiment scores, mapping each detected aspect or topic to its sentiment. |
| input_chars | number | Character count of the input text that was analyzed. |
| model | string | Model identifier used to produce the sentiment and emotion classification. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/sentiment-analysis \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the sentiment-analysis tool to ..."
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
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| ai-to-human-text | AI text humanizer / GPT detector bypass. | $0.01 |
| citation-verify | Citation verifier / fact-check against URL / does-this-source-support-this-claim / hallucination detector. | $0.01 |
| commit-message-from-diff | Git commit message generator / Conventional Commits / AI commit-msg. | $0.01 |
| humanize | AI text humanizer / GPT detector bypass. | $0.01 |
| regex-from-prompt | Regex generator / NL to regex / pattern builder. | $0.01 |
| sentiment | Sentiment + emotion analyzer. | $0.01 |
| structured-extract | Structured-data extractor / JSON-from-text / schema-guided extraction / key-value pull / form-filler. | $0.01 |
| summarize | AI summarizer / TLDR generator. | $0.01 |
SEE ALSO