# Amazon ASINs Scraper (`junglee/amazon-asins-scraper`) Actor

Gets you product data from Amazon. Unofficial API. Scrapes and downloads product information without using the Amazon API, including reviews, prices, descriptions.

- **URL**: https://apify.com/junglee/amazon-asins-scraper.md
- **Developed by:** [Junglee](https://apify.com/junglee) (Apify)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2,317 total users, 124 monthly users, 99.9% runs succeeded, 43 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 results

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

### What can Amazon ASINs Scraper do?

Amazon ASINs Scraper will enable you to get more data from the [Amazon Store](https://www.amazon.com/) than the official Amazon API.

- Enter an ASIN and **get all data** associated with it in seconds
- Scrapes both **ASINs**, the unique number assigned to each product on Amazon, as well as **offers**, the section on a page that shows similar products from other sellers
- Discover **up-and-coming brands** and products by seeing what’s trending
- Scrape offers to track **competitors’ sales** and promotions
- Monitor the **performance** of (sub)categories for better market positioning
- Export data in multiple formats: **JSON, CSV, Excel, or HTML**
- Export via SDKs (Python & Node.js), use **API Endpoints**, **webhooks**, or integrate with workflows

### What data can I extract?

<table>
<tr>
<td>🆔 Titles</td>
<td>™️ Brands</td>
</tr>
<tr>
<td>💲 Prices</td>
<td>⭐ Stars</td>
</tr>
<tr>
<td>🗒️ Descriptions</td>
<td>🚀 Features</td>
</tr>
<tr>
<td>🫴 Offers</td>
<td>🤑 Seller data</td>
</tr>
</table>

### How to use Amazon ASINs Scraper

Amazon ASINs Scraper is designed with users in mind, even those who have never extracted data from the web before. Using it takes just a few steps.

1. [Create](https://console.apify.com/actors/ZhSGsaq9MHRnWtStl?addFromActorId=ZhSGsaq9MHRnWtStl) a free Apify account using your email
2. Open [Amazon ASINs Scraper](https://apify.com/junglee/amazon-asins-scraper)
3. Add one or more Amazon ASINs
4. Click the “Start” button and wait for the data to be extracted
5. Download your data in JSON, XML, CSV, Excel, or HTML

### Input

Input is simple: once in the Console for Amazon ASINs Scraper enter the ASINs you want to scrape in the relevant field and then select which Amazon store you want to scrape (the .com store by default).

With that done, click on “Start” and the Actor will get to work; scraping usually takes less than a minute per ASIN.

<a href="https://console.apify.com/actors/ZhSGsaq9MHRnWtStl/">
<img src="https://github.com/apify-projects/actor-readme-images/blob/master/amazon-asin-scraper-input.png?raw=true" alt="Amazon ASINs Scraper input" style="width:70%;">
</a>

### Output

The results will be wrapped into a dataset which you can find in the **Storage** tab. Here's an excerpt from the dataset you'd get if you apply the input parameters above:

<a href="https://console.apify.com/actors/ZhSGsaq9MHRnWtStl/">
<img src="https://github.com/apify-projects/actor-readme-images/blob/master/amazon-asin-scraper-output.png?raw=true" alt="Amazon ASINs Scraper output" style="width:70%;">
</a>

You can export data in almost any form, such as JSON, CSV, XML, or Excel. Here is what the data looks like in JSON:

```json
[
  {
    "thumbnailImage": "https://m.media-amazon.com/images/I/61mpMH5TzkL.__AC_SX300_SY300_QL70_FMwebp_.jpg",
    "asin": "B07GBZ4Q68",
    "title": "Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac",
    "description": "Logitech updated its iconic G502 gaming mouse to deliver even higher performance and more precise functionality than ever. The G502 Hero high Performance Gaming mouse is a top choice as a best rated gaming mouse, features the next generation Hero 16K Optical sensor, the highest performing and most efficient gaming sensor Logitech has ever made. An all-new lens and an updated tracking algorithm deliver ultra-precise tracking with no acceleration, smoothing, or filtering over the entire DPI range. This ergonomic gaming mouse allows you to customize RGB mouse lighting to match your style and environment or sync to other Logitech G products. No matter your gaming style, it works well for gamers looking for a gaming mouse with side buttons. It's easy to tweak G502 Hero to match your requirements, suitable for custom profiles for your games, adjustable sensitivity from 200 up to 16,000 DPI, and a tunable weight system for tuning and balancing of up to five 3.6G weights for just the right balance and feel.",
    "brand": "Logitech G",
    "stars": 4.6,
    "reviewsCount": 55283,
    "price.value": 42.99,
    "breadCrumbs": "Video Games > PC > Accessories > Gaming Mice",
    "url": "https://www.amazon.com/gp/product/B07GBZ4Q68?smid="
  },
  ]
```

### Want to scrape more Amazon data?

If you’d like to scrape more data from Amazon, give any of the following Actors a try.

<table>
<tr>
<td>📚 <a href="[https://apify.com/junglee/amazon-crawler](https://apify.com/junglee/amazon-crawler)">Amazon Product Scraper</a></td>
<td>📔 <a href="[https://apify.com/junglee/amazon-reviews-scraper](https://apify.com/junglee/amazon-reviews-scraper)">Amazon Reviews Scraper</a></td>
</tr>
<tr>
<td>💰 <a href="[https://apify.com/junglee/amazon-bestsellers](https://apify.com/junglee/amazon-bestsellers)">Amazon Bestsellers Scraper</a></td>
<td>👨‍🦲 <a href="[https://apify.com/junglee/free-amazon-product-scraper](https://apify.com/junglee/free-amazon-product-scraper)">Amazon Scraper</a></td>
</tr>
<tr>
<td>👥 <a href="[https://apify.com/junglee/amazon-seller-scraper](https://apify.com/junglee/amazon-seller-scraper)">Amazon Seller Scraper</a></td>
<td>📈 <a href="[https://apify.com/junglee/amazon-price-tracker](https://apify.com/junglee/amazon-price-tracker)">Amazon Price Tracker</a></td>
</tr>
</table>

### Error items

When the scraper cannot retrieve data for a given input — for example a product ASIN returns a 404 or a start URL is malformed — it pushes an **error item** to the dataset instead of silently skipping it. Normal output items are never affected; you can tell them apart by the presence of an `error` field.

#### Error item structure

```json
{
    "error": "product_not_found",
    "errorDescription": "Loaded a 404 page. The product does not exist.",
    "input": "https://www.amazon.com/dp/B0XXXXXXXX",
    "url": "https://www.amazon.com/dp/B0XXXXXXXX"
}
```

#### Error codes reference

| `error`                          | Meaning                                                        |
| -------------------------------- | -------------------------------------------------------------- |
| `invalid_url`                    | One or more start URLs were malformed or not recognized        |
| `invalid_input`                  | Actor failed due to bad configuration (run is also terminated) |
| `product_not_found`              | Product URL returns a 404 page                                 |
| `shortened_url_invalid`          | Amazon shortened URL could not be resolved                     |
| `bestsellers_category_not_found` | Bestsellers category page could not be found                   |
| `no_relevant_reviews_found`      | Reviews exist but none match the active filters                |
| `no_results_found`               | No results were found for the given input                      |

***

### FAQ

#### Can I use integrations with Amazon ASINs Scraper?

You can integrate Amazon ASINs Scraper with almost any cloud service or web app. We offer integrations with [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive), [and plenty more](https://docs.apify.com/integrations).

Alternatively, you could us [webhooks](https://docs.apify.com/integrations/webhooks) to carry out an action whenever an event occurs, such as getting a notification whenever Amazon ASINs Scraper successfully finishes a run.

#### How much will using Amazon ASINs Scraper cost you?

Amazon ASINs Scraper works on our rental model, meaning that you pay $40 per month for unlimited usage, though you will still have to pay a small fee for usage of the Apify platform.

The $40 fee is subtracted from your pre-paid account, while you can reduce the cost of platform usage by subscribing to our higher tier [pricing plans](https://apify.com/pricing). For more details, take a look at the [pricing tab](https://apify.com/junglee/amazon-asins-scraper/pricing).

#### Can I use Amazon ASINs Scraper with the Apify API?

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify Actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the `apify-client` [NPM package](https://apify.com/junglee/amazon-asins-scraper/api/javascript). To access the API using Python, use the `apify-client` [PyPI package](https://apify.com/junglee/amazon-asins-scraper/api/python).

Click on the [API tab](https://apify.com/junglee/amazon-asins-scraper/api/openapi) for code examples, or check out the [Apify API reference](https://docs.apify.com/api/v2) docs for all the details.

#### Can I use Amazon ASINs Scraper through an MCP Server?

With Apify API, you can use almost any Actor in conjunction with an MCP server. You can connect to the MCP server using clients like ClaudeDesktop and LibreChat, or even build your own. Read all about how you can [set up Apify Actors with MCP](https://blog.apify.com/how-to-use-mcp/).

For Amazon ASINs Scraper, go to the [MCP tab](https://apify.com/junglee/amazon-asins-scraper/api/mcp) and then go through the following steps:

1. Start a Server-Sent Events (SSE) session to receive a `sessionId`
2. Send API messages using that `sessionId` to trigger the scraper
3. The message starts the Amazon ASINs Scraper with the provided input
4. The response should be: `Accepted`

#### Is it legal to scrape Amazon?

Our scrapers do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly.

However, you should be aware that your results could contain personal data. Personal data is protected by the [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) in the European Union and by other regulations around the world. You
should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

#### Your feedback

We’re always working on improving the performance of our Actors. If you have any technical feedback for Amazon ASINs Scraper or found a bug, please create an issue in the [Issues tab](https://apify.com/junglee/amazon-asins-scraper/issues/open).

# Changelog

This Actor's version history is a separate document: https://apify.com/junglee/amazon-asins-scraper/changelog.md

# Actor input Schema

## `asins` (type: `array`):

Enter one or more Amazon ASINs you want to scrape.

## `amazonDomain` (type: `string`):

Base amazon domain. If not specified amazon.com is used.

## `language` (type: `string`):

Language to use on Amazon.

**Disclaimer**: each Amazon domain has a different set of supported languages. If you choose a language that is not supported by the domain, the scraper will use the default language of the domain.

## `proxyCountry` (type: `string`):

You can set proxy country to **avoid geo-blocking** and **access region-specific content**. Amazon shows you the products that can be shipped to your address based on the proxy you use.

By default, the scraper **automatically selects** the **proxy country** based on the used Amazon website domain, ensuring low blocking rates and results relevant to the base domain.

## `useCaptchaSolver` (type: `boolean`):

If enabled the scraper will automatically solve captchas thrown by Amazon. This will decrease the amount of request retries and increase the speed of the scraper.<br><br>***IMPORTANT*** - This option works well only for the `'.com'` Amazon domain, but even for that one Amazon doesn't show a few product fields after solving a captcha (specifically: 'attributes', 'manufacturer attributes', and 'bestseller ranks')

## Actor input object example

```json
{
  "asins": [
    "B07GBZ4Q68"
  ],
  "amazonDomain": "amazon.com",
  "language": "en",
  "proxyCountry": "AUTO_SELECT_PROXY_COUNTRY",
  "useCaptchaSolver": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped product data

# 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 = {
    "asins": [
        "B07GBZ4Q68"
    ],
    "amazonDomain": "amazon.com",
    "proxyCountry": "AUTO_SELECT_PROXY_COUNTRY"
};

// Run the Actor and wait for it to finish
const run = await client.actor("junglee/amazon-asins-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 = {
    "asins": ["B07GBZ4Q68"],
    "amazonDomain": "amazon.com",
    "proxyCountry": "AUTO_SELECT_PROXY_COUNTRY",
}

# Run the Actor and wait for it to finish
run = client.actor("junglee/amazon-asins-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 '{
  "asins": [
    "B07GBZ4Q68"
  ],
  "amazonDomain": "amazon.com",
  "proxyCountry": "AUTO_SELECT_PROXY_COUNTRY"
}' |
apify call junglee/amazon-asins-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,junglee/amazon-asins-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/ZhSGsaq9MHRnWtStl/builds/tdgtmkPFA5pgyDmV3/openapi.json
