{"uid":"cap_tA6bQwePg4E_s9XMu9dJp","slug":"sentiment-analysis-fdc42c48","name":"Sentiment Analysis","description":"Sentiment analysis: classify text as positive, negative, or neutral with a confidence score and an alternate label. Powered by Jev, with an automatic Groq-hosted LLM fallback if Jev is slow or unavailable (\"engine\":\"jev\"|\"fallback\" in the response) - under 4.5s guaranteed. Try GET /sentiment/sample.","url":"https://x402.agentindex.world/sentiment?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to classify, up to 4000 characters."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J-YYcc81PunkVAL12Ro2V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 with a confidence score, powered by Jev with automatic Groq-hosted LLM fallback, guaranteed under 4.5 seconds.","exampleAgentPrompt":"Classify this customer review as positive, negative, or neutral and tell me how confident you are: 'The onboarding was smooth but the pricing feels too steep for small teams.'","exampleUseCases":[{"title":"Customer review tone detection","prompt":"Classify this product review as positive, negative, or neutral and give me a confidence score: 'Battery life is excellent but the screen is disappointingly dim.'"},{"title":"Social media comment moderation","prompt":"Tell me whether this tweet is positive, negative, or neutral: 'Can't believe how bad the support experience was — waited 3 hours and got no resolution.'"},{"title":"Support ticket prioritization","prompt":"Analyze the sentiment of this support message and tell me how confident you are in the classification: 'I've been trying to reach someone for days and nothing works, I'm incredibly frustrated.'"}],"resultDescription":"Returns a sentiment label (positive, negative, or neutral), a confidence score, an alternate label, and an engine field indicating whether the classification was done by Jev or the Groq-hosted LLM fallback. Response is guaranteed within 4.5 seconds.","failureModes":["Text exceeds 4000 character limit — request rejected","Both Jev and Groq fallback unavailable — timeout or error response","Empty or missing text field — validation error","Network issues causing latency to exceed the 4.5s SLA"],"whenToPreferThis":"Choose this endpoint when you need fast, reliable sentiment classification with a confidence score and a guaranteed sub-4.5s response time. The automatic fallback to a Groq-hosted LLM makes it more resilient than single-provider alternatives. Ideal for real-time pipelines where uptime and speed matter more than fine-grained emotion categories.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:44:32.218Z","isFirstParty":false,"canonicalSlug":"sentiment-analysis-fdc42c48"}