{"uid":"cap_dXZREQCwktE86vofCdaek","slug":"api-x402node-dev-54407409","name":"x402node Sentiment Analysis API","description":"sentiment analysis, text sentiment, analyze sentiment, sentiment API, sentiment classifier, emotion detection, opinion mining, sentiment score. Analyze sentiment of any English text. Returns score (positive minus negative), comparative score per token, positive and negative word lists. For AI agents content moderation, review analysis, social media monitoring. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/text/sentiment","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Input text (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"text":"The product looks great but shipping was painfully slow and customer support never responded"},"response":{"mood":"positive","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","score":5,"negative":[],"positive":["support","great"],"comparative":0.3571,"text_length":92,"tokens_count":14,"processing_ms":1}},"exampleRequest":{"text":"The product looks great but shipping was painfully slow and customer support never responded"},"tags":["x402"],"displayCostAmount":"0.0022","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mCJ2UKulZHijMuGKSu7H3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes the sentiment of English text, returning a score, comparative score, mood label, and positive/negative word lists","exampleAgentPrompt":"Can you analyze the sentiment of this review and tell me the overall score, mood, and which specific words are driving it positive or negative: 'The product looks great but shipping was painfully slow and customer support never responded'?","exampleUseCases":null,"resultDescription":"Returns a JSON object with an integer sentiment score (positive minus negative word count), a comparative score normalized per token, a mood string (e.g. 'positive'/'negative'/'neutral'), arrays of matched positive and negative words found in the text, and processing time in milliseconds.","failureModes":["Non-English text may return inaccurate or empty word lists","Very short or ambiguous text may yield a score of 0 with empty word lists","Missing or empty request body returns an error","Extremely long text may increase processing time","Sarcasm and irony are not reliably detected by lexicon-based approaches"],"whenToPreferThis":"Choose this endpoint when you need fast, lexicon-based English sentiment scoring with explicit positive/negative word evidence — ideal for content moderation pipelines, review analysis, or social media monitoring where interpretability (seeing which words drove the score) matters and low latency per call is required. Best for straightforward opinion text rather than nuanced or sarcastic language.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-17T21:52:17.522Z","lastSuccessfullyRanAt":"2026-07-17T21:52:17.522Z","lastHealthCheckAt":"2026-09-14T00:49:25.605Z","isFirstParty":false}