Amazon Product Scraper API
Last updated: · REST · JSON
Send GET https://proxy.scrapier.io/api/v2/amazon-product/?query=keyboard with your key in the X-API-Key header. You get the page of products back as JSON. 1 credit per page of products; failed calls are free.
- 1 credit per page of products
- Failed calls free
- 3 parallel requests per key
Call the Amazon Product Scraper API
Use the Amazon Product Scraper API from your own apps, scripts or agents. You need a Scrapier account and the API key from your dashboard. Pick a language.
import requests# Replace YOUR_API_KEY with the key from your Scrapier dashboardAPI_KEY = "YOUR_API_KEY"params = { "query": "keyboard", "location_name": "United States", "set_delivery_location": "true", "depth": "100", "max_crawl_pages": "7",}r = requests.get( "https://proxy.scrapier.io/api/v2/amazon-product/", headers={"X-API-Key": API_KEY}, params=params, timeout=210,)r.raise_for_status()# The result sits under data.productsresult = r.json()["data"]["products"]print(result)
// Replace YOUR_API_KEY with the key from your Scrapier dashboardconst API_KEY = "YOUR_API_KEY";const params = new URLSearchParams({ query: "keyboard", location_name: "United States", set_delivery_location: "true", depth: "100", max_crawl_pages: "7",});const res = await fetch(`https://proxy.scrapier.io/api/v2/amazon-product/?${params}`, { headers: { "X-API-Key": API_KEY }, signal: AbortSignal.timeout(210_000),});if (!res.ok) throw new Error(`HTTP ${res.status}`);const { data } = await res.json();console.log(data.products);
# One GET request. The key goes in a header, never in the URL.GET /api/v2/amazon-product/?query=keyboard&location_name=United States&set_delivery_location=true&depth=100&max_crawl_pages=7 HTTP/1.1Host: proxy.scrapier.ioX-API-Key: YOUR_API_KEYAccept: application/json
# Scrapier publishes an OpenAPI spec that covers every endpoint. No API key needed.curl -O https://proxy.scrapier.io/api/v2/openapi.json# Import openapi.json into Postman, Insomnia, Bruno or a code generator,# then add your key as the X-API-Key header.
# 1. Add the Scrapier MCP server to Claude Codeclaude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"# 2. Ask your agent. It finds the endpoint with search_endpoints# and calls it with run_scrape:"Search Amazon for keyboard and list the top results with price, stars and review count"run_scrape("amazon-product", {query: "keyboard"})
Amazon Product Scraper API in Python
Plain requests is all you need — no SDK. Every response is typed JSON.
Install
Amazon Product Scraper API in JavaScript
Works in Node 18+, Deno, Bun and edge runtimes with the built-in fetch.
Check your setup
Amazon Product Scraper API over HTTP
One GET request. Auth is a single X-API-Key header.
Check your setup
Amazon Product Scraper API OpenAPI definition
Download the spec once, then import it into the tools you already use. No key is needed to fetch it.
Download the spec
Amazon Product Scraper API over MCP
The same endpoint is a tool call for Claude Code, Cursor and Windsurf. Same query, same 1 credit per page of products.
Install
Other ways to call it
Amazon Product Scraper API Interactive Playground
Edit the request, watch the code update, then run it. Without a key it shows the catalog sample and bills nothing. With your key it makes a real call from your browser; the key goes only to proxy.scrapier.io and is never stored.
GET /api/v2/amazon-product/?query=keyboardPress Run request to send it. Without a key you get the catalog sample.
Failed calls are not billed.
The sample is the same for every input: it shows the response shape, not the account you typed.
Example response, catalog sample from 9 Nov 2026
{
"success": true,
"data": {
"url": "https://www.amazon.com/s?k=iphone&language=en_US&page=1",
"mode": "search",
"page": 1,
"page_size": 20,
"keyword": "iphone",
"type": "organic",
"se_domain": "amazon.com",
"location_code": 2840,
"location_name": "United States",
"language_code": "en_US",
"check_url": "https://www.amazon.com/s?k=iphone&language=en_US&page=1",
"datetime": "2026-10-01 07:15:36 +00:00",
"spell": null,
"item_types": [
"amazon_serp",
"amazon_paid",
"related_searches"
],
"se_results_count": 268,
"total_pages": 17,
"categories": null,
"items_count": 16,
"tag": null,
"related_searches": {
"type": "related_searches",
"rank_group": 1,
"rank_absolute": 18,
"xpath": "/html[1]/body[1]/div[1]/div[1]/div[1]/div[1]/div[1]/span[1]/div[1]/div[24]",
"items": [
{
"type": "related_searches_element",
"title": "iphone 13",
"url": "https://www.amazon.com/s?k=iphone+13",
"image_alt": null,
"image_url": null
}
]
},
"editorial_recommendations": null,
"top_rated_from_our_brands": null,
"products": [
{
"type": "amazon_serp",
"rank_group": 1,
"rank_absolute": 1,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/div[1]/div[1]/div[1]/div[1]/span[1]/div[1]/div[4]",
"domain": "www.amazon.com",
"title": "iPhone 14, 128GB, Midnight - Unlocked (Renewed)",
"url": "https://www.amazon.com/Apple-iPhone-14-128GB-Midnight/dp/B0BN72FYFG/ref=sr_1_1",
"image_url": "https://m.media-amazon.com/images/I/61WUSYIQdKL._AC_UY218_.jpg",
"bought_past_month": 7000,
"price_from": 299.95,
"price_to": null,
"currency": "USD",
"special_offers": null,
"data_asin": "B0BN72FYFG",
"rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.0,
"votes_count": 13868,
"rating_max": 5
},
"is_amazon_choice": false,
"is_best_seller": true,
"delivery_info": {
"delivery_message": "FREE delivery Tomorrow, Oct 2",
"delivery_price": null
},
"labels": null,
"is_sponsored": false,
"bought_past_month_text": "7K+ bought in past month",
"best_seller_category": "in Renewed Smartphones",
"badges": [
"Best Seller"
],
"unit_price": null,
"more_buying_choices": {
"text": "More Buying Choices $273.00 (44+ used & new offers)",
"price": 273.0,
"offers_text": "44+ used & new offers"
},
"product_details": [
{
"key": "Memory",
"value": "128 GB"
},
{
"key": "Color",
"value": "Midnight"
}
],
"asin": "B0BN72FYFG",
"price": {
"value": 299.95,
"currency": "$"
},
"list_price": null,
"brand": "Amazon Renewed",
"stars": 4.0,
"reviews_count": 13868,
"in_stock": true,
"thumbnail_image": "https://m.media-amazon.com/images/I/61WUSYIQdKL._AC_UY218_.jpg",
"category_page_data": {
"page_number": 1,
"product_position": 1,
"is_sponsored": false
},
"loaded_country_code": "US",
"details_scraped": false,
"input_url": "https://www.amazon.com/s?k=iphone&language=en_US&page=1"
}
],
"next_cursor": "eyJjIjp7Li4ufSwiaCI6ImFiYzEyMyIsIm4iOjE2LCJwIjoyLCJ1IjoiaHR0cHM6Ly93d3cuYW1hem9uLmNvbS9zP2s9aXBob25lIn0"
}
}Data You Can Extract
Amazon Product Scraper reads Amazon product data and returns each product's ASIN, title, brand, price, stars, review count, bought-past-month figure, badges, stock flag and delivery info. Every field below comes from the catalog sample response, as typed JSON.
Identity
9 fields in the response.
- asin
- data_asin
- title
- brand
- url
- domain
- image_url
- thumbnail_image
- +1 more
Price and stock
10 fields in the response.
- price
- price_from
- price_to
- list_price
- currency
- special_offers
- unit_price
- in_stock
- +2 more
Ratings and demand
10 fields in the response.
- stars
- rating
- reviews_count
- bought_past_month
- bought_past_month_text
- is_best_seller
- best_seller_category
- is_amazon_choice
- +2 more
Placement and row context
10 fields in the response.
- type
- rank_group
- rank_absolute
- position
- xpath
- is_sponsored
- category_page_data
- loaded_country_code
- +2 more
Search context and paging
24 fields in the response.
- success
- data.url
- data.mode
- data.page
- data.page_size
- data.keyword
- data.type
- data.se_domain
- +16 more
Response Schema Reference
Every field in the sample response. Field names stay the same on every call.
| Field | Type | Example | Description |
|---|---|---|---|
products.asin | string | "B0BN72FYFG" | Amazon ASIN of the product |
products.data_asin | string | "B0BN72FYFG" | ASIN as given in the page data |
products.title | string | "iPhone 14, 128GB, Midnight - Unlocked (Rene…" | Product title |
products.brand | string | "Amazon Renewed" | Brand name |
products.url | string | "https://www.amazon.com/Apple-iPhone-14-128G…" | Product page URL |
products.domain | string | "www.amazon.com" | Amazon domain of the row |
products.image_url | string | "https://m.media-amazon.com/images/I/61WUSYI…" | Product image URL |
products.thumbnail_image | string | "https://m.media-amazon.com/images/I/61WUSYI…" | Thumbnail image URL |
products.product_details | array | 2 items | List of key and value pairs, for example Memory and 128 GB |
products.price | object | {…} | Object with value and currency symbol |
products.price_from | number | 299.95 | Price as a number |
products.price_to | null | null | End of a price range; null when there is none |
products.list_price | null | null | List price before a discount; null when none |
products.currency | string | "USD" | Currency code, for example USD |
products.special_offers | null | null | Special offers; null when none |
products.unit_price | null | null | Unit price; null when none |
products.in_stock | boolean | true | true when the product is in stock |
products.more_buying_choices | object | {…} | Object with text, price and offers_text for other offers |
products.delivery_info | object | {…} | Object with delivery_message and delivery_price |
products.stars | number | 4.0 | Average star rating |
products.rating | object | {…} | Rating object with value, votes_count and rating_max |
products.reviews_count | integer | 13868 | Number of ratings |
products.bought_past_month | integer | 7000 | Units bought in the past month, as a number; null when not shown |
products.bought_past_month_text | string | "7K+ bought in past month" | The same figure as Amazon words it, for example 7K+ bought in past month |
products.is_best_seller | boolean | true | true when the product carries a Best Seller badge |
products.best_seller_category | string | "in Renewed Smartphones" | Category of the Best Seller badge |
products.is_amazon_choice | boolean | false | true for an Amazon's Choice badge |
products.badges | array | 1 items | List of badges, for example Best Seller |
products.labels | null | null | Labels on the product; null when none |
products.type | string | "amazon_serp" | Result type, for example amazon_serp |
products.rank_group | integer | 1 | Rank within the result group |
products.rank_absolute | integer | 1 | Absolute rank on the page |
products.position | string | "left" | Side of the page the item sits on, for example left |
products.xpath | string | "/html[1]/body[1]/div[1]/div[1]/div[1]/div[1…" | XPath of the item on the page |
products.is_sponsored | boolean | false | true for a sponsored result |
products.category_page_data | object | {…} | Object with page_number, product_position and is_sponsored |
products.loaded_country_code | string | "US" | Country code of the marketplace loaded |
products.details_scraped | boolean | false | Flag from the scraper; false in the catalog sample |
products.input_url | string | "https://www.amazon.com/s?k=iphone&language=…" | URL the row was read from |
success | boolean | true | true on every 200 response |
data.url | string | "https://www.amazon.com/s?k=iphone&language=…" | URL the page was read from |
data.mode | string | "search" | Mode of the call, search in the catalog sample |
data.page | integer | 1 | Page number of this response |
data.page_size | integer | 20 | Products per page |
data.keyword | string | "iphone" | Keyword searched |
data.type | string | "organic" | Result type, organic in the catalog sample |
data.se_domain | string | "amazon.com" | Amazon domain used |
data.location_code | integer | 2840 | Numeric location code |
data.location_name | string | "United States" | Marketplace location used |
data.language_code | string | "en_US" | Storefront language code |
data.check_url | string | "https://www.amazon.com/s?k=iphone&language=…" | URL to check the search on Amazon |
data.datetime | string | "2026-10-01 07:15:36 +00:00" | Date and time of the scrape |
data.spell | null | null | Spelling correction; null when none |
data.item_types | array | 3 items | Types of items found, for example amazon_serp |
data.se_results_count | integer | 268 | Total results Amazon reports for the search |
data.total_pages | integer | 17 | Total result pages |
data.categories | null | null | Categories of the search; null when none |
data.items_count | integer | 16 | Items in this response |
data.tag | null | null | Your own identifier, echoed back; null when none |
data.related_searches | object | {…} | Related searches block with its items |
data.editorial_recommendations | null | null | Editorial recommendations; null when none |
data.top_rated_from_our_brands | null | null | Top rated from our brands block; null when none |
data.next_cursor | string | "eyJjIjp7Li4ufSwiaCI6ImFiYzEyMyIsIm4iOjE2LCJ…" | Pass back as cursor for the next page; null on the last page |
Request Parameters Reference
| Name | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
query | string | No | keyboard | Search keyword; builds the marketplace search URL when url is empty. Required on the first call unless url is given. Aliases: queries, keywords, keyword, q | keyboard |
url | string | No | — | An Amazon search or category URL, or a product /dp/ URL. Takes precedence over query. A product URL returns one result and a null cursor. Alias: urls | — |
cursor | string | No | — | Pass back data.next_cursor from the previous response, unchanged, to get the next page; null means the last page | — |
location_name | string | No | United States | Marketplace and delivery location, default United States. Sets the Amazon domain, currency and delivery ZIP. Options include United States, United Kingdom, Germany, France, Canada, India, Japan, Italy, Spain and more. Aliases: location, location_code, country | United States |
language_name | string | No | — | Storefront language, as a name such as English (United States) or a code such as en_US. Default: the marketplace language. Aliases: language, language_code | — |
se_domain | string | No | — | Amazon domain override, for example amazon.co.uk or amazon.de. Default: chosen from location_name | — |
zip_code | string | No | — | Delivery postal code override. Default: the marketplace capital, for example 10001 for the US. Aliases: postal_code, zip | — |
set_delivery_location | boolean | No | true | Pin the session delivery location to zip_code before scraping, default true. false uses the location Amazon infers from the proxy IP, and off-country IPs may get no prices | true |
price_min | integer | No | — | Minimum product price, in the marketplace currency | — |
price_max | integer | No | — | Maximum product price, in the marketplace currency | — |
sort_by | string | No | — | Result order. Default: Amazon's featured order. Options: relevance, featured, price_low_to_high, price_high_to_low, avg_customer_review, newest_arrival, best_sellers | — |
department | string | No | — | Amazon department such as Electronics, Books or Home & Kitchen, or a raw search alias like electronics | — |
search_param | string | No | — | Extra Amazon search URL parameters, for example &rh=p_72:1248882011. Ignored when price_min, price_max or sort_by is set | — |
tag | string | No | — | Your own identifier, up to 255 characters, echoed on every result | — |
depth | integer | No | 100 | Maximum products across all pages, organic and sponsored, default 100, maximum 700. Locked into the cursor. Alias: max_items | 100 |
max_crawl_pages | integer | No | 7 | Maximum search-result pages to walk, default 7; next_cursor is null after that page. Locked into the cursor. Alias: max_pages | 7 |
use_proxy | boolean | No | true | Route through Scrapier's residential proxy pool, on by default. Leave as is | true |
raw_data | boolean | No | false | Return Amazon's raw upstream payloads under raw_responses instead of the formatted items | true |
One keyword or URL per call: to read ten products or searches, make ten calls and page each search with cursor. Booleans are the strings true or false.
Pagination in the Amazon Product Scraper API
The Amazon Product Scraper API returns results in pages. Pass data.next_cursor back as cursor to get the next page; when it is null there are no more. Each successful call, first page or later, costs 1 credit.
Access Without Amazon Login
The Amazon Product Scraper API needs no Amazon account, no login and no session cookies. You send your Scrapier key in the X-API-Key header and get JSON back. It reads public data only: what any visitor sees without logging in.
Speed, Cost and Concurrency
| Metric | Value | Source |
|---|---|---|
| Cost of a successful call | 1 credit | Scrapier catalog |
| Cost of a failed call | 0 credits | Any non-2xx response |
| Parallel requests per key | 3 | Above that: 429 with Retry-After |
| Recommended client timeout | 210 seconds | Scrapier docs, every endpoint |
Latency of the Amazon Product Scraper API
Scrapier does not publish a latency or success-rate figure for this endpoint. Each call reads Amazon at call time, so response time depends on Amazon and on the size of the result. Set a client timeout of 210 seconds, as the docs recommend for every endpoint.
Limits of the Endpoint
Honest constraints of the Amazon Product Scraper API.
- Public data only.
- A failed call, for example a missing or unavailable page of products, returns a non-2xx status and costs 0 credits.
- Data is read live at call time.
- 3 parallel requests per key; above that the API answers
429withRetry-After. - Large results come in pages; pass
data.next_cursorback ascursor. - Fields Amazon does not show are not returned.
Scrapier vs the Official Amazon API
If you need a fully custom crawler or already run your own scraping stack, DIY gives more control; Scrapier suits teams that want one key and one JSON shape across many platforms.
| Feature | Scrapier Amazon Product Scraper | DIY Amazon scraping |
|---|---|---|
| Access needed | One Scrapier API key | Your own proxies, parser and servers |
| Which data | Search results or one product page, in the marketplace you pick | Whatever your parser extracts |
| Fields returned | 39 fields per product: ASIN, price, stars, reviews, badges and delivery info | Whatever you build and maintain |
| Setup | Sign up, copy a key, send a request | Write selectors, handle blocks and retries |
| Cost | 1 credit per call, from $1.20 per 1,000 calls | Proxy, server and engineering time |
Errors and Retry Handling
| Status | Meaning | Billed | Fix |
|---|---|---|---|
| 200 | Page of products data returned in data.products | Yes | — |
| 400 | Bad or missing input | No | Check query: one value per call |
| 401 | X-API-Key header missing | No | Add the header |
| 402 | Out of credits (body has balance) | No | Top up; retrying will not help |
| 403 | Invalid or revoked API key | No | Check the key in your dashboard |
| 429 | Throttled | No | Wait Retry-After seconds, then retry |
| 5xx | Upstream failure or timeout | No | Retry with backoff; set a 210 s client timeout |
From the error reference. Any non-2xx response costs 0 credits.
Retry logic for the Amazon Product Scraper API
import time, requests def get_product(value, key, tries=5): for attempt in range(tries): r = requests.get( "https://proxy.scrapier.io/api/v2/amazon-product/", headers={"X-API-Key": key}, params={"query": value}, timeout=210, ) if r.status_code == 429: time.sleep(int(r.headers.get("Retry-After", 2 ** attempt))) elif r.status_code >= 500: time.sleep(2 ** attempt) else: r.raise_for_status() return r.json() raise RuntimeError("gave up after retries")
Pricing and Rate Limits
| Plan | Monthly price | Pages Of Products included | Cost per 1,000 |
|---|---|---|---|
| Hobby | $29 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | $1.20 |
Billing rules for the Amazon Product Scraper API
The Amazon Product Scraper API bills 1 credit per successful page of products. Failed calls, meaning any non-2xx status, cost 0 credits. Every plan allows 3 parallel requests per key. The free tier lets you try it before you pay.
Bulk Lookups and CSV
query takes one value per call. For a list, loop and run up to 3 requests in parallel per key, then flatten each row into one CSV line.
import csv, requests from concurrent.futures import ThreadPoolExecutor values = ["keyboard"] # your list def fetch(value): r = requests.get( "https://proxy.scrapier.io/api/v2/amazon-product/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"query": value}, timeout=210, ) r.raise_for_status() out = r.json()["data"]["products"] return out if isinstance(out, list) else [out] # 3 parallel requests per key is the limit with ThreadPoolExecutor(max_workers=3) as pool: rows = [row for part in pool.map(fetch, values) for row in part] cols = ["asin", "title", "brand", "stars", "reviews_count", "bought_past_month"] with open("out.csv", "w", newline="") as f: w = csv.DictWriter(f, fieldnames=cols, extrasaction="ignore") w.writeheader() w.writerows(rows)
CSV export from the Amazon Product Scraper API
asin,title,brand,stars,reviews_count,bought_past_month B0BN72FYFG,iPhone 14, 128GB, Midnight - Unlocked (Renewed),Amazon Renewed,4.0,13868,7000
AI Agent Access via MCP
MCP for the Amazon Product Scraper API
The same endpoint is available to AI agents through the Scrapier MCP server at https://mcp.scrapier.io/mcp. One command registers it in Claude Code: claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY". The agent finds the endpoint with search_endpoints and calls it with run_scrape and the endpoint id amazon-product. It takes the same query input and costs the same 1 credit per page of products. Setup for every client is on the Amazon Product Scraper MCP page.
Integration Paths by Role
n8n and Make
- Add an HTTP Request step
- GET the endpoint with your
X-API-Keyheader - Map the
data.productsfields to your columns
Loop and paginate
MCP tool in your agent
Call run_scrape with endpoint amazon-product from Claude, Cursor or Windsurf. Setup is on the MCP page.
CSV and flattened JSON
Flatten each row into one CSV line, one column per field, ready for Sheets, Excel or a BI tool.
Legal and Compliance Notes
Scraping publicly available web pages is generally lawful in many countries, but the answer depends on what you collect, where you are and how you use it. In the US, hiQ Labs v. LinkedIn is the case most often cited on public-data scraping. Scrapier returns only data any visitor can see without logging in. Product listings contain product and price data, not personal data. Under GDPR and similar laws, collecting public data can be permissible, but how you store and use personal data must still comply with local data-protection rules, and Amazon's terms apply. Consult legal counsel if your use case involves bulk storage of personal data. This is not legal advice; see our Terms of Use.
Frequently Asked Questions
Is there a Amazon page of products API?
Yes. Scrapier's Amazon Product Scraper API returns any public page of products as JSON with one GET request and an X-API-Key header. No Amazon app or login.
How do I call it from Python?
Use <code>requests.get</code> on <code>https://proxy.scrapier.io/api/v2/amazon-product/</code> with <code>params={'query': 'keyboard'}</code> and <code>headers={"X-API-Key": KEY}</code>. Read <code>r.json()["data"]["products"]</code>.
What happens when a call fails?
Any non-200 response is free. Retry 429 and 5xx with backoff; the API already retries upstream failures.
How much does it cost?
1 credit per successful call — about $1.58 per 1,000 pages of products on the Pro plan. Failed calls are free.
Is there an OpenAPI spec?
Yes. It needs no key and covers every Scrapier endpoint.
Related Amazon APIs
Search API
Search results for one keyword on 8 Amazon marketplaces: ASIN, price, rating, review count, Prime flag and sales volume.
amReview API
Top reviews for one ASIN: rating, title, text, author, verified flag, helpful votes, variant and date.
amBest Sellers API
Ranked Best Sellers for a category URL: position, ASIN, price, stars, review count and subcategories.
amAll Amazon APIs
All 8 Amazon endpoints.
Fetch public Amazon pages of products as typed JSON in one request
1 credit per page of products · failed calls free