# Zalando Ads Repository Scraper: Sponsored Ads (`rastriq/zalando-ads-repository-scraper`) Actor

Extract sponsored-content ads from Zalando's Ads Repository (DSA Art. 39): advertiser, reach, markets, targeting and dates. Residential proxy included.

- **URL**: https://apify.com/rastriq/zalando-ads-repository-scraper.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Zalando Ads Repository Scraper

**Zalando Ads Repository Scraper** extracts sponsored-content ads from Zalando's public Ads Repository, the ad library Zalando must publish under **Article 39 of the EU Digital Services Act (DSA)**. Search by keyword in any Zalando market and get advertiser, delivery dates, reach, markets, targeting and creatives as structured data. You don't need an API key or a Zalando account.

### 🔍 What is Zalando Ads Repository Scraper?

Zalando is Europe's largest online fashion platform, and brands pay to promote their products on it. Zalando's Ads Repository lists those sponsored placements, but it is a single-page app with no export.

Zalando Ads Repository Scraper opens Zalando's sponsored-content archive in a real browser, reads the archive's own GraphQL responses page by page and returns one clean record per ad. Typical uses:

- 👟 **Brand and competitor monitoring**: which fashion brands advertise on Zalando, where and when.
- 📊 **Retail-media intelligence**: track sponsored-content activity per market and month.
- 🧾 **DSA research and compliance**: audit advertiser disclosures and targeting parameters.

### 📦 What data does Zalando Ads Repository Scraper extract?

| Field | Description |
|-------|-------------|
| 🆔 `adId` | Ad identifier on Zalando |
| 🏷️ `advertiser` | Advertiser / brand |
| 💳 `adPayer` | Payer, when Zalando discloses it (otherwise `null`) |
| 📅 `firstShownDate` / `lastShownDate` | Delivery period |
| 📣 `reach` | Reach reported by Zalando (`impressions` is `null`, because Zalando reports reach) |
| 🌍 `searchCountry`, `markets`, `marketNames` | Market searched and markets where the ad ran |
| 📝 `title`, `text`, `language` | Creative copy, in the interface language when available (else English) |
| 🎯 `targetingParameters` | Targeting parameters declared by Zalando (e.g. `contextual`, `personal`) |
| 🖼️ `imageUrl` | Creative image |
| ✅ `isActive` | Whether the ad is currently active |
| 🛡️ `is_natural_person_suspected` | `true` if the advertiser name looks like a private individual |
| 🕒 `scrapedAt`, `source`, `sourceUrl` | Extraction metadata |

The common fields (`adId`, `advertiser`, `adPayer`, `firstShownDate`, `lastShownDate`, `impressions`, `searchCountry`, `scrapedAt`, `source`) match our other DSA ad library scrapers.

### 🚀 How to use Zalando Ads Repository Scraper

1. Open **Zalando Ads Repository Scraper** in Apify Console and click **Try for free**.
2. Choose a **market** (e.g. `DE`, `FR`, `ES`).
3. Optionally enter a **search query** (brand or product) and a **month** (`YYYY-MM`).
4. Click **Start**, then download the results as JSON, CSV or Excel.

### ⚙️ Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQuery` | string | all ads | Full-text search |
| `market` | string | `DE` | Zalando market (EU countries, plus CH, NO and UK) |
| `month` | string | all | Only ads whose delivery period overlaps this month (`YYYY-MM`) |
| `language` | string | `en` | Interface language |
| `maxResults` | integer | 200 | Maximum number of ads |
| `proxyConfiguration` | object | built-in | Optional. A residential proxy is included; add your own URLs to override it |

#### Example input

```json
{
  "searchQuery": "sneakers",
  "market": "DE",
  "maxResults": 50
}
```

### 📄 Output example

```json
{
  "adId": "98515f464bc2e37236f559e2660cb2b8",
  "advertiser": "NIKE Retail B.V.",
  "adPayer": null,
  "firstShownDate": "2025-04-17",
  "lastShownDate": "2025-05-16",
  "impressions": null,
  "searchCountry": "DE",
  "sourceUrl": "https://sponsored-content-archive.zalando.com/?lang=en-DE&fullText=Nike&markets%5B0%5D=DE",
  "scrapedAt": "2026-11-12T21:52:00Z",
  "source": "zalando_ads_repository",
  "is_natural_person_suspected": false,
  "id": "98515f464bc2e37236f559e2660cb2b8",
  "title": "Nike Vomero 18 | Max cushioning for the ultimate ride",
  "text": "Shop now",
  "language": "en-GB",
  "startDate": "2025-04-17",
  "endDate": "2025-05-16",
  "isActive": false,
  "reach": 1614,
  "markets": ["DE"],
  "marketNames": [],
  "targetingParameters": ["contextual", "personal"],
  "imageUrl": "https://img01.ztat.net/crt/creative-content/....jpg",
  "searchQuery": "Nike"
}
```

### 🛡️ Proxy and limitations

- **A residential proxy is included.** Zalando's bot protection (Akamai) blocks datacenter IPs, so Zalando Ads Repository Scraper routes its traffic through a built-in EU residential proxy. You don't have to configure anything.
- If you prefer your own proxy, add its URLs in `proxyUrls` and they will be used instead.
- The archive returns 50 ads per page. Zalando Ads Repository Scraper follows the pagination until it reaches `maxResults` (up to 200 pages per run).
- The `month` filter is applied by the scraper, not by Zalando: it keeps ads whose delivery period overlaps that month. Searching a narrow month over a broad query may need to read many pages.

### 💰 How much does it cost to scrape the Zalando Ads Repository?

Zalando Ads Repository Scraper uses **pay-per-event** pricing, so you only pay for the ads you get:

| Event | Price |
|-------|-------|
| Actor start (per GB of memory; the default 2 GB = 2 events) | $0.0005 |
| Each ad record in the dataset | $0.0009 |

That works out to roughly **$0.90 per 1,000 ads**, with platform compute and residential proxy traffic included. Use **Max ads** to cap what a run can cost.

### 🔗 Related Actors

- [AliExpress Ad Repository Scraper](https://apify.com/rastriq/aliexpress-ad-repository-scraper)
- [Temu Ad Library Scraper](https://apify.com/rastriq/temu-ad-library-scraper)
- [Snapchat Ad Library Scraper](https://apify.com/rastriq/snapchat-ad-library-scraper)
- [Pinterest Ad Library Scraper](https://apify.com/rastriq/pinterest-ad-library-scraper)
- [TikTok Ad Library Scraper](https://apify.com/rastriq/tiktok-ad-library-scraper)
- [Facebook Ad Library Scraper](https://apify.com/rastriq/fb-adlibrary-scraper)
- [Google Ads Transparency Center Scraper](https://apify.com/rastriq/google-ads-scraper)

### ❓ FAQ

**Is it legal to scrape the Zalando Ads Repository?**
The repository is published to meet DSA Article 39 transparency obligations and is publicly accessible. Zalando Ads Repository Scraper only collects public ad records. You remain responsible for complying with Zalando's terms of use and applicable law.

**Does the output contain personal data?**
Advertisers are typically brands. If a name looks like a private individual, the record is flagged with `is_natural_person_suspected: true`. Treat flagged records as personal data under GDPR: minimise them and do not republish them.

**Do I need my own proxy?**
No. A residential proxy is included. Add your own in `proxyUrls` only if you prefer.

# Actor input Schema

## `searchQuery` (type: `string`):

Full-text search keyword, e.g. a brand or product name. Leave empty to browse all ads in the market.

## `market` (type: `string`):

Zalando market to search. Besides EU countries, Zalando also operates in Norway, Switzerland and the United Kingdom.

## `language` (type: `string`):

Preferred language for ad titles and texts when an ad has translations (falls back to English). Also sets the site locale.

## `month` (type: `string`):

Only return ads whose delivery period overlaps this month, in <b>YYYY-MM</b> format (e.g. <code>2026-10</code>). Leave empty for all months.

## `maxResults` (type: `integer`):

Maximum number of ads to extract. Use it to cap the cost of a run.

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

<b>Optional.</b> A residential proxy is <b>included</b>, so you don't need to configure anything. To use your own proxy instead, add its URLs here (e.g. <code>http://user:pass@host:port</code>).

## Actor input object example

```json
{
  "market": "DE",
  "language": "en",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset containing all scraped ads.

# 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 = {
    "market": "DE",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/zalando-ads-repository-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 = {
    "market": "DE",
    "maxResults": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/zalando-ads-repository-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 '{
  "market": "DE",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rastriq/zalando-ads-repository-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rastriq/zalando-ads-repository-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/uSdGGnprpzJlxKtnh/builds/Bd8bRYVPzrPg6SY2R/openapi.json
