# Zalando Product Search Scraper (`truenorth/zalando-product-search-scraper`) Actor

Extract Zalando products, prices, images, SKUs, and product URLs from search, brand, or category pages.

- **URL**: https://apify.com/truenorth/zalando-product-search-scraper.md
- **Developed by:** [TrueNorth](https://apify.com/truenorth) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$6.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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Zalando Product Search Scraper

Track Zalando products, prices, images, and product URLs without manually browsing search or brand pages. This Actor is built for e-commerce teams, pricing analysts, fashion retailers, marketplace researchers, and AI data pipelines that need structured Zalando product data in JSON, CSV, Excel, or API-ready form.

### Key Features

- Extract product cards from Zalando search, brand, or category URLs.
- Use a search query when no start URL is provided.
- Capture brand, product name, price, original price, currency, product URL, image URL, SKU, page URL, and scrape timestamp.
- Scroll-based browser crawling for JavaScript catalog pages.
- Fallback from simple blocked catalog query URLs like `/catalog/?q=nike` to slug pages like `/nike/`.
- Apify residential proxy support for live crawling, defaulting to Germany on Apify Cloud.
- Deduplicate products by canonical product URL.
- Respect `maxItems` with synchronous reservation before dataset writes.
- Fail explicitly on blocked, captcha, DNS-error, or empty product pages.
- Deterministic fixture mode for local parser verification, forced off on Apify Cloud.

### How it Works

1. Enter a Zalando search query or provide Zalando search, brand, or category URLs.
2. Set `maxItems`, `maxScrolls`, and proxy settings.
3. Run the Actor and export products from the Apify dataset as JSON, CSV, Excel, or via API.

### Input Example

```json
{
  "query": "nike",
  "startUrls": [
    { "url": "https://www.zalando.de/catalog/?q=nike" }
  ],
  "maxItems": 100,
  "maxScrolls": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "DE"
  }
}
```

### Output Sample

```json
{
  "query": "nike",
  "pageUrl": "https://www.zalando.de/catalog/?q=nike",
  "position": 1,
  "brand": "Nike Sportswear",
  "name": "AIR FORCE 1 '07 - Sneaker low",
  "price": "119,95 €",
  "originalPrice": null,
  "currency": "EUR",
  "productUrl": "https://www.zalando.de/nike-sportswear-air-force-1-07-sneaker-low-white-ni112o0s9-a11.html",
  "imageUrl": "https://img01.ztat.net/article/spp-media-p1/abc123.jpg",
  "sku": "NI112O0S9-A11",
  "scrapedAt": "2026-01-02T03:04:05.000Z"
}
```

### AI & LLM Integration

The dataset is clean, structured JSON that can be loaded into product intelligence workflows, LLM enrichment pipelines, and vector databases. Use extracted product names, brands, prices, URLs, and SKUs for competitor monitoring, assortment clustering, product summarization, price-change alerts, trend analysis, and retrieval-augmented generation over fashion catalog data.

### Local Verification

For deterministic local parser checks, set `useSampleHtml` to `true`. This option is automatically forced off on Apify Cloud via `APIFY_IS_AT_HOME`, so production runs use live Zalando pages.

On Apify Cloud, empty proxy input defaults to Apify Proxy residential IPs in Germany. Local runs remain headless; cloud runs use headed Chrome in the Playwright Chrome image.

# Actor input Schema

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

Search query used when startUrls is empty.

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

Zalando search, brand, or category URLs to crawl.

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

Maximum number of unique products to save.

## `maxScrolls` (type: `integer`):

Maximum scroll attempts per start URL.

## `proxyConfiguration` (type: `object`):

Apify Proxy configuration for live crawling. Defaults to residential proxies in Germany.

## `useSampleHtml` (type: `boolean`):

Use local fixture HTML for deterministic verification. Forced off on Apify Cloud.

## Actor input object example

```json
{
  "query": "nike",
  "startUrls": [
    {
      "url": "https://www.zalando.de/catalog/?q=nike"
    }
  ],
  "maxItems": 20,
  "maxScrolls": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "DE"
  },
  "useSampleHtml": false
}
```

# Actor output Schema

## `dataset` (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 = {
    "startUrls": [
        {
            "url": "https://www.zalando.de/catalog/?q=nike"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("truenorth/zalando-product-search-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.zalando.de/catalog/?q=nike" }] }

# Run the Actor and wait for it to finish
run = client.actor("truenorth/zalando-product-search-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.zalando.de/catalog/?q=nike"
    }
  ]
}' |
apify call truenorth/zalando-product-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/fJfnfAlKDyAbjPtDc/builds/CZK5XwFDhQm3Np0td/openapi.json
