The Amazon reviews API for product ratings and reviews

Get the rating and review count for an Amazon product as JSON, along with up to 50 reviews. Send an ASIN or a product URL to start.

Amazon Reviews API at a glance

This API returns reviews for one Amazon product as JSON. Send a POST request with one ASIN or URL. Read the reviews array, then check warnings and partial before you rely on the result. Run the example below to see the exact shape.

Endpoint
POST /v1/data/amazon/reviews
Authentication
API key as Authorization: Bearer wh_…
Stage
Stable
Output
Product rating and review_count, a reviews array, and the status fields source, review_access, public_reviews_available, partial and warnings
Input
An asin or a product url. One of the two is required.
Reviews per request
1 to 50 with limit. The default is 10.
Sort and filter
sort_by accepts top, helpful, recent, rating_high or rating_low where supported. star_filter takes star values from 1 to 5.
Marketplace
The domain field picks the Amazon site. The default is amazon.in.
Credit weight
1. See the pricing page for current rates.

One request, structured JSON.

Our request asks for five recent reviews of a Kindle. Amazon showed no public reviews for the listing that day. The response below is that real result, so you see how an empty array and its warnings look. Copy the request to try your own product.

POST /v1/data/amazon/reviews
curl -X POST "https://api.datablue.dev/v1/data/amazon/reviews" \
  -H "Authorization: Bearer wh_..." \
  -H "Content-Type: application/json" \
  -d '{
    "asin": "B0CFPJYX7P",
    "domain": "amazon.com",
    "limit": 5,
    "sort_by": "recent"
  }'
Response (trimmed to the main fields, reviews array empty)
{
  "success": true,
  "asin": "B0CFPJYX7P",
  "domain": "amazon.com",
  "title": "Amazon Kindle Paperwhite 16GB (2024 model) – 7\" glare-free display and weeks of battery life – Black",
  "rating": 4.6,
  "review_count": 24229,
  "reviews": [],
  "source": "public_product_page",
  "review_access": "public_preview",
  "account_status": "not_configured",
  "public_reviews_available": 0,
  "partial": true,
  "warnings": [
    "Amazon shows 0 reviews on the public product page; 0 matched this request.",
    "More reviews are not available for amazon.com, so only the public preview was used."
  ]
}

What a reviews response returns.

Each call covers one product and returns a single object.

Product and totals

Every response echoes the asin and the product title. It also carries the product rating and the review_count. Treat both as totals for the listing. Neither value counts the items inside the reviews array.

Reviews array

The reviews array holds the items that matched your request. It came back empty in our sample. Always check its length before you read the first item.

Source and access

The source field names where the data came from. The review_access field says how deep the read went. Our sample returned public_product_page and public_preview for those two. Store both values beside your rows to audit each run.

Availability count

The public_reviews_available field counts the reviews Amazon showed publicly. A value of 0 explains an empty array. Compare it with your limit when results look short.

Partial flag and warnings

The partial flag turns true when the response holds fewer reviews than you asked for. The warnings array then explains the gap in plain text. Log warnings for every call you run.

Account status

The account_status field reports the access state for the call. Our two test calls returned not_configured and unavailable. Read it with review_access when a run falls short.

Options that shape your review pull.

Send an asin or a url to run a request. Add the rest when you need tighter control.

Product identity

Set asin to the ten character product code, or set url to the product page. One of the two fields is required. Prefer the asin when you already track products by code.

Review limit

Ask for 1 to 50 reviews with limit. The default is 10 when you send nothing. Keep the value low while you test a new product.

Sort order

Pick one of five sort_by values from the table above. Sort applies only where Amazon supports it for the product. Use recent when you want the newest feedback first.

Star filter

Pass star_filter as a string array with values from 1 to 5, for example 1 and 2 for unhappy buyers. Pair it with sort_by to order the matching reviews.

Marketplace and delivery

The domain field defaults to amazon.in, so set it when your product lives on another Amazon site. Use country and postal_code to set the delivery context.

Deeper reads on amazon.in

The schema says amazon.in reads Amazon’s full review pages above what the product page shows. Our one finished amazon.in test returned no reviews, so verify the deeper read on your own products. Check partial and warnings on every response.

What teams build with it.

Review data feeds quality checks and product research. Pick the job that matches your team.

Complaint tracking

Set star_filter to 1 and 2 and sort by recent. Send new complaints to your support team each morning.

Rating watch

Call the API on a schedule and store the rating and review_count with a date. Chart both to see how a launch is landing.

Product research

Pull the top reviews of a rival product and note what buyers praise and what they dislike. Feed the findings into your own listing copy.

Review datasets

Collect reviews for one category into a searchable table. Store source and review_access on every row.

Why call an API instead of building an Amazon reviews scraper.

Anyone who builds an Amazon reviews scraper must first decide how deep each read should go. The public product page shows a preview of reviews. DataBlue reports which source each request used.

The response describes what the read could reach. The source and review_access fields name the data path. The partial and warnings fields flag any shortfall. Read those fields in your own code, then branch on them whenever an array looks short.

This API reads one product at a time. It does not search Amazon or rank listings. Find the ASIN with Amazon Products, then send it here.

Your first reviews request in a minute.

Sign up, grab a key and run one request.

  1. Create an account

    Sign up to get your API key.

  2. Send a request

    POST an asin and a limit to /v1/data/amazon/reviews. Add your Bearer key as the Authorization header.

  3. Read the response

    Check partial and warnings first, then loop over the reviews array and store each item you need.

Amazon reviews API questions.

Short answers about data and billing before you start.

It converts reviews for one Amazon product into structured JSON. Send an ASIN or a URL, then read the response.

Send a POST request to /v1/data/amazon/reviews with an asin or a url and a Bearer token. Add limit or sort_by to shape the result.

Set limit anywhere from 1 to 50. The default is 10 when you send no value. Expect fewer when Amazon shows fewer reviews for the product.

Our own sample came back empty because Amazon showed no public reviews for that listing. The public_reviews_available and warnings fields said so. Read both fields before you retry the call.

Yes, pass star_filter with values from 1 to 5. Use sort_by to order what comes back.

The domain field accepts other Amazon sites. Our own sample ran on amazon.com and returned no reviews. The schema describes the deeper full page read for amazon.in only, so verify other sites yourself. Check the partial flag on each response.

No, it reads reviews for one product you name. Amazon Products searches and returns ASINs, while Amazon Full Scrape combines several Amazon data types into one job.

Flipkart Reviews returns full reviews with sort and star filters. Use it when your catalogue lives on Flipkart.

This API is marked stable in our catalogue today. Build against the documented fields, then check the changelog before each upgrade you ship to production.

This API has a credit weight of 1. Check the pricing page for current rates.

Pull Amazon reviews in a minute.

Create an account to get your key. Then paste the example request into your terminal.

Start free