A star rating tells you how a customer rated a product. It doesn't tell you why, and it doesn't tell you whether this week's reviews read more frustrated than last week's. Getting that signal means running sentiment scoring on the review text itself, on a schedule, instead of glancing at the aggregate rating whenever someone remembers to check.
If you're an agent (or building one) reading this rather than a human, the full machine-readable schema for every endpoint below lives at mindcase.co/skills.md.
Why doesn't Amazon's own review data include a sentiment score?
Every review row from Amazon carries a rating (1–5) and a reviewText,
but nothing that scores the tone of the text itself. Those two fields
disagree more often than you'd expect: a 3-star review that spends four
sentences on one specific defect reads very differently from a 3-star
review that's mildly lukewarm about everything, but both average out to
the same number. A rating is a summary a customer chose from five
buckets. Sentiment is a read on the actual language, and Amazon has never
computed or exposed that — it's a step you add on top of the raw text,
not a field you can request.
How do you pull only the new reviews since your last run?
The Amazon Reviews API has no "since" parameter —
every call returns everything available up to maxResults, most recent
first. Running it on a schedule without filtering means re-scoring
reviews you've already seen. The fix is to track the newest reviewId
you've processed per ASIN and stop once you hit it:
curl -X POST "https://api.mindcase.co/v1/data/amazon/reviews/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"params": {
"urls": "B0CX23V2ZK",
"marketplace": "com",
"maxResults": 0
}
}'
# $0.0005 per review returned — maxResults: 0 pulls Amazon's own maximum (100)Reviews come back most-recent-first, so the loop just walks the list
until it hits the last reviewId it already scored, then stops. Store
that ID per ASIN after each run and the next pull only pays for reviews
that showed up since.
How do you score sentiment once you have the raw text?
reviewText is the input — Mindcase doesn't compute sentiment for you,
so this step runs on your side, feeding each new review's text through
whatever classifier you're using (an LLM prompt, a sentiment model, a
lexicon-based library — the review API doesn't care which). What's worth
getting right is scoring the text, not defaulting back to the rating
field: verifiedPurchase and amazonVine are useful context to attach
alongside a score (a review from Amazon's Vine program reads differently
than an organic one), but neither substitutes for actually reading what
the customer wrote.
A 2-star review that says "works fine, just wish it came in more colors" and a 2-star review that says "stopped working after three days, wasted my money" are the same rating and opposite problems. Only the text tells you which one you're looking at.
How do you avoid re-scoring the same review twice?
Keep the sentiment score keyed to reviewId, not to the ASIN or the run
date. If a review's text or rating changes on a later pull — Amazon does
allow edits — that's the one case worth re-scoring; everything else with
an ID you've already stored can be skipped without a second pass through
the classifier.
How do you turn a sentiment score into a trend worth acting on?
A single review's score is noise. A rolling average across a week of new
reviews, compared to the week before, is a trend. The posted field on
every review gives you the date to bucket by, so a weekly job can group
new reviews by week, average their scores, and flag the ASINs where this
week's average dropped past whatever threshold you've set — the same
shape as a price-drop or stockout alert, just built on a score you
computed instead of a field Amazon returns directly.
That's also where fiveStar/fourStar/threeStar/twoStar/oneStar —
the aggregate rating breakdown attached to every review row — earns a
second use: as a sanity check against your own sentiment trend. If the
star distribution is stable but your text-sentiment average is sliding,
that's the signal worth flagging first — it means the complaints are
getting more specific or more frequent in the same rating band, before
it shows up in the number customers see on the product page.
What can't you get from Mindcase?
Two cases.
A sentiment score itself. The API returns reviewText and rating
as raw fields — no sentiment, tone, or aspect classification is computed
by Mindcase. That scoring step runs on your side, on top of the text.
Reviews older than what Amazon currently shows. Amazon caps what any tool can retrieve at 100 reviews per product, most recent first — there's no way to page further back or backfill a history beyond that window. A baseline run on day one only ever covers the newest 100.
Which endpoint should you use for which job?
| Endpoint | Input | Price | Best for |
|---|---|---|---|
| Amazon Reviews | Product URL or ASIN | $0.0005 / review | A recurring sentiment-tracking pipeline on a fixed watchlist of products |
FAQ
No. The API returns the raw rating and reviewText fields — sentiment scoring is a step you run on top of that text with your own classifier.
Track the newest reviewId you've processed per ASIN. Reviews come back most-recent-first, so a scheduled pull only needs to walk the list until it hits that ID, then stop.
Rating and sentiment often disagree — two reviews with the same star rating can describe opposite problems. Text sentiment catches shifts the aggregate rating won't show until much later.
Up to 100 reviews per product, most recent first — Amazon's own limit on what it exposes, not something Mindcase restricts further.