{"uid":"cap_bdg3K7kq3hcIlWRM6jbC5","slug":"klane402-sentiment-topic-classifier-8d2e668e","name":"klane402 Sentiment & Topic Classifier","description":"Classify sentiment and topics of text (any language incl. Korean). Returns {sentiment: positive|neutral|negative, score, topics[]}. Query: text. $0.003.","url":"https://klane402.deanhiki.workers.dev/api/sentiment?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"score":-0.7,"topics":["shipping"],"sentiment":"negative"}},"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_aGzZgrTySOYzPoAC4WYso","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":"Classifies the sentiment (positive/neutral/negative) and extracts topics from text in any language including Korean, returning a score and topic list.","exampleAgentPrompt":"Can you analyze the sentiment and topics of this customer message: 'The package arrived three weeks late and was completely damaged — totally unacceptable'?","exampleUseCases":[{"title":"Customer review sentiment triage","prompt":"Classify this customer review for me — tell me if it's positive, negative, or neutral and what topics it mentions: 'The setup was easy but the battery dies way too fast and customer support never replied to my email.'"},{"title":"Korean social media monitoring","prompt":"I have this Korean comment from our social media: '배송이 너무 오래 걸렸어요. 제품 자체는 좋은데 서비스가 너무 실망스러워요.' Can you analyze its sentiment and tell me what topics it covers?"},{"title":"Support ticket prioritization","prompt":"Run sentiment analysis on this support ticket so I know how urgent it is: 'I've been waiting 3 weeks for a refund and no one is responding to my messages. This is completely unacceptable and I'm considering a chargeback.'"}],"resultDescription":"Returns a JSON object with three fields: 'sentiment' (one of 'positive', 'neutral', or 'negative'), 'score' (a float indicating sentiment intensity, e.g. -0.7 for strongly negative), and 'topics' (an array of strings identifying the main subjects in the text, e.g. ['shipping', 'customer service']).","failureModes":["Empty or missing 'text' query parameter returns an error","Extremely long text inputs may be truncated or fail","Very short or ambiguous inputs may yield low-confidence or generic topic arrays","Non-text binary or malformed input may cause a 400 error","Rate limiting or payment failure may return a 402 response"],"whenToPreferThis":"Choose this endpoint when you need multilingual sentiment classification — especially for Korean or other non-English languages — and want both a sentiment label with a numeric score AND topic extraction in a single call. It is a good fit for lightweight, per-call analysis at $0.003 without needing to set up your own NLP infrastructure. Prefer it over generic LLM-based sentiment prompting when you want a structured, consistent JSON output with topic tagging included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:41.567Z","isFirstParty":false,"canonicalSlug":"klane402-sentiment-topic-classifier-8d2e668e"}