{"uid":"cap_6S8tSoPXKkmgvK1wHHTqU","slug":"24k-labs-sentiment-analyzer-f6f44c1c","name":"24K Labs Sentiment Analyzer","description":"Classify text sentiment (positive/negative/neutral) with a score, magnitude, and brief reason.","url":"https://api.24klabs.ai/api/v1/sentiment-analyze","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"sentiment":"positive"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_994v1A-w9KQa5BEzmcYSa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text as positive, negative, or neutral and returns a numeric score, magnitude, and brief explanation.","exampleAgentPrompt":"Analyze the sentiment of this review and tell me if it's positive, negative, or neutral with a score and a brief reason: 'The onboarding was seamless but the billing portal is a complete nightmare to navigate.'","exampleUseCases":[{"title":"Customer review tone classification","prompt":"Classify the sentiment of this product review and give me a score and reason: 'Battery life is excellent but the screen scratches way too easily.'"},{"title":"Support ticket triage by mood","prompt":"Tell me whether this support ticket is positive, negative, or neutral and how strong the sentiment is: 'I've been waiting three weeks for a refund and nobody is responding to my emails. This is unacceptable.'"},{"title":"Social media brand monitoring","prompt":"What's the sentiment of this tweet about our brand — positive, negative, or neutral — and what score does it get? 'Just switched to @AcmeCo and honestly it's been a breath of fresh air after years of frustration with our old vendor.'"}],"resultDescription":"Returns a sentiment classification label (positive, negative, or neutral), a numeric sentiment score, a magnitude value indicating intensity, and a brief human-readable reason explaining the classification.","failureModes":["Empty or missing text input returns a validation error","Extremely short or ambiguous text (e.g. single word) may yield low-confidence or neutral output","Text in unsupported or mixed languages may produce inaccurate classifications","Very long text inputs may be truncated or rejected","Network or upstream model errors return a 5xx response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call sentiment score with an explanation — especially in agentic pipelines that pay per use via x402. It is well-suited for classifying short to medium text snippets such as reviews, social posts, or support messages where a score, magnitude, and brief reason are more useful than raw model probabilities. Prefer it over general-purpose LLM calls when you want a structured, consistent output format at a predictable $0.006 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:34.576Z","isFirstParty":false}