Detect whether text is positive, negative, or neutral. Returns a numeric score using AFINN-165 โ fast, offline, no third-party NLP API.
Analyze the emotional tone of any English text using the AFINN-165 lexicon. Each word in the text is scored (e.g., "love" = +3, "hate" = -3) and an aggregate score is returned. Ideal for reviewing customer feedback, social media posts, or product reviews at scale.
positive, negative, or neutralen (English AFINN-165)$0.001 per request via x402 micropayment on Base (USDC). Max text length: 10,000 characters.