# Amazon Productinfo Spider (`getdataforme/amazon-productinfo-spider`) Actor

The Amazon Productinfo Spider efficiently extracts detailed product information from Amazon pages, capturing key details like ASIN, title, brand, specifications, and more. It offers high-quality, accurate data collection with flexible configuration for multiple URLs and item limits....

- **URL**: https://apify.com/getdataforme/amazon-productinfo-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, Automation, E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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/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 Productinfo Spider

### Introduction

The Amazon Productinfo Spider is a powerful tool designed to extract detailed product information from Amazon product pages. It provides comprehensive data including ASIN, title, brand, specifications, and more, enabling users to gather valuable insights for various applications.

### Features

- **Comprehensive Data Extraction**: Captures essential product details such as ASIN, title, brand, screen size, processor model, RAM, storage, operating system, rating, review count, and availability.
- **High-Quality Data**: Ensures accurate and reliable data collection from Amazon pages.
- **Flexible Configuration**: Allows users to specify multiple URLs for scraping and set item limits per run.
- **Efficient Performance**: Optimized for speed and efficiency in data extraction processes.
- **User-Friendly Setup**: Simple configuration with clear input parameters, making it accessible for both technical and non-technical users.

### Input Parameters

| Parameter   | Type    | Required | Description                                                                 | Example                                      |
|-------------|---------|----------|-----------------------------------------------------------------------------|----------------------------------------------|
| `Urls`      | array   | Yes      | The URLs for the spider. Must be valid Amazon product page links.           | `["https://www.amazon.fr/-/en/Lenovo-Laptop-i5-13420H-1000GB-Windows/dp/B0DT7532C9/%22"]` |
| `item_limit`| integer | No       | Maximum items to scrape per actor run. Set to 0 for no limit.               | `10`                                         |

### Example Usage

#### Input JSON

```json
{
  "Urls": [
    "https://www.amazon.fr/-/en/Lenovo-Laptop-i5-13420H-1000GB-Windows/dp/B0DT7532C9/%22"
  ],
  "item_limit": 10
}
```

#### Output JSON

```json
[
  {
    "url": "https://www.amazon.fr/-/en/Lenovo-Laptop-i5-13420H-1000GB-Windows/dp/B0DT7532C9/%22",
    "asin": "B0DT7532C9",
    "title": "Lenovo, 15.6\" Full HD Laptop, Intel Core i5-13420H, 24GB DDR4 RAM, 1000GB NVMe SSD, Windows 11 Pro Laptop",
    "brand": "Lenovo",
    "screen_size": "15.6 inch",
    "processor_model": "13420H",
    "ram_size": "24 GB",
    "ram_type": "DDR4",
    "storage_size": "1000 GB SSD",
    "operating_system": "Windows 11 Pro",
    "rating": "4.2",
    "review_count": "149",
    "availability": "Currently unavailable.",
    "actor_id": "7Q7Ck2H8cwT5f8Kfr",
    "run_id": "JcMmoibEZQPwgpGJ6"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather data on product specifications, pricing, and availability to analyze market trends.
- **Competitive Intelligence**: Monitor competitor products for strategic insights.
- **Price Monitoring**: Track price changes over time to identify opportunities or threats.
- **Content Aggregation**: Compile product information for content creation or comparison websites.
- **Academic Research**: Use data for studies on consumer behavior and e-commerce dynamics.
- **Business Automation**: Integrate with business processes for automated reporting and decision-making.

### Installation and Usage

1. Search for "Amazon Productinfo Spider" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters as needed.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The output is a JSON array where each object represents a product with fields such as `url`, `asin`, `title`, `brand`, `screen_size`, `processor_model`, `ram_size`, `ram_type`, `storage_size`, `operating_system`, `rating`, `review_count`, and `availability`. Each entry also includes unique identifiers like `actor_id` and `run_id`.

### Error Handling

The spider is designed to handle common errors such as invalid URLs or network issues gracefully. If an error occurs, it logs the issue for review without halting the entire process.

### Rate Limiting and Best Practices

- **Respect Amazon's Terms of Service**: Ensure compliance with Amazon's scraping policies.
- **Use Appropriate Delays**: Implement delays between requests to avoid being blocked.
- **Monitor Performance**: Regularly check logs for any issues or rate limiting responses from Amazon.

### Limitations and Considerations

- The spider is tailored for Amazon product pages; other websites may require different configurations.
- Ensure URLs are valid and accessible to prevent errors during scraping.
- Be mindful of potential changes in Amazon's page structure, which could affect data extraction accuracy.

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## `item_limit` (type: `integer`):

Maximum items to scrape per actor run. Set to 0 for no limit.

## Actor input object example

```json
{
  "Urls": [
    "https://www.amazon.fr/gp/aw/d/B0BSWVPLPY?pd_rd_plhdr=t&hsa_cr_id=0&qid=1781248381&sr=1-3-9fd4e6c6-0f32-411b-9abc-dfd97dd0cadd&i=computers&aref=uj2qZkqmqO&th=1"
  ],
  "item_limit": 10
}
```

# Actor output Schema

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

Scraped data items from dataset

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/amazon-productinfo-spider").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/amazon-productinfo-spider").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 '{}' |
apify call getdataforme/amazon-productinfo-spider --silent --output-dataset

```

## MCP server setup

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

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/7Q7Ck2H8cwT5f8Kfr/builds/exmknFNnOUMqjwVO7/openapi.json
