{"uid":"cap_xSaQCBAg_TopacJlrHDUt","slug":"agent-digest-sentiment-analysis-932380dd","name":"Agent Digest – Sentiment Analysis","description":"Lightweight text utilities for AI agents: key-sentence digest, sentiment label, and entity extraction (email, URL, EVM/Solana addresses). Pay-per-request in USDC on Base and Solana via x402. No API keys, no accounts, no signup.","url":"https://kassa-402.annushka1190.workers.dev/v1/sentiment","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1,"description":"Text to analyze"}}}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hits":{"neg":0,"pos":1},"label":"positive","score":0.5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9pUUnFGWddwdzP2TSxQsg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a text string and returns a sentiment label (positive/negative/neutral) with hit counts and a score, payable per-request in USDC via x402.","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 but the packaging was damaged and customer support was unhelpful'?","exampleUseCases":[{"title":"Triage negative support tickets","prompt":"Check the sentiment of this incoming support message and flag it if it's negative: 'I've been waiting three weeks for my refund and nobody has responded to my emails.'"},{"title":"Monitor product review tone","prompt":"Analyze the sentiment of this product review for me: 'Battery life is fantastic and the screen is gorgeous, but the price feels a bit steep for what you get.'"},{"title":"Evaluate social media comment","prompt":"Is this tweet about our brand positive or negative? 'Just switched to a competitor after years of loyalty — couldn't be more disappointed with the recent changes.'"}],"resultDescription":"A JSON object containing a label field ('positive', 'negative', or 'neutral'), a score (float 0–1 indicating polarity strength), and a hits object with pos and neg integer counts representing how many positive and negative signals were detected in the text.","failureModes":["Missing or empty 'text' query parameter returns a 400 error","Payment not included or insufficient USDC amount returns a 402 Payment Required response","Text too long may cause truncation or timeout","Ambiguous or mixed-sentiment text may produce a low-confidence score near 0.5"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-as-you-go sentiment classification with no account setup or API key management, especially in agent pipelines that handle USDC micropayments via x402. Ideal for lightweight per-message sentiment checks rather than bulk batch analytics or deep multi-dimensional emotion analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:35:34.502Z","isFirstParty":false}