{"uid":"cap_0hbElz4KkN64Wzc7arF_6","slug":"amanchain-sentiment-analysis-edecfecf","name":"AmanChain Sentiment Analysis","description":"Sentiment analysis API — text sentiment score with polarity, emotions and positive, negative or neutral classification; social media and review sentiment, real-time. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-sentiment\",\"request\":\"<input>\"}.","url":"https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object","example":{"ok":true}}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002488","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.002488/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002488","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002488","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RW-s1Q0PC1XL5BxXkUhtU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002488","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text to return sentiment label, polarity score, and detected emotions — paid per call via x402 in USDC on Base.","exampleAgentPrompt":"Can you analyze the sentiment of this review and tell me the polarity score and any emotions detected: 'The product arrived late and the packaging was damaged, but customer support was surprisingly helpful and resolved everything quickly'?","exampleUseCases":[{"title":"Customer review tone classification","prompt":"I have this customer review and I need to know if it's positive, negative, or neutral, plus what emotions come through — can you run sentiment analysis on it: 'Absolutely love this app, it's made my mornings so much easier even though the learning curve was steep at first.'"},{"title":"Social media brand monitoring","prompt":"Analyze the sentiment and emotions in this tweet about our brand: 'Can't believe @AcmeCorp still hasn't fixed the login bug after 3 weeks. Frustrated and losing trust fast.' — I need the polarity score too."},{"title":"Support ticket emotional triage","prompt":"Run sentiment and emotion detection on this support ticket so I can prioritize it: 'I've been waiting two weeks for a refund and no one is responding to my emails. This is completely unacceptable and I'm extremely upset.'"}],"resultDescription":"Returns a sentiment label (e.g. positive, negative, neutral), a numeric polarity score indicating strength and direction of sentiment, and a breakdown of detected emotions (e.g. joy, anger, sadness, fear, surprise) present in the input text.","failureModes":["Empty or missing 'request' field returns an error","Incorrect serviceId value causes routing failure","Payment not fulfilled via x402 results in 402 Payment Required response","Extremely short or ambiguous text may yield low-confidence or generic sentiment output","Network timeout from Cloudflare Workers under high load"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-account sentiment and emotion analysis service that settles instantly in USDC on Base via x402. Ideal for agents that need to analyze arbitrary text without API key management, or when running inside a crypto-native pipeline that already handles x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:37.899Z","isFirstParty":false}