# 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
- **Features:** Limited permissions
- **Stats:** 113 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/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

## 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,
  - Coupon
- 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": "12883228",
	"code": "RO972j0e2",
	"name": "Sony Noise Cancelling WH-1000XM6, modré",
	"priceValue": 399,
	"priceCurrency": "€",
	"url": "https://www.alza.sk/sony-noise-cancelling-wh-1000xm6-modre-d12883228.htm",
	"description": "Bezdrôtové slúchadlá – s mikrofónom, cez hlavu, okolo uší, aktívne potlačenie hluku (ANC), uzatvorená konštrukcia, 3,5 mm Jack, Bluetooth 5.3, podpora AAC, LDAC, SBC a LC3, Ambient sound, herný režim, Hi-Res audio, hlasový asistent, Multipoint, prepínanie skladieb, prijímanie hovorov, s ovládaním hlasitosti, sony Sound Connect, frekvenčný rozsah 4–40000 Hz, menič 30 mm, výdrž batérie až 40 h",
	"brand": "Sony",
	"discount": null,
	"rating": 4.3,
	"numberOfRatings": 159,
	"availability": "In stock > 5 pcs",
	"promo": null,
	"coupon": {
		"couponCode": "ALZADNI10",
		"couponPriceValue": 359.1
	},
	"imageUrl": "https://image.alza.cz/products/RO972j0e2/RO972j0e2.jpg?width=2000&height=2000",
	"ratings": [
		{
			"stars": 5,
			"count": 101
		},
		{
			"stars": 4,
			"count": 27
		},
		{
			"stars": 3,
			"count": 14
		},
		{
			"stars": 2,
			"count": 8
		},
		{
			"stars": 1,
			"count": 9
		}
	],
	"sold": "1 000+",
	"numberOfReviews": "76",
	"recommendationPercentile": "81 %",
	"claimRate": "1,87 %",
	"parameters": [
		{
			"name": "Vyhotovenie",
			"value": "Okolo uší"
		},
		{
			"name": "Konštrukcia",
			"value": "Uzatvorená"
		},
		{
			"name": "Mikrofón",
			"value": "Áno"
		},
		{
			"name": "Bezdrôtové pripojenie",
			"value": "Áno"
		},
		{
			"name": "Typ pripojenia",
			"value": "3,5 mm Jack,Bluetooth"
		},
		{
			"name": "Verzia Bluetooth",
			"value": "5.3"
		},
		{
			"name": "Podporované kodeky",
			"value": "AAC,LDAC,SBC,LC3"
		},
		{
			"name": "Odnímateľný kábel",
			"value": "Áno"
		},
		{
			"name": "Funkcie",
			"value": "Ambient sound,Herný režim,Hi-Res audio,Hlasový asistent,Multipoint,Prepínanie skladieb,Prijímanie hovorov,S ovládaním hlasitosti"
		},
		{
			"name": "Potlačenie hluku",
			"value": "Aktívne (ANC),Adaptívne,Hybridné"
		},
		{
			"name": "Ďalšie vlastnosti",
			"value": "Aplikácia na nastavenie slúchadiel,Otočné mušle,Skladacia konštrukcia"
		},
		{
			"name": "Frekvencia od",
			"value": "4 Hz"
		},
		{
			"name": "Frekvencia do",
			"value": "40 000 Hz"
		},
		{
			"name": "Veľkost meniča",
			"value": "30 mm"
		},
		{
			"name": "Konštrukcia mikrofónu",
			"value": "Integrovaný"
		},
		{
			"name": "Smerová charakteristika",
			"value": "Všesmerové snímanie"
		},
		{
			"name": "Funkcie",
			"value": "Potlačenie šumu,Potlačenie ozveny,Stlmenie mikrofónu"
		},
		{
			"name": "Maximálna výdrž batérie",
			"value": "40 h"
		},
		{
			"name": "Nabíjanie akumulátora",
			"value": "USB-C"
		},
		{
			"name": "Farba",
			"value": "Modrá"
		},
		{
			"name": "Hmotnosť",
			"value": "254 g"
		},
		{
			"name": "Ocenenia",
			"value": "What Hi-Fi?"
		},
		{
			"name": "Min. napájací výkon",
			"value": "7,5 W"
		},
		{
			"name": "Max. napájací výkon",
			"value": "21 W"
		},
		{
			"name": "Adaptér v balení",
			"value": "Bez nabíjačky"
		},
		{
			"name": "Súčasť balenia",
			"value": "Puzdro,USB kábel"
		}
	]
}
```

# 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

## `coupon` (type: `string`):

Coupon if it is available

# 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(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 '{
  "startUrls": [
    {
      "url": "https://www.alza.sk/mobily/18843445.htm"
    }
  ]
}' |
apify call appealing_jingle/alza-scraper --silent --output-dataset

```

## MCP server setup

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