{"uid":"cap_5LUX4XKcVHy-zf7DJQLcA","slug":"fastapi-online-sentiment-analysis-a8c3cc36","name":"fastapi.online Sentiment Analysis","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oF83iJV6OYZh8cgUNffEI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies input text as positive, negative, or neutral sentiment for $0.001 USDC per call with no signup required","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me whether it's positive, negative, or neutral: 'The delivery was super fast but the packaging was completely crushed when it arrived.'","exampleUseCases":[{"title":"Customer review sentiment triage","prompt":"I have a product review that just came in — can you classify its sentiment as positive, negative, or neutral? Here it is: 'Absolutely love this product, it exceeded all my expectations and arrived ahead of schedule!'"},{"title":"Social media monitoring for brand tone","prompt":"Check the sentiment of this tweet about our brand: 'Just waited 45 minutes on hold and still no resolution. Absolutely fed up with this company's support.'"},{"title":"Support ticket prioritization","prompt":"Is this support ticket message negative or something more neutral? The message says: 'I guess the product works okay, but I was expecting a bit more based on the description.'"}],"resultDescription":"Returns a JSON object with a 'sentiment' field containing one of three enum values: 'positive', 'negative', or 'neutral'. Additional fields may be present (additionalProperties: true), potentially including confidence scores or other metadata depending on the model response.","failureModes":["Missing 'text' field in request body returns a validation error","Empty string input may return unexpected or unreliable sentiment","Very long texts may hit token limits or produce degraded accuracy","Payment failure (insufficient USDC balance) blocks the request with a 402 response","Non-English text may return less accurate sentiment classification"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call sentiment classification without any account setup or subscription commitment. It is ideal for agents that process variable, unpredictable volumes of text and want crypto-native micropayment billing. Prefer this over heavier NLP platforms when you only need a simple positive/negative/neutral label and want minimal integration overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:28:34.096Z","isFirstParty":false}