{"uid":"cap_auOzfZtuMOfAUJPc9NpPt","slug":"saylor-innovations-text-sentiment-analysis-799902ee","name":"Saylor Innovations Text Sentiment Analysis","description":"Text sentiment analysis - positive, negative, neutral or mixed with a -1 to 1 score and per-sentence scores","url":"https://saylorinnovations.com/api/text/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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to analyze (up to 20000 characters). POST {\"text\": \"...\"} also accepted."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["label","score"],"properties":{"label":{"enum":["positive","negative","neutral","mixed"],"type":"string","description":"Human-readable label"},"score":{"type":"number","description":"Score from 0 (worst) to 100 (best)"},"method":{"type":"string","description":"Method used"},"sentences":{"type":"array","items":{"type":"object","properties":{"text":{"type":["string"]},"score":{"type":["number"]}},"additionalProperties":true},"description":"Sentences"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"},"limitations":{"type":"string","description":"Known limits of this result"},"top_negative":{"type":"array","items":{"type":"string"},"description":"Top negative"},"top_positive":{"type":"array","items":{"type":"string"},"description":"Top positive"},"matched_terms":{"type":"number","description":"Matched terms"},"sentence_count":{"type":"number","description":"Number of sentence"},"negative_weight":{"type":"number","description":"Negative weight"},"positive_weight":{"type":"number","description":"Positive weight"}},"description":"Output fields observed in live endpoint responses; optionality and values can vary by record.","additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_0VrJqg4UIgaFzeDB9OLuN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes text and returns a sentiment label (positive, negative, neutral, or mixed) with a 0–100 score and per-sentence breakdown","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me if it's positive, negative, neutral, or mixed, along with an overall score and which sentences are pulling the tone up or down: 'The onboarding process was smooth and the support team was friendly, but the pricing feels steep and the dashboard is confusing.'","exampleUseCases":[{"title":"Customer review tone classification","prompt":"Analyze the sentiment of this product review and tell me if it's positive, negative, neutral, or mixed, with an overall score: 'Battery life is outstanding and the camera is crisp, but the software crashes every other day and customer support never responds.'"},{"title":"Social media post monitoring","prompt":"Check the sentiment of this tweet for me and give me a score — I want to know if it's positive, negative, or mixed before we decide how to respond: 'Just spent 2 hours on hold with your support line. Finally got help but it shouldn't take that long. Love the product though!'"},{"title":"Marketing copy tone check","prompt":"Before I publish this landing page copy, can you run a sentiment analysis on it to make sure the tone reads as positive? Here's the text: 'Our platform eliminates the chaos of manual workflows, freeing your team to focus on what actually matters — growing your business.'"}],"resultDescription":"Returns a JSON object with: a sentiment label (positive, negative, neutral, or mixed), a 0–100 score, per-sentence sentiment breakdowns, arrays of top positive and top negative phrases, positive and negative weight values, matched term count, sentence count, the analysis method used, any known limitations, and a UTC timestamp of when the check was run.","failureModes":["Missing 'text' query parameter returns an error","Text exceeding 20000 characters may be rejected or truncated","Empty or whitespace-only text may return unreliable results","Non-English text may produce inaccurate sentiment labels","Payment failure via x402 protocol returns 402 with payment details","Ambiguous or sarcastic text may be misclassified as neutral or mixed"],"whenToPreferThis":"Choose this endpoint when you need fast, affordable per-call sentiment scoring of arbitrary text up to 20000 characters with both an aggregate label+score and granular per-sentence breakdown. It is particularly well-suited for AI agents that need to triage customer feedback, moderate content, or evaluate copy tone at $0.01 per call via x402 micropayments, without needing a full NLP platform integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T18:36:55.745Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-text-sentiment-analysis-799902ee"}