Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ 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 analyzes the sentiment of recent tweets matching a query
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

Analyzes the sentiment of recent tweets matching a query. Fetches recent public X posts, excludes retweets, and returns per-tweet labels plus aggregate sentiment distribution and average score. Use it as a tweet sentiment analyzer, Twitter recent-search sentiment tool, or X post sentiment API.

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
brand-sentimentMeasures brand sentiment on X by searching recent public posts about a brand, product, token, or launch and returning an aggregate positi…$0.03
crypto-sentimentScores crypto sentiment from recent public X posts about protocols, tickers, tokens, x402, Bankr, Coinbase, and market narratives, withou…$0.03
rfp-requirements-extractExtracts structured requirements from pasted RFP, grant, or local solicitation text: requirements, deadlines, attachment checklist, bid/n…$0.03
social-sentimentMeasures social sentiment on X for brands, tokens, topics, launches, and market narratives.$0.03
twitter-sentimentSearches recent public X posts for a query and scores each tweet's sentiment, returning tweet-level scores plus aggregate positive/neutra…$0.03
twitter-sentiment-apiAnalyzes Twitter/X sentiment by searching recent posts and scoring sentiment, polarity, volume, and sample post context when X API creden…$0.03
x-sentimentScores sentiment across recent X posts for any query, returning positive, neutral, and negative labels with result counts and aggregate d…$0.03
alt-text-generatorAlt text generator / accessibility image description API.$0.02
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org