Amazon Reviews API
The Amazon Reviews API enables scraping of customer reviews from any Amazon product page. Supports filtering by star rating, reviewer type, media type, and sort order. Single concurrency is recommended for best reliability. Each successful request costs 5 API credits.
Endpoint:
https://api.scrapingdog.com/amazon/reviewsAPI Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
🛒
Product
asinRequiredAmazon product ID (ASIN) of the product whose reviews you want to scrape.
Type: StringdomainRequiredThe TLD extension of the Amazon domain. Examples:com,in,de,fr. For a complete list of supported TLDs, refer to Amazon Supported TLDs.
Type: StringpageRequiredThe page number of reviews to retrieve. Starts at1.
Type: Integer
⚙
️ Filters
sort_byOptionalSort order for reviews. Values:helpful(default),recent.
Type: Stringfilter_by_starOptionalFilter reviews by star rating. Values:all_stars(default),five_star,four_star,three_star,two_star,one_star,positive,critical.
Type: Stringreviewer_typeOptionalFilter by reviewer type. Values:all_reviews(default),avp_only_reviews(verified purchases only).
Type: Stringmedia_typeOptionalFilter by media type. Values:all_contents(default),media_reviews_only.
Type: Stringformat_typeOptionalFilter by format. Values:all_formats(default),current_format.
Type: StringurlOptionalAlternative to passingasin,domain, andpageseparately — pass the full Amazon reviews URL directly.
Type: String
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/amazon/reviews?api_key=APIKEY&domain=com&asin=B00AP877FS&page=1"
import requests params = { "api_key": "APIKEY", "domain": "com", "asin": "B00AP877FS", "page": "1", "sort_by": "recent" } response = requests.get("https://api.scrapingdog.com/amazon/reviews", params=params) data = response.json() for review in data["customer_reviews"]: print(review["user"], "-", review["rating"], "stars") print(review["review"])
const params = new URLSearchParams({ api_key: "APIKEY", domain: "com", asin: "B00AP877FS", page: "1", sort_by: "recent" }); const res = await fetch(`https://api.scrapingdog.com/amazon/reviews?${params}`); const data = await res.json(); console.log(`Total reviews: ${data.reviews}, Rating: ${data.rating}`);
<?php $url = 'https://api.scrapingdog.com/amazon/reviews?' . http_build_query([ 'api_key' => 'APIKEY', 'domain' => 'com', 'asin' => 'B00AP877FS', 'page' => '1', ]); echo file_get_contents($url);
API Response
{
"reviews": 4,
"rating": 5,
"actual_reviews": 3,
"customer_reviews": [
{
"user": "pagan chavez",
"title": "so cute!!",
"date": "Reviewed in the United States on June 3, 2014",
"rating": 5,
"review": "i love this its so cute and i really wanted something to match my vanity area and this was perfect! the brushes themselves are very soft and pretty and the case is adorable"
},
{
"user": "Amazon Customer",
"title": "Great quality brushes",
"date": "Reviewed in the United States on March 14, 2015",
"rating": 5,
"review": "These brushes are great quality for the price. Very soft and easy to use."
}
]
}