{"uid":"cap_SdYPjmiI4PjND0cWFE9R2","slug":"x402-demo-api-sentiment-analysis-9b222d6e","name":"x402 Demo API – Sentiment Analysis","description":"Paid API with real data: AI/LLM, crypto prices, web search, translation, trending topics, sentiment analysis, aggregator, and more. All endpoints use x402 protocol on Base mainnet.","url":"https://x402-demo-api-theta.vercel.app/api/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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3iJawdhm3pXT-jmE5O6tB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes the sentiment of a given text, returning a sentiment classification (e.g. positive, negative, neutral) and confidence score, paid via x402 protocol on Base mainnet.","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral along with a confidence score: \"The product arrived quickly but the packaging was damaged and customer support was unresponsive.\"","exampleUseCases":null,"resultDescription":"Returns a sentiment classification label (positive, negative, or neutral) and a confidence score indicating how strongly the text aligns with that sentiment.","failureModes":["Missing or empty text input returns a 400 error","Payment not processed via x402 on Base mainnet returns a 402 Payment Required","Text too long or malformed request body returns a 422 error","Service downtime on Vercel returns a 503"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use sentiment classification with no subscription required, especially in an x402-enabled agent workflow on Base mainnet. Good for one-off or low-volume sentiment checks on arbitrary text without committing to a full NLP platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:45.600Z","isFirstParty":false}