{"uid":"cap_WUk_J5iLScAybdvPukjuS","slug":"allthebot-sentiment-analysis-120fac05","name":"AllTheBot Sentiment Analysis","description":"Sentiment analysis of a text: positive / negative / neutral / mixed, score from -1 to 1, confidence and short reason. Any language, JSON output.","url":"https://velux.taild4d007.ts.net:8443/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":"negative","score":-0.7,"reason":"...","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_GG0Kf8-y3kuDN2NToX2Ig","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":"Analyzes a text passage and returns a sentiment label (positive/negative/neutral), a numeric score, a reason, and a confidence value — paid per call in USDC on Base via x402.","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me the label, score, and confidence: 'The delivery was two days late and the packaging was completely crushed — I'm really disappointed.'?","exampleUseCases":[{"title":"Customer review tone classification","prompt":"I have this product review: 'Absolutely love this coffee maker, it's fast and makes perfect espresso every time!' — can you analyze its sentiment, including how confident you are and why?"},{"title":"Social media complaint triage","prompt":"Check the sentiment of this tweet we received: 'Your support team kept me on hold for 45 minutes and never resolved my issue. Completely unacceptable.' — is it negative, how negative on a score, and what's the reason?"},{"title":"NPS comment sentiment scoring","prompt":"We collected this open-ended NPS response: 'It's okay, nothing special but gets the job done.' — what sentiment does it carry, what's the score, and how confident are you?"}],"resultDescription":"Returns a JSON object with: `label` (e.g. 'positive', 'negative', 'neutral'), `score` (float from roughly -1.0 to +1.0 indicating sentiment polarity and intensity), `reason` (a brief natural-language explanation of why the sentiment was assigned), and `confidence` (float 0–1 indicating model certainty).","failureModes":["Text exceeds 4000-character limit — request rejected or truncated","Payment not completed via x402 — 402 Payment Required response","Empty or missing `text` field — validation error","Ambiguous or very short text — low confidence score returned","Network timeout on the Tailscale endpoint — connection error"],"whenToPreferThis":"Choose this endpoint when you need a structured sentiment result (label + numeric score + reason + confidence) for a single text passage up to 4000 characters, paid per-call with no API key setup. It is well-suited for agent pipelines that handle customer feedback, social media monitoring, or content moderation at low volume where per-call USDC payment via x402 is acceptable. Prefer alternatives if you need batch processing of thousands of texts, require on-premise inference, or cannot use crypto micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:46:51.235Z","isFirstParty":false,"canonicalSlug":"allthebot-sentiment-analysis-120fac05"}