{"uid":"cap_aa-c2Tc2QHkC5Uswvz3-v","slug":"x402-deployer-x402-deployer-workers-dev-f40a3598","name":"x402 Sentiment & Emotion Analyzer","description":"Sentiment + emotion analyzer. Overall sentiment + score (-1..+1) + per-emotion (joy/anger/sadness/fear/surprise/disgust). Aspect-based optional.","url":"https://x402-deployer.x402-deployer.workers.dev/sentiment?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text"],"properties":{"text":{"type":"string","description":"Text to analyze. Max 12k chars."},"aspects":{"type":"array","description":"Optional array of up to 15 aspect names to score individually alongside the overall sentiment."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"overall_score":{"type":"number"},"overall_sentiment":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"text":"I absolutely love this product! It arrived quickly and exceeded my expectations. The quality is outstanding and the customer service was helpful and friendly."},"type":"http","method":"POST","bodyType":"json"}},"response":{"model":"hermes-3-llama-3.1-405b","source":"morpheus","summary":"The user expresses strong positive sentiment towards the product, mentioning fast shipping, exceeded expectations, quality, and good customer service.","emotions":{"joy":0.9,"fear":0,"anger":0,"disgust":0,"sadness":0,"surprise":0.1},"confidence":0.95,"input_chars":158,"overall_score":0.9,"overall_sentiment":"positive"}},"exampleRequest":{"text":"I absolutely love this product! It arrived quickly and exceeded my expectations. The quality is outstanding and the customer service was helpful and friendly."},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l4WkkqcN9At3_dgPXl1Ev","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text for overall sentiment (score -1 to +1), per-emotion breakdown (joy, anger, sadness, fear, surprise, disgust), and optional aspect-based sentiment","exampleAgentPrompt":"Analyze the sentiment and emotions in this customer review — give me the overall score and break down joy, anger, sadness, fear, surprise, and disgust levels: 'The product arrived late and the packaging was damaged, though the item itself works fine.'","exampleUseCases":null,"resultDescription":"Returns an overall sentiment label (positive/negative/neutral), a continuous score from -1 to +1, and per-emotion scores for joy, anger, sadness, fear, surprise, and disgust. Optionally includes aspect-based sentiment if aspect targets are provided.","failureModes":["Empty or missing text input returns a 400 error","Text too long may be truncated or rejected","Payment not included or invalid returns 402 Payment Required","Non-English text may reduce accuracy","Aspect targets not found in text may return null aspect scores"],"whenToPreferThis":"Choose this endpoint when you need granular emotion breakdown (not just positive/negative) from a single API call, especially when joy/anger/sadness/fear/surprise/disgust dimensions matter, or when you need aspect-based sentiment. Ideal for customer feedback analysis, social media monitoring, and content moderation pipelines at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-30T20:51:00.326Z","lastSuccessfullyRanAt":"2026-06-30T20:51:00.326Z","lastHealthCheckAt":"2026-10-10T18:39:08.357Z","isFirstParty":false,"canonicalSlug":"x402-deployer-x402-deployer-workers-dev-f40a3598"}