{"uid":"cap_heb20abQgumLSjrht6QWd","slug":"24k-labs-sentiment-analyzer-9ec4da81","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/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_0Ijl1M79OUFgwBYSbpiJi","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 sentiment score, magnitude, and brief reason.","exampleAgentPrompt":"Can you analyze the sentiment of this review and tell me whether it's positive, negative, or neutral, along with a confidence score and a brief reason: 'The delivery was fast but the packaging was completely crushed and half the items were missing.'","exampleUseCases":[{"title":"Customer review sentiment triage","prompt":"I need to classify this customer review as positive, negative, or neutral and get a reason why — here's the text: 'Amazing product, exactly as described, arrived ahead of schedule!'"},{"title":"Social media comment moderation","prompt":"Can you tell me the sentiment score and magnitude for this tweet comment before I decide whether to escalate it: 'This company never responds to complaints and their support is absolutely useless.'"},{"title":"Support ticket emotional tone scoring","prompt":"Analyze the sentiment of this support ticket message and let me know if it's positive, neutral, or negative along with how strongly it reads that way: 'I've been waiting three weeks for a refund and nobody has gotten back to me.'"}],"resultDescription":"Returns a sentiment classification label (positive, negative, or neutral), a numerical sentiment score, a magnitude value indicating strength of sentiment, and a brief human-readable reason explaining the classification.","failureModes":["Empty or missing text input returns a validation error","Extremely short or ambiguous text may produce low-confidence or neutral classification","Non-English text may yield inaccurate results if multilingual support is limited","Overly long text inputs may be truncated or rejected","Network timeout on the x402 payment or API endpoint returns a payment or connectivity error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, fast sentiment classification with an interpretable score, magnitude, and explanation rather than a full NLP pipeline. Ideal for per-item sentiment tagging in agentic workflows where cost-per-call matters ($0.006 USDC) and you need more than just a label — specifically the magnitude and reason fields. Best for short-to-medium text like reviews, comments, tickets, and social posts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:07.579Z","isFirstParty":false}