# Amazon Product Scraper (`yasmany.casanova/amazon-asin-scraper`) Actor

Extract full Amazon product data by ASIN across 7 countries (Brazil, US, UK, Germany, France, Spain, Italy): price in local currency, original price, discount, rating, reviews, seller, stock, Best Sellers Rank, category, images and more — as clean, structured JSON.

- **URL**: https://apify.com/yasmany.casanova/amazon-asin-scraper.md
- **Developed by:** [Yasmany Grijalba Casanova](https://apify.com/yasmany.casanova) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.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.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Amazon Product Scraper by ASIN

Get the **full details** of any Amazon product by its **ASIN** across major countries — price in local currency, original price, discount, rating, reviews, seller, stock, Best Sellers Rank, breadcrumb, images, coupon, and the complete structured product data.

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue?logo=apify)](https://apify.com)
[![Markets](https://img.shields.io/badge/Markets-7%20Countries-green)](https://www.amazon.com)

---

> ℹ️ **Zero configuration**
> Provide an ASIN, pick a country, and run it — results are ready in seconds.

---

### Quick Start

```json
{
  "asin": "B0CDJ4L7CZ",
  "country": "br"
}
````

> **Tip**: The ASIN is the 10-character code in any Amazon product URL — `amazon.com.br/dp/B0CDJ4L7CZ` → `B0CDJ4L7CZ`.

#### More examples

<details>
<summary>Fetch a product from amazon.com (US)</summary>

```json
{
  "asin": "B08N5WRWNW",
  "country": "us"
}
```

</details>

<details>
<summary>Fetch a product from amazon.de (Germany)</summary>

```json
{
  "asin": "B09XYZ1234",
  "country": "de"
}
```

</details>

***

### Supported Countries

Pick one — the domain, language, currency, and delivery region are set automatically.

| Country | `country` | Domain | Currency |
|---------|-----------|--------|----------|
| Brazil (default) | `br` | amazon.com.br | BRL |
| United States | `us` | amazon.com | USD |
| United Kingdom | `uk` | amazon.co.uk | GBP |
| Germany | `de` | amazon.de | EUR |
| France | `fr` | amazon.fr | EUR |
| Spain | `es` | amazon.es | EUR |
| Italy | `it` | amazon.it | EUR |

***

### Features

| Feature | Description |
|---------|-------------|
| **7 Countries** | Brazil, US, UK, Germany, France, Spain, Italy — prices in local currency |
| **Complete Product Data** | Price, discount, rating, seller, stock, Best Sellers Rank, breadcrumb, images, coupon |
| **Full Structured Output** | Every detail in a clean, validated JSON record |
| **One-Click Country** | Choose a country; locale and currency are set for you |

***

### Use Cases

- **E-commerce & Product Research** — Pull full catalog data for any ASIN to enrich your own listings
- **Competitor Analysis** — Track a competitor's price, discount, seller, and Best Sellers Rank over time
- **Cross-Market Pricing** — Compare the same product across countries
- **Price Monitoring** — Run periodically per ASIN to detect price changes and coupons

***

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `asin` | string | — | Amazon ASIN, 10 uppercase alphanumeric characters (**required**) |
| `country` | string | `br` | Country to query (`br`, `us`, `uk`, `de`, `fr`, `es`, `it`) |

***

### Output Example

Fields are grouped logically: identity → pricing → ratings → availability & seller → category & ranking → media → `additional_details`.

```json
[
  {
    "record_type": "product",
    "asin_query": "B0CDJ4L7CZ",
    "country": "br",

    "sku": "B0CDJ4L7CZ",
    "name": "Sanduicheira Eletrica Cadence Click - 127V",
    "brand": "Cadence",
    "manufacturer": "Cadence",
    "parent_asin": "B0FH2TPKG4",
    "url": "https://www.amazon.com.br/dp/B0CDJ4L7CZ?language=pt_BR",

    "price": 92.67,
    "original_price": 159.78,
    "discount_percentage": 42,
    "coupon_discount_percentage": null,

    "rating": 4.8,
    "review_count": 18017,

    "in_stock": true,
    "max_quantity": 10,
    "is_prime": true,
    "sold_by": "Amazon.com.br",
    "shipped_by": "Amazon.com.br",

    "category_path": "Cozinha > Eletroportateis > Sanduicheiras",
    "sales_rank_top": 3,
    "sales_rank_top_category": "Cozinha",

    "image_url": "https://m.media-amazon.com/images/I/51UxR8FHe-L._AC_SL1000_.jpg",
    "images_count": 9,
    "bullet_points": "...",

    "additional_details": { "...": "buybox, variations, reviews, specs, ..." },

    "scraped_at": "2026-05-18T22:44:00.000Z"
  }
]
```

**Note**: `coupon_discount_percentage`, `parent_asin`, and `original_price` are included when applicable to the product. `in_stock` is `true`, `false`, or `null` when availability is not published.

***

### Data Fields

| Field | Type | Description |
|-------|------|-------------|
| `record_type` | string | Row type: `product` for a result, `not_found` when the ASIN has no listing |
| `sku` | string | The product ASIN |
| `asin_query` | string | The ASIN that was requested |
| `country` | string | Country the product was fetched from |
| `name` | string | Product name |
| `brand` / `manufacturer` | string | Brand and manufacturer |
| `price` | number | Current price in the country's currency |
| `original_price` | number | Price before discount, when applicable |
| `discount_percentage` | number | Discount percent |
| `rating` | number | Average rating (1.0–5.0) |
| `review_count` | number | Number of reviews |
| `image_url` / `images_count` | string / number | Main image and total image count |
| `shipped_by` / `sold_by` | string | Fulfillment and seller |
| `in_stock` | boolean | Availability (`null` when not published) |
| `is_prime` | boolean | Prime eligibility |
| `coupon_discount_percentage` | number | Coupon discount, when present |
| `parent_asin` | string | Parent ASIN for variation products |
| `max_quantity` | number | Maximum purchasable quantity |
| `category_path` | string | Category breadcrumb (`A > B > C`) |
| `bullet_points` | string | Product highlights |
| `sales_rank_top` / `sales_rank_top_category` | number / string | Best Sellers Rank and its category |
| `additional_details` | object | Complete structured product payload (buybox, variations, reviews, specs, …) |
| `scraped_at` | string | ISO 8601 timestamp (UTC) |

***

### Integrations

Use the **API** tab on the Actor page to get ready-to-use code examples in **Python**, **JavaScript**, and **cURL**, generated with the correct parameters for immediate integration.

***

### Example ASINs

| Country | ASIN |
|---------|------|
| Brazil (`br`) | `B0CDJ4L7CZ` |
| United States (`us`) | `B08N5WRWNW` |

***

### FAQ

<details>
<summary><strong>What does a "not_found" result mean?</strong></summary>

The ASIN does not have a listing in the selected country, or is not currently available there. Verify the ASIN and that `country` matches where the product is sold.

</details>

<details>
<summary><strong>Which currency are prices in?</strong></summary>

Prices are returned in the local currency of the selected country — BRL for Brazil, USD for the US, GBP for the UK, and EUR for Germany, France, Spain, and Italy.

</details>

<details>
<summary><strong>Why are some fields empty?</strong></summary>

Fields like coupon, parent ASIN, original price, and availability are only included when Amazon publishes them for that product. Installment information is not available for this product type.

</details>

***

### Support

1. **Check the FAQ** above for common questions
2. **Test with the prefilled example** to confirm expected output
3. **Contact support** through [Apify](https://apify.com) for additional assistance

# Actor input Schema

## `asin` (type: `string`):

Amazon Standard Identification Number - 10 uppercase alphanumeric characters (e.g., B0CDJ4L7CZ).

## `country` (type: `string`):

Amazon country to query. The domain, language, currency, and delivery region are set automatically for the selected country.

## Actor input object example

```json
{
  "asin": "B0CDJ4L7CZ",
  "country": "br"
}
```

# Actor output Schema

## `products` (type: `string`):

Amazon product details extracted by ASIN (logically-ordered product fields + additional\_details with the full structured payload)

# 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 = {
    "asin": "B0CDJ4L7CZ",
    "country": "br"
};

// Run the Actor and wait for it to finish
const run = await client.actor("yasmany.casanova/amazon-asin-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 = {
    "asin": "B0CDJ4L7CZ",
    "country": "br",
}

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

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

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

```

## CLI example

```bash
echo '{
  "asin": "B0CDJ4L7CZ",
  "country": "br"
}' |
apify call yasmany.casanova/amazon-asin-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=yasmany.casanova/amazon-asin-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Product Scraper",
        "description": "Extract full Amazon product data by ASIN across 7 countries (Brazil, US, UK, Germany, France, Spain, Italy): price in local currency, original price, discount, rating, reviews, seller, stock, Best Sellers Rank, category, images and more — as clean, structured JSON.",
        "version": "1.0",
        "x-build-id": "lHrstL4J5wO8Ezu4G"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/yasmany.casanova~amazon-asin-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-yasmany.casanova-amazon-asin-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/yasmany.casanova~amazon-asin-scraper/runs": {
            "post": {
                "operationId": "runs-sync-yasmany.casanova-amazon-asin-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/yasmany.casanova~amazon-asin-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-yasmany.casanova-amazon-asin-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "asin"
                ],
                "properties": {
                    "asin": {
                        "title": "ASIN",
                        "type": "string",
                        "description": "Amazon Standard Identification Number - 10 uppercase alphanumeric characters (e.g., B0CDJ4L7CZ)."
                    },
                    "country": {
                        "title": "Country / Marketplace",
                        "enum": [
                            "br",
                            "us",
                            "uk",
                            "de",
                            "fr",
                            "es",
                            "it"
                        ],
                        "type": "string",
                        "description": "Amazon country to query. The domain, language, currency, and delivery region are set automatically for the selected country.",
                        "default": "br"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
