# Digikala Product Reviews Spider (`getdataforme/digikala-product-reviews-spider`) Actor

Unlock valuable insights from Digikala's product reviews with this efficient Apify Actor. Extract authentic ratings, comments, and timestamps from multiple URLs for market analysis and competitive intelligence. Fast, scalable, user-friendly, and delivers clean JSON output—no coding required.

- **URL**: https://apify.com/getdataforme/digikala-product-reviews-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Agents, AI, E-commerce
- **Stats:** 28 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$12.65 / 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

## Digikala Product Reviews Spider

The Digikala Product Reviews Spider is a powerful Apify Actor designed to scrape and extract detailed product reviews from Digikala, Iran's leading e-commerce platform. It enables users to gather authentic customer feedback, ratings, and comments from specific product pages, providing valuable insights for market analysis and decision-making. This tool streamlines data collection, saving time and effort compared to manual browsing.

### Features

- **Efficient Scraping**: Quickly extracts reviews from multiple Digikala product URLs with high-speed performance.
- **Comprehensive Data Extraction**: Captures key details including reviewer names, ratings, comments, and timestamps.
- **Reliable and Scalable**: Handles large volumes of data with built-in error handling and retry mechanisms.
- **Flexible Input**: Accepts multiple URLs for batch processing, ideal for analyzing several products at once.
- **High-Quality Output**: Delivers clean, structured JSON data ready for analysis or export.
- **User-Friendly**: Easy to configure and run via the Apify platform, with no coding required.
- **Privacy-Compliant**: Respects website terms and focuses on publicly available review data.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| Urls | array | Yes (at least 1) | An array of URLs pointing to Digikala product pages from which to scrape reviews. Each URL must be a valid HTTP/HTTPS link. | \["https://www.digikala.com/product/dkp-14794189/%DA%AF%D9%88%D8%B4%DB%8C-%D9%85%D9%88%D8%A8%D8%A7%DB%8C%D9%84-%D8%B1%DB%8C%D9%84%D9%85%DB%8C-%D9%85%D8%AF%D9%84-note-50-%D8%AF%D9%88-%D8%B3%DB%8C%D9%85-%DA%A9%D8%A7%D8%B1%D8%AA-%D8%B8%D8%B1%D9%81%DB%8C%D8%AA-128-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA-%D9%88-%D8%B1%D9%85-4-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA/?bCode=199714"] |

### Example Usage

To run the Actor, provide input in JSON format. Here's an example:

```json
{
  "Urls": [
    "https://www.digikala.com/product/dkp-14794189/%DA%AF%D9%88%D8%B4%DB%8C-%D9%85%D9%88%D8%A8%D8%A7%DB%8C%D9%84-%D8%B1%DB%8C%D9%84%D9%85%DB%8C-%D9%85%D8%AF%D9%84-note-50-%D8%AF%D9%88-%D8%B3%DB%8C%D9%85-%DA%A9%D8%A7%D8%B1%D8%AA-%D8%B8%D8%B1%D9%81%DB%8C%D8%AA-128-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA-%D9%88-%D8%B1%D9%85-4-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA/?bCode=199714"
  ]
}
```

Example output (in JSON format):

```json
[
  {
    "productUrl": "https://www.digikala.com/product/dkp-14794189/...",
    "reviewerName": "John Doe",
    "rating": 4,
    "comment": "Great phone, fast delivery!",
    "date": "2023-10-01",
    "helpfulVotes": 5
  },
  {
    "productUrl": "https://www.digikala.com/product/dkp-14794189/...",
    "reviewerName": "Jane Smith",
    "rating": 5,
    "comment": "Excellent quality and battery life.",
    "date": "2023-09-28",
    "helpfulVotes": 3
  }
]
```

### Use Cases

- **Market Research**: Analyze customer sentiment and trends for product development.
- **Competitive Intelligence**: Compare reviews across similar products to identify strengths and weaknesses.
- **Price Monitoring**: Track feedback related to pricing and value for money.
- **Content Aggregation**: Collect reviews for blogs, reports, or social media content.
- **Academic Research**: Gather data for studies on consumer behavior in e-commerce.
- **Business Automation**: Automate review collection for dashboards or alerts on new feedback.

### Installation and Usage

1. Search for "Digikala Product Reviews Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
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 Actor outputs an array of JSON objects, each representing a single review. Key fields include:

- `productUrl`: The URL of the product page.
- `reviewerName`: The name of the reviewer (if available).
- `rating`: A numerical rating (e.g., 1-5 stars).
- `comment`: The full text of the review.
- `date`: The date the review was posted.
- `helpfulVotes`: Number of helpful votes (if applicable).

Data is structured for easy parsing and integration into tools like Excel or databases.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

# Actor input Schema

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

The urls for the spider.

## `itemLimit` (type: `integer`):

Specifies the maximum number of items to process.

## Actor input object example

```json
{
  "Urls": [
    "https://www.digikala.com/product/dkp-14794189/%DA%AF%D9%88%D8%B4%DB%8C-%D9%85%D9%88%D8%A8%D8%A7%DB%8C%D9%84-%D8%B1%DB%8C%D9%84%D9%85%DB%8C-%D9%85%D8%AF%D9%84-note-50-%D8%AF%D9%88-%D8%B3%DB%8C%D9%85-%DA%A9%D8%A7%D8%B1%D8%AA-%D8%B8%D8%B1%D9%81%DB%8C%D8%AA-128-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA-%D9%88-%D8%B1%D9%85-4-%DA%AF%DB%8C%DA%AF%D8%A7%D8%A8%D8%A7%DB%8C%D8%AA/?bCode=199714"
  ],
  "itemLimit": 50
}
```

# 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 = {
    "itemLimit": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/digikala-product-reviews-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 = { "itemLimit": 50 }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/digikala-product-reviews-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/7jm6ifa5wrq77IC9w/builds/srs2jBara2Yp8ANLp/openapi.json
