Best API for Product Review Sentiment: 3 Approaches
Compare three ways to get product review sentiment: collect reviews and train your own model, call a text sentiment API, or pull reviews that arrive labelled.
The best API for product review sentiment depends on what you already have. If you have no review text yet, an API that returns reviews with the sentiment attached saves you a step. If the text is already in your warehouse, a plain text sentiment API is enough. If you need full control of the labels, collect the reviews and train your own model.
The three approaches below differ in how much work sits on your side, what you get back per review, and what they cost.
Which approach to product review sentiment fits you?
Pick by where your review text comes from. If you do not have it yet, choose review data with labels built in. If you already store it, a text sentiment API scores it. If you need labels tuned to your own product, collect reviews and train a model, which is the most work and the most control.
| Collect reviews + your own model | Text sentiment API | Review data with labels built in | |
|---|---|---|---|
| You provide | A scraper or review feed, labelled examples, a model | Review text you already have | A product or business identifier |
| You get per review | Whatever your model outputs | A polarity or score for the text you sent | The review plus sentiment and issue on the same row |
| Fetching reviews | You build and maintain it | Not included, you fetch the reviews first | Included |
| Labels tuned to your product | Yes | Limited to what the vendor offers | Fixed set: five sentiment levels and eight issue types |
| Upfront work | Highest | Low, once you have the text | Lowest |
| Best for | Niche products, custom categories | Text already in a database | Getting from a product to labelled reviews quickly |
Text sentiment APIs, such as those compared in AssemblyAI's roundup, start from text you already hold. They do not fetch reviews for you, so you still need a source. The rest of this post covers the third column.
How do you get labelled product reviews from an API?
Call a review endpoint with a product identifier. SocialCrawl returns the review text, the star rating and two labels on every row: sentiment and issue. Labels are on by default and add no credits. For Amazon, you send the product's ASIN and a country.
curl -sS "https://www.socialcrawl.dev/v1/amazon/reviews?asin=B0EXAMPLE1&country=us" \
-H "x-api-key: $SOCIALCRAWL_API_KEY"Amazon returns the product's top reviews, usually 10, with no page parameter. The Amazon docs list 13 supported marketplaces, defaulting to US. A product with no reviews or an unknown ASIN returns a refunded empty list or a refunded 404.
The same labels come back on more than 20 review-list endpoints, including Walmart, Target, Sephora, Trustpilot, Tripadvisor, Google Play and the App Store. The labels page has the full list.
What does a labelled review look like?
Each item holds the original review and a computed.labels block. A trimmed example:
{
"review": {
"id": "R123EXAMPLE",
"entity_id": "B0EXAMPLE1",
"title": "Great quality but runs small",
"text": "Lovely fabric, but I had to size up twice.",
"rating": { "value": 5, "max": 5 },
"verified": true,
"helpful_votes": 14
},
"computed": {
"labels": {
"sentiment": {
"level": 2,
"score_0_1": 0.56,
"confidence": 0.61,
"rating_mismatch": false
},
"issue": {
"label": "sizing_or_fit",
"confidence": 0.83
}
}
}
}The fields mean this:
sentiment.levelruns from 0 to 4 andscore_0_1is the same judgement as a score. Both are read from the title and text only.sentiment.rating_mismatchistruewhen the words clearly contradict the stars, andnullwhen the review has no rating.issue.labelis the main problem the review reports:product_defect,sizing_or_fit,shipping_or_delivery,customer_service,price_or_value,missing_feature,otherornone. It isnullwhen the model is unsure.confidenceon both labels lets you set your own cut-off.
Why can star rating and sentiment disagree?
The star rating and the sentiment level come from different inputs. The rating is what the reviewer clicked. The sentiment is read from the words they wrote, never from the stars. A five-star review that says "had to size up twice" scores lower on sentiment than its stars suggest.
Use rating_mismatch to catch the clear cases, such as glowing text under one star or a furious review under five. It is deliberately conservative, so a borderline text never raises it. A mismatch is a prompt to read the review. Sometimes the star was a misclick, and sometimes the text is the part that misleads.
On the SocialCrawl labels page, the review sentiment label agreed with hand labels on 96% of a 101-review set from eight sources, against 93% for the star rating alone. That is one labeller, so keep a person in the loop for decisions that matter.
Which review sites does this cover, and what does it cost?
An Amazon review call costs 5 credits, a Tripadvisor review call 1 credit and a Trustpilot review call 5 credits. Sentiment and issue labels add nothing, and judgments=off returns the page without them at the same price. A repeat call served from cache is free.
| Source | Endpoint | Credits | Notes |
|---|---|---|---|
| Amazon | GET /v1/amazon/reviews | 5 | Top reviews for an ASIN, no pagination |
| Tripadvisor | GET /v1/tripadvisor/reviews | 1 | Hotels, with depth and sort_by. Restaurants, attractions and cruises have their own paths |
| Trustpilot | GET /v1/trustpilot/reviews | 5 | Reviews of a company by domain, up to 200 per call |
Trustpilot reviews cover the seller (delivery, refunds, support), so use it for brand sentiment. See the Trustpilot docs and Tripadvisor docs for parameters.
For roundups of other review sources, see best Amazon product data APIs and best app review APIs.
What are the limits of labelled review APIs?
Treat labels as signals. The sentiment scale has five levels, so it will not capture every nuance, and the issue label names one main problem per review, so a review that raises two problems gets one label.
A few practical limits apply:
- Amazon returns the top reviews only, not the whole archive.
- On a cold call, some rows can come back with
labels: nullwhile they are still being judged. They are counted indata.labels.pending, and a repeat call for the same page carries them. - Labels are read from the title and text, so a review with little text gives the model less to go on.
- If you need your own categories, such as "battery life", add
label=reports&reports=...(billed per started batch of 25 newly judged reviews) or train your own model.
Frequently asked questions
What is the best API for product review sentiment?
It depends on your starting point. An API that returns reviews with sentiment attached is quickest when you have no text yet. A text sentiment API fits review text you already store. A custom model fits niche categories where fixed labels do not match your product.
Does review sentiment come from the stars or the text?
SocialCrawl reads sentiment from the review title and text only. The star rating is returned separately, and rating_mismatch flags the clear cases where the two disagree.
Can an Amazon reviews API return sentiment without a separate NLP call?
Yes. GET /v1/amazon/reviews returns sentiment and an issue label on each review in the same response, at the same 5 credits as the page. Send judgments=off if you only want the reviews.
Which issues can the review labels name?
The issue label is one of product_defect, sizing_or_fit, shipping_or_delivery, customer_service, price_or_value, missing_feature, other or none. It is null when the model is not confident.
Does a Trustpilot reviews API return product reviews?
No. Trustpilot reviews are about companies, covering delivery, refunds and support. For product-level sentiment, use a retailer endpoint such as Amazon or Walmart.
How is this different from comment sentiment?
Social comments get sentiment plus labels such as questions and purchase intent. Reviews get sentiment, a rating mismatch flag and an issue label. See the comment sentiment guide.
Run this request yourself
GET /v1/amazon/reviews?asin=B0EXAMPLE1&country=usIt opens with the request filled in, and nothing runs or costs credits until you press Run. Without an account you sign up first, then land on the same request.
Related posts
SocialCrawl October 2026: Date Windows, 1,000 Reddit Posts
SocialCrawl October 2026: date windows on 150 lists, TikTok search at 1 credit, up to 1,000 Reddit posts a call, and the changes that alter existing calls.
Facebook Comment Scraper: 25 Posts, 8 Platforms, One Call
A Facebook comment scraper API that reads up to 25 posts per request across Instagram, TikTok, YouTube, Reddit, X, Threads and LinkedIn. Billed per page.
Influencer Search Tool API: Rank by Median Views
An influencer search tool needs a measuring engine underneath. See the API call that finds creators by median views, quotes the cost free, and caps the spend.
