# Alza Scraper (`appealing_jingle/alza-scraper`) Actor

Scrape product data from alza.sk, alza.cz, alza.hu, alza.at and alza.de. Extracts prices, discounts, availability, ratings, images, and more. Supports pagination, proxy configuration, and exports to JSON, CSV

- **URL**: https://apify.com/appealing\_jingle/alza-scraper.md
- **Developed by:** [09 try](https://apify.com/appealing_jingle) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 65 total users, 4 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Alza Product Scraper

A Playwright-based scraper built with [Crawlee](https://crawlee.dev) for extracting product data from **Alza.sk**, **Alza.cz**, **Alza.hu**, **Alza.at** and **Alza.de**.  
It supports pagination, structured output, and detailed product attributes.

In case of errors, bugs or feature requests please contact me: 0994try@gmail.com

### ⚠️ Important

This scraper **requires a proxy** (Apify Proxy is recommended).
Running without a proxy will very likely result in **403 Forbidden errors**, as Alza actively blocks requests from non-proxied or datacenter IPs.

### Features

- Extracts key product information:
  - Product ID & code  
  - Name & brand  
  - Price (value + currency, supports decimals)  
  - Discounts (percentage or savings)  
  - Availability status  
  - Description & promo info  
  - Product image (clean URL)  
  - Ratings & number of reviews
  - Product parameters
  - Statistics  
- Works with **alza.sk, alza.cz, alza.hu, alza.at**, **alza.de** product listings and categories.  
- Handles **pagination** automatically by following the “Next” button.  
- Outputs data into the **Apify Dataset** (JSON, CSV, Excel, etc.).  

### Commodity Status Filters

You can optionally filter products based on their **commodity status** using the `commodityStatus` field in the actor input.  
This filter dynamically updates the URL and loads only products matching those conditions.

| Filter   | Description                          |
|----------|--------------------------------------|
| `new`    | Brand new products                   |
| `opened` | Opened-box or unpacked items         |
| `used`   | Used or refurbished products         |

You can select one or more of these filters at the same time.  
If no filters are selected, the scraper defaults to **all products**.

### Example input
```json
{
  "startUrls": [
    {
      "url": "https://www.alza.sk/iphone-mobilne-telefony/18851638.htm"
    },
    {
      "url": "https://www.alza.sk/mobilne-telefony-apple-iphone-17/18918313.htm"
    }
  ],
  "commodityStatus": ["new", "used"],
  "maxRequestsPerCrawl": 15
}
````

### Extracted Data Example

````json
{
	"id": "13078758",
	"code": "JA940k4a",
	"name": "Apple AirPods Pro 3",
	"priceValue": 249,
	"priceCurrency": "€",
	"url": "https://www.alza.sk/apple-airpods-pro-3-d13078758.htm",
	"description": "Bezdrôtové slúchadlá – s mikrofónom, True Wireless, štuple, 2× silnejšie aktívne potlačenie hluku (ANC), nové snímanie tepovej frekvencie a funkcie živého prekladu, Bluetooth 5.3, prepínanie skladieb, prijímanie hovorov, uzatvorená konštrukcia, s ovládaním hlasitosti, certifikácia IP54, výdrž batérie až 32 h (8 h+24 h)",
	"brand": "Apple",
	"discount": null,
	"rating": 4.7,
	"numberOfRatings": 663,
	"availability": "In stock > 5 pcs",
	"promo": null,
	"imageUrl": "https://image.alza.cz/products/JA940k4a/JA940k4a.jpg?width=2000&height=2000",
	"ratings": [
		{
			"stars": 5,
			"count": 541
		},
		{
			"stars": 4,
			"count": 54
		},
		{
			"stars": 3,
			"count": 29
		},
		{
			"stars": 2,
			"count": 12
		},
		{
			"stars": 1,
			"count": 27
		}
	],
	"sold": "20 000+",
	"numberOfReviews": "245",
	"recommendationPercentile": "90 %",
	"claimRate": "1,78 %",
	"parameters": [
		{
			"name": "Adaptér v balení",
			"value": "Bez nabíjačky"
		},
		{
			"name": "Vyhotovenie",
			"value": "Štuple"
		},
		{
			"name": "Konštrukcia",
			"value": "Uzatvorená"
		},
		{
			"name": "Mikrofón",
			"value": "Áno"
		},
		{
			"name": "Bezdrôtové pripojenie",
			"value": "Áno"
		},
		{
			"name": "Typ pripojenia",
			"value": "Bluetooth"
		},
		{
			"name": "Funkcie",
			"value": "Prepínanie skladieb,Prijímanie hovorov,S ovládaním hlasitosti,Simultánny preklad"
		},
		{
			"name": "Potlačenie hluku",
			"value": "Aktívne (ANC)"
		},
		{
			"name": "Stupeň krytia",
			"value": "IP57"
		},
		{
			"name": "Ďalšie vlastnosti",
			"value": "True Wireless,Vymeniteľné štuple"
		},
		{
			"name": "Konštrukcia mikrofónu",
			"value": "Integrovaný"
		},
		{
			"name": "Smerová charakteristika",
			"value": "Smerové snímanie"
		},
		{
			"name": "Funkcie",
			"value": "Potlačenie šumu"
		},
		{
			"name": "Maximálna výdrž batérie",
			"value": "32 h"
		},
		{
			"name": "Výdrž batérie (slúchadlá)",
			"value": "8 h"
		},
		{
			"name": "Výdrž batérie (puzdro)",
			"value": "24 h"
		},
		{
			"name": "Nabíjanie akumulátora",
			"value": "USB-C,V puzdre"
		},
		{
			"name": "Farba",
			"value": "Biela"
		},
		{
			"name": "Hmotnosť",
			"value": "4,28 g"
		}
	]
}

# Actor input Schema

## `startUrls` (type: `array`):

One or more Alza category or product listing URLs to start scraping from.
## `commodityStatus` (type: `array`):

Select which commodity statuses to include. Multiple can be active at once.
## `maxRequestsPerCrawl` (type: `integer`):

The maximum number of requests the crawler will process before stopping.
## `proxyConfiguration` (type: `object`):

Use Apify proxy or custom proxies to avoid getting blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.alza.sk/mobily/18843445.htm"
    }
  ],
  "commodityStatus": [],
  "maxRequestsPerCrawl": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "SK"
  }
}
````

# Actor output Schema

## `id` (type: `string`):

Internal product ID from Alza

## `code` (type: `string`):

Product code / SKU

## `name` (type: `string`):

Product name

## `priceValue` (type: `string`):

Numeric product price

## `priceCurrency` (type: `string`):

Currency symbol or code (e.g. €, EUR)

## `url` (type: `string`):

Direct link to the product page

## `description` (type: `string`):

Short product description

## `brand` (type: `string`):

Product brand

## `discount` (type: `string`):

Discount information if available

## `rating` (type: `string`):

Average customer rating

## `numberOfRatings` (type: `string`):

Number of customer ratings

## `availability` (type: `string`):

Product availability status

## `promo` (type: `string`):

Promotional text or special offers

## `imageUrl` (type: `string`):

URL of the main product image

## `ratings` (type: `string`):

List of product ratings

## `sold` (type: `string`):

Number of products sold

## `numberOfReviews` (type: `string`):

Number of reviews

## `recommendationPercentile` (type: `string`):

Recommendation percentile

## `claimRate` (type: `string`):

Claim rate

## `parameters` (type: `string`):

List of product parameters and specifications

# 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 = {
    "startUrls": [
        {
            "url": "https://www.alza.sk/mobily/18843445.htm"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("appealing_jingle/alza-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 = { "startUrls": [{ "url": "https://www.alza.sk/mobily/18843445.htm" }] }

# Run the Actor and wait for it to finish
run = client.actor("appealing_jingle/alza-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 '{
  "startUrls": [
    {
      "url": "https://www.alza.sk/mobily/18843445.htm"
    }
  ]
}' |
apify call appealing_jingle/alza-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Alza Scraper",
        "description": "Scrape product data from alza.sk, alza.cz, alza.hu, alza.at and alza.de. Extracts prices, discounts, availability, ratings, images, and more. Supports pagination, proxy configuration, and exports to JSON, CSV",
        "version": "0.1",
        "x-build-id": "BIFckSMbUYQ05Cn9y"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/appealing_jingle~alza-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-appealing_jingle-alza-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/appealing_jingle~alza-scraper/runs": {
            "post": {
                "operationId": "runs-sync-appealing_jingle-alza-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/appealing_jingle~alza-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-appealing_jingle-alza-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": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "One or more Alza category or product listing URLs to start scraping from.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "commodityStatus": {
                        "title": "Commodity Status Filters",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Select which commodity statuses to include. Multiple can be active at once.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "new",
                                "opened",
                                "used"
                            ]
                        },
                        "default": []
                    },
                    "maxRequestsPerCrawl": {
                        "title": "Max Requests per Crawl",
                        "type": "integer",
                        "description": "The maximum number of requests the crawler will process before stopping.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Use Apify proxy or custom proxies to avoid getting blocked.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "SK"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
