Social media sentiment analysis API: what it returns
Updated
Definition
A sentiment analysis API is a service that labels text as positive, negative, neutral or mixed and returns the labels as data your code can use. The term covers two things: a general text classifier that scores whatever text you send, and a social media sentiment analysis tool delivered as an API, which returns sentiment already scored on public mentions of a brand. Adveron is the second kind: scored social and news mentions of tracked brands, with totals, trends and source links.
Which kind you need depends on where the text comes from. For the audience side of the question (objections, purchase triggers and posts from a defined audience), see understand your audience.
What are the two kinds of sentiment analysis API?
The two kinds are general text sentiment APIs and APIs that return sentiment on brand mentions. A general text sentiment API is a classifier: you send a piece of text and it returns a label for it. It works on anything you can send, including support tickets, survey answers and your own documents.
The second kind does the collecting as well. It gathers public posts and articles that mention a brand, scores each one, and returns the mentions, the totals and the trend. You ask about a brand and a date range and send no text at all. Sentiment is one part of the wider practice covered under social listening API.
What does Adveron's sentiment analysis API return?
Adveron returns sentiment for tracked brands at three levels: the single mention, the totals for a window, and the trend. At the mention level, /v1/brands/{brand_id}/mentions returns individual social and news mentions, each with its source, publication date, engagement, and a label of positive, negative, neutral or mixed where the mention was scored. You can filter by sentiment, platform, date range, language and topic. Brand mention data explains what counts as a mention.
For totals, the mentions summary returns counts over the same filters, split by sentiment and by source, with the topics that come up most. For the trend, the timeseries endpoint returns net or average sentiment by day, week or month. The pulse read sets a 7 or 30 day window beside the one before it and a baseline of the brand's earlier windows, and reports net sentiment along with the platforms and topics that moved.
Two more reads explain the number. Customer complaints returns negative mentions grouped by aspect, such as price, quality or service, with frequency, representative posts and source links, and a matching read does the same for praise. A webhook can tell your system when a brand's net sentiment shifts, judged daily on the last 7 days against the 28 before. AI agents get the same data through the MCP server under the same key.
Which kind of sentiment analysis tool fits which team?
| Kind of tool | How it works | Who it fits |
|---|---|---|
| General text sentiment APIs | You send your own text and get a label back for each piece | Teams classifying their own tickets, reviews, survey answers or documents inside their own pipeline |
| Social listening dashboards | Public mentions are collected and scored for you, then read in charts and reports | Analyst and communications teams who read the signal in an interface every day |
| Analyzed brand data API (Adveron) | You name a tracked brand and get scored mentions, totals, trends and source links as data | Developers and AI builders putting brand sentiment into a product, a report or an agent |
How do I track brand sentiment step by step?
- Choose the brands: Activate your own brand and the competitors you want to read it against; mentions are then collected every 24 hours and kept as history.
- Take a starting read: Pull the mentions summary for a recent window to see the split of positive, negative, neutral and mixed mentions and how much of the window was scored.
- Chart the trend: Request net sentiment from the timeseries endpoint by day, week or month.
- Test a change before acting on it: Use the pulse read to set the latest window beside the previous one and the brand's own baseline.
- Read the reasons: Pull complaints and praise grouped by aspect, and open the source posts behind the largest groups.
- Set an alert: Subscribe to the webhook that fires when net sentiment over the last 7 days shifts against the 28 before.
How reliable is social media sentiment analysis?
Social media sentiment analysis is reliable as an aggregate signal and much less reliable as a verdict on any one post. Sarcasm can read as praise, and a post that likes the product and dislikes the price has no single correct label, so some individual posts are misread. Give the totals and their direction more weight than any single label.
Two things help you judge a figure. Not every mention is scored, and the API reports how much of a window has been scored, so you can see what share of the conversation a total rests on. Every mention links to its source, so a surprising number can be checked against the posts behind it.
What can't Adveron's sentiment analysis API do?
Adveron does not score arbitrary text you upload. It scores the public mentions it collects for tracked brands. If you need to classify your own documents, support tickets or survey answers, a general text sentiment API is the right choice.
A few other limits are worth knowing before you build. Live keyword search results are not scored. Tracked brands refresh every 24 hours, so sentiment is a daily read. G2, Capterra and Trustpilot reviews are not scored as mentions; they have reads of their own. There is no full X firehose, no decade-deep archive and no broadcast or print monitoring. A team that wants to read charts in an interface every day is better served by a listening dashboard. Brand monitoring covers the wider job.
Questions teams ask
Which platforms does the sentiment data cover?
Mentions come from social platforms and news, and can be filtered to X, Instagram, TikTok, LinkedIn, Facebook, YouTube, Reddit, Threads, the web and podcasts. Google Maps reviews count as mentions; G2, Capterra and Trustpilot reviews have reads of their own.
What is net sentiment?
Net sentiment is a single figure for the balance of positive against negative mentions of a brand in a period. Adveron returns it over time by day, week or month, and in the pulse read beside the brand's own baseline.
Can an AI agent use the sentiment analysis API?
Yes. The MCP server at https://mcp.adveron.com gives any MCP-compatible client, such as Claude or Claude Code, the same reads as tools. The agent signs in with OAuth or a workspace API key, and its usage draws from the same credit pool as the REST API.
Can I track a competitor's brand sentiment?
Yes. Sentiment is read from public mentions, so a workspace can track a competitor the same way it tracks its own brand. Up to five brands can be set side by side over one window, including average sentiment and the change from the previous period.
How is the sentiment analysis API priced?
By usage. Adveron uses usage-priced credits with no seat licenses, and one key and one credit pool cover both the REST API and the MCP server. Adveron is self-serve. The endpoints are documented in the API reference.
Keep reading
Get your API key
Create a workspace, mint a key, and make your first call in minutes. Usage-priced credits, no seat licenses.
Get your API key