{"uid":"cap_HnyZr-ktzj9ohAI26jwPw","slug":"primeapi-ai-sentiment-analysis-8f4ab529","name":"PrimeAPI AI Sentiment Analysis","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/ai/sentiment","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.122078","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.122078/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.122078","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.122078","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lyuAtPuHORNwEOR6Qc8Ty","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.122078","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes the sentiment of a given text or search query, returning a sentiment classification and related data","exampleAgentPrompt":"Analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived quickly and works perfectly, but the packaging was damaged.'","exampleUseCases":[{"title":"Monitor social media mentions for brand reputation","prompt":"Check the sentiment of these tweets about our company and let me know which ones are negative so we can reach out: 'Love the new update!', 'Worst customer service ever', 'Pretty good product overall'"},{"title":"Score customer feedback for support prioritization","prompt":"Go through these support responses and tell me which ones sound frustrated or angry so I can flag them for urgent review: 'Thanks for helping!', 'This is ridiculous, been waiting 2 weeks', 'It's okay I guess'"},{"title":"Analyze product reviews before publishing","prompt":"Analyze the emotional tone of these reviews we received and separate them into positive, negative, and neutral so I know which ones to feature: 'Best purchase ever made', 'Broke after one day', 'Does what it says it does'"}],"resultDescription":"Returns a sentiment classification (e.g. positive, negative, neutral) along with a confidence score or polarity value for the provided text query.","failureModes":["Empty or missing query field returns a validation error","Extremely long inputs may be truncated or rejected","Ambiguous or very short text may yield low-confidence results","Non-English text may produce inaccurate results if multilingual support is limited","Service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call sentiment classification without managing API keys. Suitable for ad-hoc sentiment analysis of social media posts, product reviews, news headlines, or any short text, especially within an x402 payment-enabled agent workflow on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:56.051Z","isFirstParty":false}