# Digikala Iran Product Scraper (`parseforge/digikala-iran-scraper`) Actor

Searches Digikala Iran by keyword and returns each product as a flat row with its title, price, rating, stock status, and seller name. No login required.

- **URL**: https://apify.com/parseforge/digikala-iran-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 36 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.69 / 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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### Digikala Iran Product Scraper

**Scrape product listings from Digikala Iran by keyword, up to a million items per run.** Every product row includes its title, price, rating, availability, and seller info. No login or API key. Export to CSV, JSON, Excel, or XML.

Digikala is Iran's largest online marketplace, but its catalog is not available through a public API. This Actor searches Digikala's product listings directly by keyword, reads every matching product card, and returns structured data you can filter and analyze. It handles the pagination and rate-limiting so you get clean, consistent rows.

| Who uses it | What they scrape Digikala for |
|---|---|
| Market researchers | Track pricing and assortment trends across Iranian e-commerce categories. |
| Competitive intelligence teams | Monitor competitor product launches and pricing strategies on Digikala. |
| Dropshippers and resellers | Find trending products and reliable sellers to source inventory from. |
| Data journalists | Analyze product availability and price changes in the Iranian consumer market. |

### What it does

This Actor searches Digikala Iran for a given keyword and returns each product as a flat row with its title, price, rating, stock status, and seller name.

- 🔍 **Keyword search:** Enter any Persian or English search term to scrape matching products.
- 📊 **Structured output:** Each product returns as one row with title, price, rating, and seller.
- ⚙️ **Configurable volume:** Set a maximum number of products per run, from a single item up to one million.
- 📦 **Multi-format export:** Download your dataset as CSV, JSON, Excel, or XML.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Digikala data

**📈 Monitor category pricing.**

A market researcher runs the Actor weekly with a category keyword like 'mobile' to track average prices and discount patterns across Digikala sellers.

**🏪 Audit competitor assortment.**

A brand manager searches for their product category to see which competing brands are listed, at what price points, and with which sellers.

**🔎 Find trending products.**

A dropshipper searches for a niche term like 'smartwatch' to identify high-rated, in-stock products they can add to their own store.

**📰 Report on consumer goods availability.**

A data journalist scrapes essential goods categories periodically to report on stock levels and price inflation in the Iranian market.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API required** | Scrapes Digikala's public search pages directly. |
| **Persian and English** | Accepts search terms in both languages. |
| **Fixed schema** | Every row has the same columns, ready for analysis. |
| **Scalable** | Collect up to one million products in a single run. |

### How it compares

No other Store actor targets Digikala the same way, so the honest comparison is with the alternatives teams actually weigh.

| | Digikala Iran Product Scraper | Build it in-house | By hand |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When Digikala changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |

### Configure the run

Drive the Actor with a search keyword and a maximum product count. The Actor stops when it reaches your limit or exhausts the search results. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "query": "laptop",
  "maxItems": 10
}
```

A larger pull:

```json
{
  "query": "laptop",
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0085 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Digikala Iran Product Scraper](https://apify.com/parseforge/digikala-iran-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Digikala through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/digikala-iran-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check your keyword spelling, especially if using Persian characters. Try a shorter or more general term. Also confirm that Digikala.com is accessible from your location, as the site may be restricted on some networks.

**The run stopped before reaching my maxItems limit.**

The Actor stops when Digikala has no more search results for your keyword. Your keyword may have fewer total products than your limit. Try a broader search term to get more results.

**Some product fields are empty in my dataset.**

Not every product listing on Digikala has a rating, review count, or discount. Empty fields mean that information was not present on the product card. This is expected behavior.

**The Actor is running slowly.**

The Actor paces requests to respect Digikala's servers. For large runs, expect a few minutes of runtime. If speed is critical, you can run multiple instances with different keywords in parallel.

### FAQ

| Question | Answer |
|---|---|
| Do I need a Digikala account to scrape? | No. The Actor reads the publicly accessible search result pages. No login, account, or API key is required. |
| Can I scrape in Persian (Farsi)? | Yes. The search query field accepts Persian characters. Enter your keyword exactly as you would type it on Digikala's website. |
| What data fields does each product row contain? | Each row includes the product title, current price, list price if discounted, average rating, number of reviews, stock availability, and seller name. The exact fields are shown in the sample output on the Actor's page. |
| How many products can I scrape in one run? | You can set the maximum from 1 up to 1,000,000 products. The Actor stops when it reaches your limit or when there are no more search results. |
| Can I scrape a specific Digikala category or URL? | This Actor is built for keyword search. To scrape a category page, enter the category name as your search term. Direct URL input is not supported in this version. |
| Is the price in Iranian Rial or Toman? | The Actor returns the price exactly as displayed on Digikala, which is typically in Rial. Check the raw value in your dataset to confirm the unit. |
| Does this Actor handle Digikala's rate limiting? | Yes. The Actor manages request timing internally to avoid being blocked. For very large runs, it automatically paces the requests. |
| Can I filter results by price range or seller? | The Actor collects all products matching your keyword. You can filter by price, rating, or seller after the run by sorting your dataset in Excel, Google Sheets, or your analysis tool. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Digikala Group. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `query` (type: `string`):

Search term entered into Digikala search. Trimmed before use.

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

How many products to collect per run.

## Actor input object example

```json
{
  "query": "laptop",
  "maxItems": 10
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "laptop",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/digikala-iran-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 = {
    "query": "laptop",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/digikala-iran-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 '{
  "query": "laptop",
  "maxItems": 10
}' |
apify call parseforge/digikala-iran-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/digikala-iran-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/FA1OYeZtUlR0JVyWZ/builds/vfEppeq87obchqQuo/openapi.json
