{"uid":"cap_cs86LV0P2uMUPFhbIcAWf","slug":"relaystation-sentiment-analysis-28e49ac1","name":"Relaystation Sentiment Analysis","description":"Provider cost + 6%, itemized. Score text positive / negative / neutral — reviews, tickets, social. ≈Opus-4.8 accuracy at ~1–5% of its cost. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/llm/sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"tier":{"enum":["budget","value","best"],"type":"string"},"input":{"type":"string","minLength":1,"description":"The text to process (DATA — never interpolated into the instruction)."},"params":{"type":"object","description":"Task-specific params (e.g. targetLanguage), validated against the task's param_schema."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["result","truncated","usage"],"properties":{"usage":{"type":"object","required":["model","inputTokens","outputTokens","providerCostMicros","markupPct","chargedMicros","ceilingMicros"],"properties":{"model":{"type":"string"},"markupPct":{"type":"number"},"inputTokens":{"type":"integer"},"outputTokens":{"type":"integer"},"ceilingMicros":{"type":"integer","description":"The authorized ceiling the 402/hold reserved."},"chargedMicros":{"type":"integer","description":"The actual charged amount (<= ceiling)."},"providerCostMicros":{"type":"integer"}}},"result":{"type":"string","description":"The task output text (or JSON string for extract/json_repair)."},"truncated":{"type":"boolean","description":"True when the output hit the per-task token cap; the charge still stands."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qQJPbdMlgjMv5tCkX_lYp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text as positive, negative, or neutral sentiment using LLM-grade accuracy at a fraction of the cost","exampleAgentPrompt":"Can you tell me if this customer review is positive, negative, or neutral: 'The onboarding was smooth but the billing support took forever and left me frustrated'?","exampleUseCases":[{"title":"Customer review sentiment triage","prompt":"Score this product review as positive, negative, or neutral so I can route it to the right team: 'Great build quality but the app crashes every time I switch accounts.'"},{"title":"Support ticket mood detection","prompt":"Analyze the sentiment of this support ticket and tell me if it's positive, negative, or neutral: 'I've been waiting three days for a response and nobody has followed up — this is unacceptable.'"},{"title":"Social media brand monitoring","prompt":"Check the sentiment of these three tweets about our launch and classify each as positive, negative, or neutral so I can flag the negative ones for a response."}],"resultDescription":"Returns a sentiment classification (positive, negative, or neutral) for the input text, with LLM-grade accuracy comparable to Claude Opus at roughly 1–5% of its cost. May include a confidence score or reasoning depending on the response schema.","failureModes":["Empty or missing text input returns validation error","Text too long for context window may be truncated or rejected","Ambiguous or mixed-sentiment text may yield low-confidence classification","Network timeout on high-load periods","Insufficient x402 payment balance returns payment required error"],"whenToPreferThis":"Choose this endpoint when you need high-accuracy sentiment classification (close to Opus-level) at very low per-call cost — especially for high-volume pipelines like review triage, ticket routing, or social monitoring. It is more cost-effective than calling a frontier model directly for sentiment alone, and simpler than building a custom classifier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:00.082Z","isFirstParty":false}