# Amazon India Product Scraper (`w3crawler/amazon-product-scraper`) Actor

Scrape product listings from Amazon.in based on search term, ASINs, product URLs, or category URLs with detailed product information.

- **URL**: https://apify.com/w3crawler/amazon-product-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 6 total users, 1 monthly users, 91.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 India Product Scraper

Extract source-backed product records from public Amazon.in search, category, product, and ASIN targets. Choose a search phrase, a search or category URL, direct product URLs, or ASINs; the Actor resolves product links, fetches each public detail page, and returns identity, pricing, availability, ratings, media, seller, delivery, variant, and optional review data when Amazon exposes it.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/amazon-product-scraper) and select **Try for free** or open the **Input** tab.
2. Choose a `mode` and provide its matching target: `searchQuery`, `searchUrl`, `categoryUrl`, `productUrls`, or `asins`.
3. Keep `maxItems` and the other limits small for the first run.
4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the outcome and counts.

### Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `mode` | string enum | Optional | `search` | Targeting method: `search`, `productUrl`, `searchUrl`, `categoryUrl`, or `asin`. |
| `asins` | string array | Optional | Not supplied | Ten-character ASINs used with `mode: "asin"`; at most `maxItems` are read. |
| `searchQuery` | string | Optional | `laptop` | Search phrase used with `mode: "search"`. |
| `productUrls` | string array | Optional | Not supplied | Public Amazon.in product URLs used with `mode: "productUrl"`. |
| `searchUrl` | string | Optional | Not supplied | Full public Amazon.in search URL used with `mode: "searchUrl"`. |
| `categoryUrl` | string | Optional | Not supplied | Public Amazon.in category or bestseller URL used with `mode: "categoryUrl"`. |
| `maxItems` | integer | Optional | `10` | Global cap on product detail URLs, from 1 through 1000. |
| `deepProductScraping` | boolean | Optional | `true` | Compatibility flag; detail pages are always verified for rich public data. |
| `productReviews` | boolean | Optional | `false` | Include up to 10 public review cards per product when the page exposes them. |
| `requestDelayMs` | integer | Optional | `600` | Delay between serialized listing and detail requests, 0–60,000 ms. |
| `requestTimeoutMs` | integer | Optional | `60000` | Per-request timeout, 5,000–120,000 ms. |
| `headless` | boolean | Optional | `true` | Compatibility field; ignored by the direct-only runner. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional standard Apify Proxy configuration; direct access is attempted first. |
| `maxProxyAttempts` | integer | Optional | `2` | Maximum fresh sticky proxy sessions tried after a direct request is blocked or unavailable, 1–5. |

Full default input:

```json
{
  "mode": "search",
  "searchQuery": "laptop",
  "maxItems": 10,
  "deepProductScraping": true,
  "productReviews": false,
  "requestDelayMs": 600,
  "requestTimeoutMs": 60000,
  "headless": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxProxyAttempts": 2
}
```

The Actor reads public data from Amazon.in. Optional `proxyConfiguration` uses the standard Apify Proxy settings. Browser fallback is bounded by the selected limits.

### Output

The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `sourceUrl` | string | Always | Exact public URL requested for the product or listing page. |
| `canonicalUrl` | string | Always | Canonical public product URL. |
| `productUrl` | string | Always | Normalized public product URL alias. |
| `title` | string | Always | Product title as displayed on Amazon.in. |
| `url` | string | Always | Canonical Amazon.in product URL. |
| `asin` | string | Always | Amazon Standard Identification Number. |
| `originalAsin` | string | Always | Original ASIN captured before any URL normalization. |
| `price` | object | string | When published | Current selling price. Detail extraction returns a money object; shallow listing extraction may retain the displayed text. |
| `inStock` | boolean | When published | Whether the product appears available for purchase. |
| `inStockText` | string | When published | Availability text captured from the product page or listing card. |
| `listPrice` | object | string | When published | List, MRP, or crossed-out price when present. |
| `brand` | string | When published | Brand or manufacturer name. |
| `author` | string | When published | Author name for book products when available. |
| `shippingPrice` | object | string | When published | Shipping price when the page exposes one. |
| `stars` | number | When published | Average customer rating out of five. |
| `starsBreakdown` | object | When published | Share of ratings for each star level. |
| `reviewsCount` | integer | When published | Total number of customer reviews shown by Amazon. |
| `answeredQuestions` | integer | When published | Number of answered customer questions when displayed. |
| `breadCrumbs` | string | When published | Product category path joined with greater-than separators. |
| `videosCount` | integer | When published | Number of product videos detected on the page. |
| `visitStoreLink` | object | When published | Brand-store label and link. |
| `thumbnailImage` | string | When published | Primary product image URL. |
| `galleryThumbnails` | string array | When published | Product gallery thumbnail URLs. |
| `highResolutionImages` | string array | When published | High-resolution product image URLs. |
| `importantInformation` | string | When published | Important product information block when available. |
| `sustainabilityFeatures` | string array | When published | Sustainability statements or features. |
| `description` | string | When published | Product description text. |
| `features` | string array | When published | About-this-item feature bullets. |
| `attributes` | object array | When published | Technical and product-information attributes. |
| `productOverview` | object array | When published | Short product-overview attributes. |
| `variantAsins` | string array | When published | ASINs for detected product variants. |
| `variantDetails` | object array | When published | Variant detail objects when the page exposes them. |
| `variantAttributes` | object array | When published | Variant attribute objects when the page exposes them. |
| `reviewsLink` | string | When published | Amazon customer-reviews URL for the product. |
| `hasReviews` | boolean | When published | Whether Amazon reports one or more reviews. |
| `delivery` | string | When published | Primary delivery message. |
| `fastestDelivery` | string | When published | Fastest delivery message when shown. |
| `condition` | string | When published | Product condition when exposed. |
| `returnPolicy` | string | When published | Return-policy text when exposed. |
| `support` | string | When published | Support information when exposed. |
| `seller` | object | string | When published | Seller identity and profile details. |
| `bestsellerRanks` | object array | When published | Best-seller rank entries found in product details. |
| `isAmazonChoice` | boolean | When published | Whether the Amazon's Choice badge was detected. |
| `amazonChoiceText` | string | When published | Amazon's Choice badge text. |
| `bookDescription` | string | When published | Book-specific description when available. |
| `priceRange` | object | When published | Price range when a product exposes multiple prices. |
| `aPlusContent` | object | When published | A+ manufacturer content, images, and modules. |
| `brandStory` | object | When published | Brand-story content when available. |
| `productComparison` | object | When published | Product-comparison content when available. |
| `aiReviewsSummary` | object | When published | Amazon-generated review summary when available. |
| `monthlyPurchaseVolume` | string | When published | Monthly purchase-volume text when displayed. |
| `productPageReviews` | object array | When published | Review cards detected on the product page. |
| `productPageReviewsFromOtherCountries` | object array | When published | Review cards attributed to other countries when available. |
| `locationText` | string | When published | Delivery-location text shown by Amazon. |
| `loadedCountryCode` | string | When published | Country code for the loaded marketplace. |
| `offers` | object array | When published | Offer objects when the page exposes them. |
| `unNormalizedProductUrl` | string | When published | Original product URL before canonicalization. |
| `categoryPageData` | object | When published | Category or listing position metadata when available. |
| `input` | string | Always | Input URL or identifier used to select the product. |
| `manufacturerAttributes` | object array | When published | Manufacturer attribute objects when available. |
| `reviews` | object array | When published | Up to ten optional customer reviews extracted when `productReviews` is enabled. |
| `scrapedAt` | string | Always | Time the product row was saved, in ISO UTC. |
| `originalPrice` | string | When published | Raw displayed list-price text from a shallow listing card. |
| `discount` | string | When published | Raw discount text from a legacy listing-card extractor. |
| `rating` | string | When published | Raw displayed rating text from a shallow listing card. |
| `reviewCount` | integer | When published | Raw review count field from a shallow listing card. |
| `imageUrl` | string | When published | Raw primary image field from a shallow listing card. |
| `hasPrime` | boolean | When published | Whether a Prime badge was detected on a listing card. |
| `deliveryInfo` | string | When published | Raw delivery text from a listing card. |
| `isPrime` | boolean | When published | Legacy listing field indicating a Prime badge. |
| `isSponsored` | boolean | When published | Whether a listing card was sponsored. |
| `availability` | string | When published | Legacy listing availability text. |

The example below is a real saved row from the 2026-10-25 run, limited to fields declared in the dataset schema and to core fields for readability; long arrays or strings are shortened.

```json
{
  "sourceUrl": "https://www.amazon.in/dp/B0FMDL81GS",
  "canonicalUrl": "https://www.amazon.in/dp/B0FMDL81GS",
  "productUrl": "https://www.amazon.in/dp/B0FMDL81GS",
  "title": "OnePlus Nord Buds 3r TWS Earbuds up to 54 Hours Playback, 2-mic Clear Calls, 3D Spatial Audio, AI Translation, 12.4mm Drivers, Dual-Device Connectivity, 47ms Low Latency - Ash Black",
  "url": "https://www.amazon.in/dp/B0FMDL81GS",
  "asin": "B0FMDL81GS",
  "originalAsin": "B0FMDL81GS",
  "price": {
    "value": 1879,
    "currency": "INR"
  },
  "inStock": true,
  "inStockText": "In stock",
  "listPrice": {
    "value": 1999,
    "currency": "INR"
  },
  "brand": "OnePlus",
  "shippingPrice": {
    "value": 0,
    "currency": "INR"
  },
  "stars": 4.3,
  "starsBreakdown": {
    "5star": 0.63,
    "4star": 0.21,
    "3star": 0.07,
    "2star": 0.02,
    "1star": 0.07
  },
  "reviewsCount": 52219,
  "breadCrumbs": "Electronics > Headphones, Earbuds & Accessories > Headphones > In-Ear",
  "videosCount": 4,
  "visitStoreLink": {
    "text": "Visit the OnePlus Store",
    "url": "https://www.amazon.in/stores/OnePlus/page/A0A2BE47-0E82-40E4-BD82-A0ADBBB82BC7?lp_asin=B0FMDL81GS&ref_=ast_bln&store_ref=bl_ast_dp_brandlogo_sto&bl_grd_status=override"
  },
  "thumbnailImage": "https://m.media-amazon.com/images/I/51nBTTG3hNL._SL1500_.jpg",
  "galleryThumbnails": [
    "https://m.media-amazon.com/images/I/51nBTTG3hNL._SL1500_.jpg",
    "https://m.media-amazon.com/images/I/31WwCIKTZOL._SY300_SX300_QL70_FMwebp_.jpg",
    "https://m.media-amazon.com/images/I/51nBTTG3hNL._SY355_.jpg"
  ],
  "highResolutionImages": [
    "https://m.media-amazon.com/images/I/51nBTTG3hNL._SL1500_.jpg",
    "https://m.media-amazon.com/images/I/31WwCIKTZOL._SY300_SX300_QL70_FMwebp_.jpg",
    "https://m.media-amazon.com/images/I/51nBTTG3hNL._SY355_.jpg"
  ],
  "scrapedAt": "2026-10-25T21:08:48.398Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `status` | Overall Actor run status. |
| `actorName` | Actor name. |
| `actorSlug` | Actor slug. |
| `actorStoreUrl` | Public Actor Store URL. |
| `sourceWebsite` | Source website used for the run. |
| `targetKind` | Kind of target record collected by the run. |
| `directTransport` | Whether direct HTTP transport was used. |
| `requestedMode` | Mode requested in the input. |
| `requestedSearchQuery` | Search phrase recorded from the input, when present. |
| `requestCount` | Number of source requests made. |
| `pagesFetched` | Number of source pages fetched. |
| `candidateItems` | Number of candidate items found before filtering. |
| `successfulItems` | Number of source-backed products saved. |
| `diagnosticCount` | Number of operational issues recorded for the run. |
| `diagnosticItems` | Number of diagnostic dataset rows; always zero. |
| `blockedCount` | Number of blocked source responses. |
| `requestErrorCount` | Number of request errors. |
| `stoppedOnBlock` | Whether the run stopped after an access block. |
| `dataAvailable` | Whether source-backed data was saved. |
| `usedProxy` | Whether Apify Proxy was used. |
| `proxyRequested` | Whether proxy use was requested. |
| `proxyUsageStatus` | Proxy usage state recorded for the run. |
| `configuredProxySessions` | Number of configured proxy sessions. |
| `transportsUsed` | Transports used during the run. |
| `deepProductScraping` | Compatibility flag recorded for the run. |
| `productReviewsRequested` | Whether public review extraction was requested. |
| `completedAt` | Time the summary was written, in ISO UTC. |
| `runStatus` | Canonical run status; always matches status. |
| `dataStatus` | Completeness of source-backed Dataset rows. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Eligible results were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Some results were saved, but a later problem prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching results. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable result was saved. |

Example `OUTPUT_SUMMARY` from the saved run:

```json
{
  "status": "SUCCEEDED",
  "actorName": "amazon-product-scraper",
  "actorSlug": "amazon-product-scraper",
  "actorStoreUrl": "https://apify.com/w3crawler/amazon-product-scraper",
  "sourceWebsite": "https://www.amazon.in",
  "targetKind": "amazon_product",
  "directTransport": true,
  "requestedMode": "asin",
  "requestedSearchQuery": "laptop",
  "requestCount": 2,
  "pagesFetched": 2,
  "candidateItems": 2,
  "successfulItems": 2,
  "diagnosticCount": 0,
  "diagnosticItems": 0,
  "blockedCount": 0,
  "requestErrorCount": 0,
  "stoppedOnBlock": false,
  "dataAvailable": true,
  "usedProxy": false,
  "proxyRequested": false,
  "proxyUsageStatus": "not_requested",
  "configuredProxySessions": 0,
  "transportsUsed": [
    "direct"
  ],
  "deepProductScraping": true,
  "productReviewsRequested": false,
  "completedAt": "2026-10-25T21:08:48.567Z",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE"
}
```

### Coverage and limitations

The Actor reads public data from Amazon.in. It does not sign in, solve CAPTCHAs, access checkout-only information, or claim data that is not present in the public response. Prices, coupons, delivery estimates, seller offers, and page modules can vary by marketplace, locale, session, and availability; each row reflects what the public page returned during the run. Optional fields are omitted when the source does not publish them; values are not inferred. Source availability can change, and blocked, empty, or partial responses are reported in the run summary rather than written as data rows. Optional Apify Proxy settings are supported when supplied. A bounded browser fallback may be used when the public page requires JavaScript.

### Usage and support

The Actor is configured with pay-per-event pricing: a basic product result, rich product detail extraction, and an optional public review result have separate listed events. Start with small item and page limits, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates. Use the [Actor Issues page](https://apify.com/w3crawler/amazon-product-scraper/issues) to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Amazon.in. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Changelog

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

# Actor input Schema

## `mode` (type: `string`):

search, productUrl, searchUrl, categoryUrl, or asin.

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

Amazon product ASINs used when mode is asin.

## `searchQuery` (type: `string`):

Search phrase used when mode is search.

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

Public Amazon.in product URLs used when mode is productUrl.

## `searchUrl` (type: `string`):

Full public Amazon.in search URL used when mode is searchUrl.

## `categoryUrl` (type: `string`):

Public Amazon.in category or bestseller URL used when mode is categoryUrl.

## `maxItems` (type: `integer`):

Maximum source-backed product records, from 1 through 1000.

## `deepProductScraping` (type: `boolean`):

Compatibility flag retained for older inputs; direct mode always fetches public product pages to verify rich fields.

## `productReviews` (type: `boolean`):

Extract up to 10 public review cards when present in the fetched HTML.

## `requestDelayMs` (type: `integer`):

Delay between serialized listing/detail requests.

## `requestTimeoutMs` (type: `integer`):

Timeout for each direct public HTTP request.

## `headless` (type: `boolean`):

Compatibility field retained for older inputs; ignored by the direct-only runner.

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

Optional standard Apify Proxy configuration for public Amazon India requests.

## `maxProxyAttempts` (type: `integer`):

Maximum fresh sticky Apify Proxy sessions tried after a direct request is blocked or unavailable.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "laptop",
  "maxItems": 10,
  "deepProductScraping": true,
  "productReviews": false,
  "requestDelayMs": 600,
  "requestTimeoutMs": 60000,
  "headless": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxProxyAttempts": 2
}
```

# Actor output Schema

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

Dataset containing only source-backed Amazon.in product records.

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {
    "searchQuery": "laptop",
    "maxItems": 10,
    "deepProductScraping": true,
    "productReviews": false,
    "requestDelayMs": 600,
    "requestTimeoutMs": 60000,
    "maxProxyAttempts": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/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 = {
    "searchQuery": "laptop",
    "maxItems": 10,
    "deepProductScraping": True,
    "productReviews": False,
    "requestDelayMs": 600,
    "requestTimeoutMs": 60000,
    "maxProxyAttempts": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/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 '{
  "searchQuery": "laptop",
  "maxItems": 10,
  "deepProductScraping": true,
  "productReviews": false,
  "requestDelayMs": 600,
  "requestTimeoutMs": 60000,
  "maxProxyAttempts": 2
}' |
apify call w3crawler/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/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/9dH06eXdmLnmD23Sk/builds/YXkpe5AVZ8gGvbxh8/openapi.json
