Amazon scraper API for product search, prices and reviews
Search amazon.com the way a shopper does and get each result as JSON: ASIN, title, price, rating, ratings count and whether it is sponsored. Then read a product’s star breakdown and the reviews Amazon features on its page.
{
"search_parameters": {
"engine": "amazon_search",
"q": "bathrobe"
},
"products": [
{
"asin": "B084PBWBJR",
"title": "PAVILIA Premium Womens Plush Soft Robe, Fluffy Warm Fleece Sherpa Bathrobe",
"price": 42.52,
"price_text": "CAD 42.52",
"currency": "CAD",
"rating": 4.6,
"ratings_count": 13206,
"url": "https://www.amazon.com/dp/B084PBWBJR",
…Brands, sellers and analysts watch Amazon search to see where products rank, what competitors charge and how ratings move. Amazon’s own APIs are not built for that: the Selling Partner API covers a seller’s own listings and orders, and catalog access for affiliates goes through the Associates program. This API reads the public search results page instead, about 48 products per page and up to 20 pages, in Amazon’s own sort orders. Sponsored placements are labelled, not removed, so you see the page as shoppers do.
Two things about Amazon shape the data. Prices are shown in the visitor’s local currency, so price_text keeps the price exactly as displayed and currency names it; nothing is relabelled as USD. And the full review list is only shown to signed-in users, so the reviews endpoint returns what any visitor sees on the product page: the share of ratings at each star level, the global ratings count, and the featured reviews with their Verified Purchase labels and helpful votes.
What you get
- asin
- Amazon’s 10-character product ID, which the reviews call takes
- title, url, image
- product title, link to the product page and the main image
- price, price_text, currency
- the parsed price, the price exactly as Amazon displayed it, and its currency
- rating, ratings_count
- average star rating and number of ratings shown on the result
- sponsored
- true for paid placements, which keep their position in the results
- histogram
- percentage of ratings at each star level, 5 to 1
- total_ratings
- the product’s total number of global ratings
- reviews[]
- featured reviews with rating, title, text, date, author, helpful_votes and labels such as Verified Purchase
One call, structured JSON
POST /v1/amazon/search, 2 credits per successful call.
curl -X POST "https://api.scrapercompany.com/v1/amazon/search" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "bathrobe"
}'{
"search_parameters": {
"engine": "amazon_search",
"q": "bathrobe"
},
"products": [
{
"asin": "B084PBWBJR",
"title": "PAVILIA Premium Womens Plush Soft Robe, Fluffy Warm Fleece Sherpa Bathrobe",
"price": 42.52,
"price_text": "CAD 42.52",
"currency": "CAD",
"rating": 4.6,
"ratings_count": 13206,
"url": "https://www.amazon.com/dp/B084PBWBJR",
"image": "https://m.media-amazon.com/images/I/61VOJmplqeL._AC_UL320_.jpg",
"sponsored": false
},
{
"asin": "B07FZSP1BR",
"title": "Alexander Del Rossa Womens Robe, Long Fleece Bathrobe",
"price": 55,
"price_text": "CAD 55.00",
"currency": "CAD",
"rating": 4.7,
"ratings_count": 8941,
"url": "https://www.amazon.com/dp/B07FZSP1BR",
"sponsored": true
}
],
"total": 2,
"meta": {
"source": "amazon_search",
"elapsed_s": 1.212
}
}Every field, documented before you buy
What one POST /v1/amazon/search call returns: 13 fields with their type and a value from the example above, then every input the call takes.
In the response
| Field | Type | Example | What it is |
|---|---|---|---|
| products | array | ||
| products[].asin | string | "B084PBWBJR" | |
| products[].title | string | "PAVILIA Premium Womens Plush Soft Robe,…" | Title as the site shows it. |
| products[].price | number | 42.52 | The price as the site shows it, in currency. |
| products[].price_text | string | "CAD 42.52" | |
| products[].currency | string | "CAD" | ISO 4217 currency code of the prices. |
| products[].rating | number | 4.6 | Average rating on the site’s own scale. |
| products[].ratings_count | integer | 13206 | Number of ratings behind the average. |
| products[].url | string | "https://www.amazon.com/dp/B084PBWBJR" | Address of the page the data came from. |
| products[].image | string | "https://m.media-amazon.com/images/I/61V…" | Address of the main image. |
| products[].sponsored | boolean | false | |
| total | integer | 2 | Total for the whole stay or request, in currency. |
| meta | object | About the call: what was asked for and how big the answer is. |
Arrays show their first item; every item has the same fields. Full schema in the API reference
In the request
| Input | Type | Required | What it does |
|---|---|---|---|
| q | string | Required | Search query.Min length 1, max length 300. |
| page | integer | Optional | Result page.Default 1. Min 1, max 20. |
| sort | string | null | Optional | Amazon's own s= sort value; omit for Amazon's default. |
| min_rating | number | null | Optional | Amazon's customer-rating filter (0..4.5).Min 0, max 4.5. |
Endpoints and price per call
Credits per successful call, and what 1,000 calls cost: from a credit pack down to the Scale plan. Failed requests cost nothing.
| Endpoint | What it returns | Credits | Per 1,000 calls |
|---|---|---|---|
| Product search POST /v1/amazon/search | One page of about 48 products for a keyword, with Amazon’s sort orders and a minimum-rating filter | 2 credits | $4.00 – $1.20 |
| Ratings and reviews POST /v1/amazon/reviews | Star breakdown, ratings count and featured reviews for one ASIN | 2 credits | $4.00 – $1.20 |
Your first call in three steps
- 01
Get an API key
Create an account and verify your email, then copy a key from the dashboard. The free trial is 500 free calls, once, no card needed.
- 02
Send POST /v1/amazon/search
Put the key in the
x-api-keyheader and passq. Every other input is optional and listed above. - 03
Read the JSON
The answer is one JSON object with
products,totalandmeta, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.
Limits and coverage
- Where it works
- The point of sale Amazon picks for the request
- Up to 20 pages deep (
page)
Is it legal to scrape Amazon?
It depends on what you collect and what you do with it. Here is what the API does, and what stays with you once the data is yours.
Public pages only
The API reads what Amazon shows anyone who opens the page without signing in. It uses no account and opens nothing behind a paywall.
Facts are not the same as content
A price on a date, a rating or a count is a fact, and copyright does not protect facts. Review text, photos, descriptions and transcripts belong to their authors or the site. Counting, scoring or summarising them is a different use from republishing them, and republishing usually needs permission.
Databases have their own right in the EU and UK
Whoever invested in building a database there can stop others taking a substantial part of it, and repeated extraction of small parts can add up to a substantial part. Collect the fields and dates you need, not a copy of Amazon.
Personal data is yours to handle
Product reviews carry reviewer names; classifieds can carry a seller’s name or contact details. If you keep it, the GDPR and UK GDPR apply to people in Europe and the UK, and other places have their own privacy laws: you need a lawful basis, must tell people you hold their data unless an exemption applies, should collect no more than you need, and should delete it on a schedule. The simplest route is not to keep it: drop names and handles before you store anything. A hashed name is still personal data.
The site’s terms, and ours
The terms of use of Amazon may limit automated access to it or reuse of its data. Our Terms make you responsible for how you use the data you collect, for following the terms of the sites it comes from, for data protection law, and for having the rights you need.
This is general information, not legal advice. For a specific use, ask a lawyer where you operate. Amazon is a trademark of its owner. ScraperCompany is independent: not affiliated with or endorsed by Amazon, and this is not an official Amazon API.
Frequently asked questions
Read next
Guides
Does Amazon have an official API for product data?
Not one open to everyone. Amazon’s catalog API for affiliates, the Creators API, is the successor to the Product Advertising API and is available only to Amazon Associates whose accounts have recent qualifying sales. The Selling Partner API is for sellers and vendors managing their own listings and orders. ScraperCompany is independent of Amazon: this API reads the public amazon.com pages and needs no Associates or seller account.
How do I find a product’s ASIN?
Every search result carries asin, Amazon’s 10-character product ID. It is also in any amazon.com product URL after /dp/ (for amazon.com/dp/B084PBWBJR the ASIN is B084PBWBJR). Pass it to the reviews endpoint.
Which marketplace and currency are the prices in?
Search runs on amazon.com. Amazon displays prices in the visitor’s local currency and this API does not set a country, so a result can come back in USD, CAD or another currency. price_text keeps the price exactly as Amazon showed it and currency names the currency; prices are never relabelled as USD.
Can I get every review for a product?
No. Amazon shows the full review list only to signed-in users, so the reviews endpoint returns what the product page shows any visitor: the featured reviews, the percentage of ratings at each star level and the total ratings count. An answer takes seconds rather than under one.
How do paging and sorting work in search?
Each page returns about 48 products and page goes up to 20. sort takes Amazon’s own orders (featured, price low to high or high to low, average customer review, newest arrivals) and min_rating applies Amazon’s rating filter. Each page is a separate call, and an empty page is free.
Do failed requests cost credits?
No. A failed or blocked call (any 4xx or 5xx response) costs 0 credits, and so does a search page that comes back empty. You pay only for successful results.
How do I get an API key?
Create an account on the sign-up page and verify your email. You get a free trial of 500 free calls, once, no card needed; for everything else, and after the trial, buy a credit pack (from $20) or pick a plan. You create and rotate keys yourself in the dashboard.
More APIs on the same key
All APIsSearch walmart.com and get each item as JSON: item ID, name, brand, price, rating, review count and whether it is sponsored. Then page through an item’s reviews with Walmart’s own rating summary.
Craigslist APIPass a Craigslist city and search words, and get every result Craigslist shows for that search, up to about 350 in one call: title, price in the local currency, neighbourhood and the listing link.
Web scraping APISend a URL, get the page back as HTML, markdown or text. If an attempt does not return the page, the request is tried again automatically, and you pay only for a page that comes back with content.
Screenshot APISend a URL, get back an image of the page as a visitor sees it, after its JavaScript has run and its images have loaded. Pick the size, the format and what to capture: the viewport, the whole page or one element.
Start with 500 free calls
Create an account and verify your email: your own API keys and 500 free calls, once, no card needed. When you need more, pay $20 as you go or pick a plan from $39 a month.
No card needed. Then $20 for 10,000 credits, or plans from $39 a month.
- Failed calls cost 0 credits
- Cancel anytime
- Unused pack credits refundable for 60 days
- Public status page
- Talk to salesVolume, custom terms, invoices
- Read the quickstartFirst call in five minutes