$ man sentiment
/sentiment(1)
NAME
sentiment — sentiment + emotion analyzer
SYNOPSIS
POST https://x402.org/v1/sentiment
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Sentiment + emotion analyzer. Overall sentiment + score (-1..+1) + per-emotion (joy/anger/sadness/fear/surprise/disgust). Aspect-based optional.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| text | string | Text to analyze for sentiment and emotion (typically a sentence, paragraph, or short document). | 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 for the input text, such as positive, negative, neutral, or mixed. |
| overall_score | number | Signed sentiment score from -1 (most negative) to +1 (most positive) for the full input. |
| confidence | number | Model confidence in the overall sentiment classification, from 0 to 1. |
| summary | string | Short natural-language summary of the sentiment and emotional tone detected in the text. |
| emotions | object | Per-emotion scores covering joy, anger, sadness, fear, surprise, and disgust (each 0..1). |
| aspects | object | Optional aspect-based breakdown mapping extracted aspects or topics to their own sentiment scores. |
| input_chars | number | Character count of the submitted text, used for size accounting. |
| model | string | Identifier of the underlying model that produced the sentiment and emotion analysis. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/sentiment \
-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 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-analysis | Sentiment analyzer / emotion classifier / aspect-based sentiment. | $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