{"uid":"cap_Ky5cZ9ajYMTkjeyCEsAEW","slug":"agent-micro-text-sentiment-analysis-0fced7d9","name":"Agent Micro - Text Sentiment Analysis","description":"Advanced micro-tools for AI agents: cryptographic randomness, text analysis, math helpers, date arithmetic, web metadata, and IP intelligence. All under $0.01 per request, paid in USDC via x402.","url":"https://agent-micro.annushka1190.workers.dev/v1/text/sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_tZZ9TghG6OcByNmQJi7OY","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 the sentiment of a given text input and returns a sentiment classification result, paid per-call via USDC x402 micropayment.","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived on time and works perfectly, but the packaging was a bit damaged.'","exampleUseCases":[{"title":"Customer review tone detection","prompt":"Analyze the sentiment of this product review for me: 'Absolutely love this item — exceeded my expectations in every way!' — is it positive, negative, or neutral?"},{"title":"Support ticket triage by mood","prompt":"I need to know the sentiment of this support message before escalating it: 'I've been waiting three weeks for a response and nobody has helped me.' Is it negative?"},{"title":"Social media post mood check","prompt":"Can you run sentiment analysis on this tweet: 'Just tried the new menu at my favorite café and honestly it was a bit disappointing compared to before.' What's the emotional tone?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean and sentiment classification details for the submitted text — typically including a sentiment label (positive, negative, neutral) and optionally a confidence score or polarity value.","failureModes":["Missing or empty 'input' field in request body returns a 400 validation error","Payment not included or insufficient USDC via x402 returns a 402 Payment Required","Non-JSON body or wrong Content-Type may cause a parse error","Very short or ambiguous text may return low-confidence or unexpected sentiment labels","Service unavailability on the Cloudflare Workers edge may return a 503"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, per-call sentiment classification for text within an AI agent pipeline and want to pay in USDC micropayments via x402 without a subscription. It is ideal for agents that need ad-hoc NLP sentiment scoring at sub-cent cost without setting up a full NLP service integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:01.220Z","isFirstParty":false}