{"uid":"cap_hV-k8dTzkj_pISzqHmN28","slug":"foundry-sentiment-analysis-219a7b7a","name":"Foundry Sentiment Analysis","description":"Sentiment analysis: positive, negative, neutral or mixed, with a score from -1 to 1. Input: any text.","url":"https://minty-sprout.onrender.com/v1/sentiment?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Any text up to 3,000 characters"}}},"responseSchema":{"type":"json","example":{"chars":28,"score":0.9,"sentiment":"positive","confidence":0.95}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dqFtNpyxEx5Uzs9jEgmF9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text as positive, negative, neutral, or mixed sentiment with a numeric score from -1 to 1 and a confidence value.","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me whether it's positive, negative, neutral, or mixed, along with a score and confidence level: 'The product arrived on time but the packaging was completely crushed and customer support never responded.'","exampleUseCases":[{"title":"Customer review tone classification","prompt":"Analyze the sentiment of this product review and give me the score and confidence: 'Absolutely love this jacket — perfect fit, great quality, and it arrived two days early!'"},{"title":"Social media post monitoring","prompt":"Tell me whether this tweet is positive, negative, neutral, or mixed, and give me a sentiment score: 'Can't believe how bad the traffic is today. This city is a mess. At least the weather is nice.'"},{"title":"Support ticket triage by tone","prompt":"Classify the sentiment of this support ticket so I can prioritize it: 'I've been waiting three weeks for a refund and nobody has contacted me. I'm extremely frustrated and considering a chargeback.'"}],"resultDescription":"A JSON object containing the input character count, a sentiment label (positive, negative, neutral, or mixed), a numeric score between -1 (most negative) and 1 (most positive), and a confidence value between 0 and 1 indicating how certain the model is about the classification.","failureModes":["Text exceeding 8000 characters may be rejected or truncated","Empty or whitespace-only input may return a null or undefined sentiment","Ambiguous or very short text may produce low confidence scores","Non-English text may yield less accurate sentiment classification","Network or service unavailability on the Render.com host may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call sentiment classifier that returns a numeric score alongside a discrete label and confidence value, without requiring API key setup or subscriptions. It is well-suited for agents processing one piece of text at a time — reviews, support tickets, social posts — especially in x402-compatible payment workflows where cost transparency per call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:47:10.867Z","isFirstParty":false,"canonicalSlug":"foundry-sentiment-analysis-219a7b7a"}