Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man tweet-sentiment

/tweet-sentiment

agentutility / wordmint / tweet-sentiment
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
uncategorized
STATUS
live
NAME
tweet-sentiment tweet sentiment analyzer / twitter recent-search sentiment
synonym alias of twitter-sentiment — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/tweet-sentiment
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Tweet sentiment analyzer / Twitter recent-search sentiment. Fetches recent public X posts for a query, excludes retweets, and returns per-tweet labels plus aggregate sentiment distribution.

INPUTrequest schema
propertytypedescriptionreq?
querystringX recent-search query.required
max_resultsnumberNumber of recent posts to fetch, clamped to 10-50.optional
languagestringOptional two-letter language filter.optional
OUTPUTresponse shape
fieldtypedescription
result_countstring
overall_sentimentstring
distributionstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/tweet-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 tweet-sentiment tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
wordminttweetsentimenttweet-sentiment
env
X_BEARER_TOKEN
methods
POST
cluster
wordmint
price
$0.03 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
social-sentimentSocial sentiment API for X/Twitter recent posts.$0.03
twitter-sentimentTwitter/X sentiment API / social sentiment / tweet sentiment / X recent search sentiment.$0.03
x-sentimentX sentiment search / Twitter sentiment monitor.$0.03
alt-text-generatorAlt text generator / accessibility image description API.$0.02
classifyZero-shot text classifier.$0.02
classify-textText classifier / zero-shot classifier / category sorter.$0.02
describe-imageAI image descriptor / vision LLM.$0.02
detect-piiPII detector / data leak scanner.$0.02
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org