{"uid":"cap_M4NMgfgUZGz-0hxw41J2m","slug":"allthebot-sentiment-analysis-b6c3c54a","name":"AllTheBot Sentiment Analysis","description":"Sentiment analysis API: classify text as positive / negative / neutral / mixed with a -1 to +1 score, confidence and a short reason. Reviews, tweets, support tickets; any language, JSON output.","url":"https://api.zkrobotics.fr/x402/sentiment?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":4000}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"result":{"label":"mixed","score":-0.4,"reason":"Fast delivery is praised, but the damaged product and poor service dominate.","confidence":0.9}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nHPlAWgr75jROIzpR0dlt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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, neutral, or mixed with a -1 to +1 score, confidence level, and short human-readable reason","exampleAgentPrompt":"Can you analyze the sentiment of this review and tell me whether it's positive, negative, neutral, or mixed, along with a confidence score and a short reason: 'The product arrived quickly but the packaging was crushed and customer support never replied to my email.'","exampleUseCases":[{"title":"Triage incoming support tickets","prompt":"Analyze the sentiment of this support ticket and tell me if it's positive, negative, neutral, or mixed, with a confidence score: 'I've been waiting three weeks for my refund and nobody has responded to my emails. This is completely unacceptable.'"},{"title":"Monitor product review tone","prompt":"What's the sentiment of this product review — positive, negative, neutral, or mixed — give me the score and the reason: 'Great battery life and beautiful screen, but the software crashes constantly and the price feels too high for what you get.'"},{"title":"Gauge tweet reactions after launch","prompt":"Classify the sentiment of this tweet as positive, negative, neutral, or mixed and tell me how confident you are: 'Finally tried the new update — some features are slick but they removed the dark mode I relied on every day. Not happy.'"}],"resultDescription":"Returns a JSON object with: a label ('positive', 'negative', 'neutral', or 'mixed'), a numeric score from -1 (most negative) to +1 (most positive), a confidence value between 0 and 1, and a short human-readable reason explaining the classification.","failureModes":["Missing 'text' query parameter returns an error","Text exceeding 4000 characters may be rejected or truncated","Non-UTF-8 or malformed text may cause unexpected classification","Very short or ambiguous input may yield low confidence scores","Network or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, per-call sentiment scoring with a human-readable explanation, a numeric -1 to +1 score, and a confidence value — especially for multilingual reviews, tweets, or support tickets where explainability matters. Prefer it over bulk ML pipelines when you need pay-per-call pricing with no infrastructure setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-04T01:04:50.457Z","isFirstParty":false,"canonicalSlug":"allthebot-sentiment-analysis-b6c3c54a"}