{"uid":"cap_14mU4DWwNe_Nbkd1ndpTw","slug":"agentpay-sentiment-analysis-7f86042e","name":"AgentPay Sentiment Analysis","description":"Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.","url":"https://agentpay.help/v1/sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":5000,"minLength":10,"description":"Text to score"}}},"responseSchema":{"type":"json","example":{"emotions":["satisfaction","trust"],"keywords":["support","impressed","turnaround"],"sentiment":"positive","confidence":0.94}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_imjrTAxu7aqpwgRL9ec-a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text to determine sentiment (positive/negative/neutral), detected emotions, keywords, and confidence score via pay-per-call USDC micropayment","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral along with the emotions and keywords you detect: 'The onboarding was seamless but the pricing feels a bit steep for small teams.'","exampleUseCases":[{"title":"Customer review moderation pipeline","prompt":"Analyze the sentiment of this product review and tell me the confidence score, detected emotions, and key phrases: 'Absolutely love the interface, but shipping took forever and damaged my package.'"},{"title":"Social media brand monitoring","prompt":"Check whether this tweet about our brand is positive, negative, or neutral, and pull out the main emotions and keywords: 'Can't believe how responsive their support team was — fixed my issue in under 10 minutes!'"},{"title":"Support ticket triage by tone","prompt":"What's the sentiment and emotional tone of this support message so I can flag it for urgent escalation if it's negative: 'I've been waiting three weeks for a refund and nobody has responded to my emails. This is unacceptable.'"}],"resultDescription":"Returns a JSON object with: 'sentiment' (positive/negative/neutral string), 'emotions' (array of detected emotion labels like 'joy' or 'anger'), 'keywords' (array of key terms extracted from the text), and 'confidence' (float 0–1 indicating model certainty).","failureModes":["Insufficient USDC payment results in 402 Payment Required response","Empty or missing text input returns validation error","Very short or ambiguous text may yield low confidence score","Non-English text may produce inaccurate sentiment or emotion labels","Network timeout if text is extremely long"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-as-you-go sentiment analysis with no account setup or API key management — ideal for agents that process sporadic or bursty text analysis tasks and want to pay micro-amounts per call in USDC rather than committing to a subscription. Prefer it over heavyweight NLP APIs when simplicity and frictionless micropayment billing matter more than fine-grained model customization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:55.472Z","isFirstParty":false}