# Amazon Product Scraper - Search Results, Prices, Ratings, ASINs (`socialscrapers/amazon-product-scraper`) Actor

Scrape Amazon, no login: search results, categories, best sellers and product pages from 22 Amazon stores with ASIN, title, brand, price, list price, rating, reviews count, Prime, badges, best-seller rank, seller, bullets, images and variations. Export JSON, CSV, Excel. $0.94 per 1,000 products.

- **URL**: https://apify.com/socialscrapers/amazon-product-scraper.md
- **Developed by:** [Social Scrapers](https://apify.com/socialscrapers) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Amazon Product Scraper

**Amazon Product Scraper** extracts products from Amazon search results, categories, best-seller lists and product pages — without an Amazon account, cookies or login — in 22 Amazon stores (amazon.com, .co.uk, .de, .fr, .it, .es, .ca, .in, .co.jp, .com.au and more). Get each product's ASIN, title, brand, price, list price, currency, star rating, number of ratings, Prime, sponsored and badge flags, images and search position, and with product details on: availability, seller, category path, Best Sellers Rank, feature bullets, description, variations and the product facts table. It costs **$0.94 per 1,000 products**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does Amazon Product Scraper do?

- **Search Amazon like a shopper.** Type keywords such as `wireless earbuds`, pick the store, a sort order (featured, price, rating, newest, best sellers) and a price range.
- **Any Amazon link.** Paste search results, categories and departments (`/s?rh=n:…`, `/b?node=…`), a seller's storefront (`/s?me=…`), Best Sellers and New Releases lists, product pages and short links (a.co, amzn.to) from any Amazon store. Each link keeps its own filters.
- **Products by ASIN.** A list of ASINs or product URLs gives one complete item per product.
- **Past Amazon's page limit.** Amazon stops after 7 to 20 result pages, whatever the result count says. Set **Max products per search** to `0` (or above what the pages hold) and the scraper reads the same search again price range by price range, so a broad search returns thousands of products instead of a few hundred — each product once.
- **Product details when you need them.** Switch on **Include product details** to open each product page: availability and stock, seller and seller ID, ships from, category path, Best Sellers Rank, the "About this item" bullets, the description, every image in full size, the star breakdown, all variations (ASINs and their colors, sizes...) and the product facts table (weight, dimensions, model number, date first available...).
- **The store's own currency and language.** Prices come in the store's currency (USD on amazon.com, EUR on amazon.de, JPY on amazon.co.jp) as numbers, ready for spreadsheets.

### What data can you extract?

One item per product. Every field is always present; `null` or `[]` means Amazon shows nothing for it. Fields marked *details* are filled when **Include product details** is on (and always for products given by URL or ASIN).

| Field | Description |
|---|---|
| `asin`, `url`, `marketplace` | Amazon's product ID, the product page and the store |
| `title`, `subtitle`, `brand` | The product name (and the second line Amazon shows under short names), the brand |
| `price`, `listPrice`, `currency`, `unitPrice` | Price to pay, crossed-out list or typical price, ISO currency code, price per unit (e.g. `$0.76/feet`) |
| `rating`, `reviewsCount`, `starsBreakdown` | Average stars, number of ratings, share per star count (*details*) |
| `isPrime`, `isSponsored`, `isAmazonsChoice`, `isBestSeller`, `badges` | Prime, ad, Amazon's Choice and Best Seller flags, and every badge as shown ("Limited time deal"...) |
| `boughtPastMonth`, `promotion`, `delivery` | "1K+ bought in past month", coupon or promotion line, delivery line |
| `thumbnailUrl`, `images` | Main image, and every image in full size (*details*) |
| `availability`, `inStock` | Availability line and whether it can be bought now (*details*) |
| `seller`, `shipsFrom` | Seller name, seller ID and page, and who ships it (*details*) |
| `categories`, `bestSellersRank` | Category path and Best Sellers Rank per category (*details*) |
| `features`, `description` | The "About this item" bullets and the description (*details*) |
| `variationsCount`, `variationAsins`, `variationAttributes`, `parentAsin` | All variations of the product and their colors, sizes and styles (*details*) |
| `productDetails` | The product facts table: weight, dimensions, model, manufacturer, date first available, UPC... (*details*) |
| `position`, `page`, `searchKeyword`, `searchUrl` | Rank in the search or category, result page, and the search that found it |
| `input`, `inputType`, `detailsStatus`, `detailsNote` | Which input it came from, and whether its details were read (`ok`, `not_requested`, `unavailable`, `not_finished`, `not_found`) with the reason |
| `sourceUrl`, `scrapedAt` | The page the data was read from, and when |

### How to scrape Amazon products

1. Open the Actor and add search keywords, Amazon search or category URLs, or product URLs and ASINs.
2. Choose the **Amazon store** for keywords and ASINs, and a sort order or price range if you need them.
3. Set **Max products per search** (`0` = all of them) and switch on **Include product details** if you want availability, seller, rank, bullets and variations.
4. Click **Start**, then download the results as JSON, CSV, Excel, XML or HTML, or read them through the API.

### How much does it cost?

You pay per product delivered to the dataset: **$0.94 per 1,000 products**, with or without product details. Apify subscribers pay less: **Silver −10%** ($0.846 per 1,000) and **Gold −20%** ($0.752 per 1,000). Each run also carries Apify's standard Actor start charge of $0.0015 (one per GB of memory, at least one).

| Job | Products | Price (no discount) |
|---|---|---|
| Top 100 search results for 10 keywords | 1,000 | $0.94 |
| 500 products with full details (bullets, seller, rank, variations) | 500 | $0.47 |
| A whole category, past the page limit | 5,000 | $4.70 |
| Daily price check of 200 ASINs, for a month | 6,000 | $5.69 with 30 start charges |

Searches with no results, links that lead nowhere and products Amazon does not show cost nothing. To cap spending, set a **maximum total charge** in the run options: the Actor stops cleanly once it is reached and keeps everything collected so far.

### Input example

```json
{
    "searchKeywords": ["wireless earbuds", "usb c cable"],
    "startUrls": [
        { "url": "https://www.amazon.com/s?rh=n%3A12097478011" },
        { "url": "https://www.amazon.de/s?k=kopfh%C3%B6rer" }
    ],
    "productUrls": ["B014I8SSD0", "https://www.amazon.co.uk/dp/B08N5WRWNW"],
    "marketplace": "amazon.com",
    "maxItemsPerSearch": 100,
    "includeDetails": true,
    "sort": "best-sellers",
    "minPrice": 10,
    "maxPrice": 100
}
```

### Output example

```json
{
    "asin": "B014I8SSD0",
    "title": "Amazon Basics HDMI Cable, 6ft, 4K@60Hz, High-Speed 4K HDMI 2.0 Cord with Ethernet, 18Gbps, 2160p, 48 bit, Compatible with TV/PS5/Xbox/Roku/Blu-ray, Black",
    "subtitle": null,
    "brand": "Amazon Basics",
    "url": "https://www.amazon.com/dp/B014I8SSD0",
    "marketplace": "amazon.com",
    "price": 5.84,
    "listPrice": null,
    "currency": "USD",
    "unitPrice": null,
    "rating": 4.7,
    "reviewsCount": 284468,
    "starsBreakdown": { "1": 0.01, "2": 0.01, "3": 0.04, "4": 0.12, "5": 0.82 },
    "availability": "In Stock",
    "inStock": true,
    "isPrime": true,
    "isSponsored": false,
    "isAmazonsChoice": true,
    "isBestSeller": false,
    "badges": ["Amazon's Choice"],
    "boughtPastMonth": "10K+ bought in past month",
    "promotion": null,
    "delivery": "FREE delivery Tuesday, November 17 on orders shipped by Amazon over $35",
    "thumbnailUrl": "https://m.media-amazon.com/images/I/816qsbv4dbL._AC_SL1500_.jpg",
    "images": ["https://m.media-amazon.com/images/I/816qsbv4dbL._AC_SL1500_.jpg", "…"],
    "categories": ["Electronics", "Television & Video", "Accessories", "Cables", "HDMI Cables"],
    "bestSellersRank": [{ "rank": 517, "category": "Our Brands" }, { "rank": 9, "category": "HDMI Cables" }],
    "seller": { "name": "Amazon.com", "id": null, "url": null },
    "shipsFrom": null,
    "features": ["IN THE BOX: Amazon Basics HDMI cable (A Male to A Male) for connecting 2 HDMI-enabled devices…", "…"],
    "description": "An Amazon Brand. · Amazon Basics are the quality products you count on for all your everyday moments.",
    "variationsCount": 2,
    "variationAsins": ["B014I8SP4W", "B014I8SSD0"],
    "variationAttributes": { "size_name": ["3 Feet", "6 Feet"], "color_name": ["Black"] },
    "parentAsin": "B0BGNG1294",
    "productDetails": { "Item Weight": "87 g", "Model": "HL-007306", "Manufacturer": "Amazon", "UPC": "841710102130", "…": "…" },
    "position": 3,
    "page": 1,
    "searchKeyword": "hdmi cable",
    "searchUrl": "https://www.amazon.com/s?k=hdmi+cable",
    "input": "hdmi cable",
    "inputType": "keyword",
    "detailsStatus": "ok",
    "detailsNote": null,
    "sourceUrl": "https://www.amazon.com/dp/B014I8SSD0",
    "scrapedAt": "2026-11-13T00:00:00.000Z"
}
```

### Use cases

- **Price monitoring:** track prices, list prices, deals and coupons for your products and your competitors', in any Amazon store.
- **Market and category research:** what sells in a category, at which prices, with how many ratings, and which brands lead.
- **Product research for sellers:** find products with high demand ("bought in past month", Best Sellers Rank) and weak listings.
- **Search ranking:** see where products rank for a keyword, which results are ads, and which carry Amazon's Choice or Best Seller badges.
- **Catalog enrichment:** turn a list of ASINs into complete product records with bullets, descriptions, images, variations and facts.

### API, Python, JavaScript & integrations

Run the Actor from your own code with the Apify API and client libraries.

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('socialscrapers/amazon-product-scraper').call({
    searchKeywords: ['wireless earbuds'],
    marketplace: 'amazon.com',
    maxItemsPerSearch: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("socialscrapers/amazon-product-scraper").call(run_input={
    "productUrls": ["B014I8SSD0", "B08N5WRWNW"],
    "marketplace": "amazon.com",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["asin"], item["price"], item["availability"])
```

Connect it to **Make, Zapier, n8n, Google Sheets** and other tools with [Apify integrations](https://docs.apify.com/platform/integrations), get notified with [webhooks](https://docs.apify.com/platform/integrations/webhooks), run it on a [schedule](https://docs.apify.com/platform/schedules), or call it from AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Limits

- **Logged-out view.** The Actor sees what any visitor without an account sees. Customer reviews themselves are not part of the logged-out product page; the rating, the number of ratings and the star breakdown are.
- **Delivery location.** Availability, delivery lines and Prime flags are what Amazon shows to a visitor without a delivery address; a signed-in shopper with an address may see other delivery options.
- **Product details take longer.** Each product page is one more page to read, and Amazon sometimes declines to show one. Such a product is still returned with its search result fields, and `detailsStatus` says `unavailable`.
- **Amazon's own numbers.** Result counts ("over 20,000") and "bought in past month" are Amazon's rounded figures.
- **A run with 0 results still succeeds.** When a search has no results or a product does not exist, the run ends as Succeeded with a status message naming each input and why, and no results are charged. When nothing in the input can be used (links that are not Amazon's, a store the Actor does not read), the run also ends as Succeeded, with a status message that starts "Nothing to scrape:" and says why and how to fix the input; no results are charged. A run fails only when Amazon refuses every one of 3 or more inputs and an ordinary public search page as well.

### FAQ

**Is it legal to scrape Amazon?**
The Actor reads only public product information that Amazon shows to every visitor, without logging in. You are responsible for using the data lawfully, including Amazon's terms and the laws that apply to you.

**Do I need an Amazon account or cookies?**
No. The Actor works logged out.

**How many products can I get?**
Set **Max products per search** to `0` for everything a search or category offers. Amazon itself shows at most 7 to 20 pages per search; with **Go past the page limit** on, the Actor continues price range by price range, up to 400 result pages per search (about 6,000 to 19,000 products, depending on how many products a page shows).

**Which Amazon stores are supported?**
amazon.com, amazon.co.uk, amazon.de, amazon.fr, amazon.it, amazon.es, amazon.ca, amazon.in, amazon.co.jp, amazon.com.au, amazon.com.mx, amazon.com.br, amazon.nl, amazon.se, amazon.pl, amazon.com.tr, amazon.com.be, amazon.ie, amazon.ae, amazon.sa, amazon.sg and amazon.eg. Links from any of them work as they are.

**Why do some items have no details?**
Amazon declined to show that product's page after several tries, so the item keeps its search result fields and `detailsStatus` is `unavailable`. You are charged the same as for any product, as you get its search data; running the ASIN again later usually fills it in.

**Can I scrape Best Sellers lists?**
Yes: paste a Best Sellers or New Releases link and the Actor reads that category sorted by best selling (or newest).

**How fast is it?**
Search results alone come about a page (16 to 60 products) every few seconds per search, three searches at a time: in our tests 20 products took 4 seconds, and one broad search gave 1,025 different products, past Amazon's page limit, in 4.5 minutes. With product details each product page is read too: 1,000 products with details took 25 minutes. When Amazon declines many product pages in a row, the Actor reads fewer at a time until it answers again, so long detail runs can take longer; set a long enough run timeout, and the run saves everything it read if the timeout comes first.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Comments Scraper](https://apify.com/socialscrapers/instagram-comments-scraper) | Comments, Likes and Reply Counts |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Comments Scraper](https://apify.com/socialscrapers/reddit-comments-scraper) | Threads, Replies, Votes and Authors |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |

# Actor input Schema

## `searchKeywords` (type: `array`):

What you would type into Amazon's search box, one search per line, e.g. <code>wireless earbuds</code>. Each keyword is searched in the store chosen under <b>Amazon store</b>, with the sort and price range below.

## `startUrls` (type: `array`):

Amazon links copied from your browser, from any Amazon store: a search (<code>https://www.amazon.com/s?k=keyboard</code>), a category or department (<code>/s?rh=n%3A...</code> or <code>/b?node=...</code>), a seller's products (<code>/s?me=...</code>) or a Best Sellers or New Releases list (read as that category sorted by best selling or newest). A link keeps its own filters and sort. Product links and short links (a.co, amzn.to) work here too.

## `productUrls` (type: `array`):

Products to read directly: product links (<code>https://www.amazon.com/dp/B0D1XD1ZV3</code>, any store) or ASINs such as <code>B0D1XD1ZV3</code>. An ASIN is looked up in the store chosen under <b>Amazon store</b>. Each product gives one item with every detail field.

## `marketplace` (type: `string`):

The Amazon store for search keywords and ASINs. Prices are returned in that store's currency. URLs always use their own store.

## `maxItemsPerSearch` (type: `integer`):

How many products to collect from each search keyword and each search or category URL. <b>0 means all of them</b>: every page, and past Amazon's page limit by price range (see <b>Go past the page limit</b>).

## `includeDetails` (type: `boolean`):

Also open each product's page for its brand, availability, seller, category path, best-seller rank, feature bullets, description, all images, star breakdown, variations and product facts (weight, dimensions, model...). Slower than search results alone. A product page Amazon does not show is skipped: its item keeps the search result's fields and says so in <code>detailsStatus</code>.

## `sort` (type: `string`):

The order of keyword search results, as Amazon's own sort menu offers it.

## `minPrice` (type: `integer`):

Only products from this price on, in whole units of the store's currency (e.g. <code>25</code> for $25 on amazon.com). Applies to keyword searches.

## `maxPrice` (type: `integer`):

Only products up to this price, in whole units of the store's currency. Applies to keyword searches.

## `splitByPrice` (type: `boolean`):

Amazon stops after 7 to 20 result pages, whatever the result count says. When you want more products than that, the scraper reads the same search again price range by price range, each with its own pages, and never returns a product twice.

## `proxyConfiguration` (type: `object`):

Apify Proxy (the default) is recommended: the scraper picks the proxy type itself and its traffic is included in the price. Your own proxy URLs are used as given.

## Actor input object example

```json
{
  "searchKeywords": [
    "wireless earbuds"
  ],
  "marketplace": "amazon.com",
  "maxItemsPerSearch": 20,
  "includeDetails": false,
  "sort": "relevance",
  "splitByPrice": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchKeywords": [
        "wireless earbuds"
    ],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialscrapers/amazon-product-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchKeywords": ["wireless earbuds"],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("socialscrapers/amazon-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchKeywords": [
    "wireless earbuds"
  ],
  "maxItemsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call socialscrapers/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialscrapers/amazon-product-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KmHOUsdcPhcvzwlkx/builds/6Pg5PtbYAuQLT2cL7/openapi.json
