# Zara Product Scraper (`bovi/zara-scraper`) Actor

Collect Zara product listings from zara.net by section and market. Get prices, availability, references, images, and links. Run with section, market, keywords, and max results; no login. Pricing: $0.002 per dataset item and $0.00005 per Actor Start event.

- **URL**: https://apify.com/bovi/zara-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 zara product scrapers

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

## Zara Product Scraper

Extract Zara product listings from the public catalog at `zara.net` by section and market, including prices, colors, availability, references, images, and product links. No Zara account or login is required.

- Collect catalogs for the `WOMAN`, `MAN`, `KIDS`, or `HOME` sections.
- Monitor catalog listings, prices, and availability.
- Filter categories and products with optional keywords.
- Export structured product records with links and image URLs.

### What you get

The Actor reads Zara’s localized category tree, selects category IDs for the chosen section and market, and writes product records to the dataset as soon as they pass deduplication (by product ID) and keyword filtering.

Fields whose source value is `null` or empty are omitted from the record.

| Field | Type | Description |
|---|---|---|
| `id` | string | Product ID; products without an ID are skipped |
| `position` | integer | Product position in the listing |
| `name` | string | Product name; products without a non-empty name are skipped |
| `price` | number | Price in the selected market currency; omitted when the price cannot be converted |
| `currency` | string | Currency for the selected market; omitted when the source market does not provide a currency |
| `section` | integer | Numeric section ID |
| `sectionName` | string | Product section, such as `WOMAN` |
| `familyName` | string | Product family |
| `subfamilyName` | string | Product subfamily |
| `productColor` | string | First available product color; omitted when the source provides no color |
| `colors` | integer | Count of available colors; `0` when no color list is provided |
| `availability` | string | Availability returned by Zara |
| `brandGroupCode` | string | Brand group code |
| `reference` | string | Product reference; omitted when neither source reference is provided |
| `type` | string | Product type |
| `kind` | string | Product kind |
| `displayReference` | string | Display-form product reference |
| `imageUrl` | string | HTTPS image URL from the product data; products without one are skipped |
| `productUrl` | string | Zara product URL; omitted when required SEO values are unavailable |
| `locale` | string | Locale generated from the selected market |

Old-price and discount fields are not returned.

### Sample output

This shortened sample shows one real dataset record and omits family and classification fields while preserving the original values of the fields shown.

```json
{
  "id": "594801033",
  "name": "HOUNDSTOOTH WOOL BELTED COAT",
  "price": 179,
  "currency": "USD",
  "section": 1,
  "sectionName": "WOMAN",
  "productColor": "taupe brown",
  "colors": 1,
  "availability": "in_stock",
  "reference": "02590125-I2026",
  "position": 1,
  "imageUrl": "https://static.zara.net/assets/public/ef0f/596c/c1584f6eace1/67d44c28a291/02590125704-h1/02590125704-h1.jpg?ts=1793357381864",
  "productUrl": "https://zara.net/us/en/houndstooth-wool-coat-with-belt-p02590125.html",
  "locale": "en_US"
}
```

### Pricing

This Actor uses pay-per-event billing.

| Event | Free-plan price | When it applies |
|---|---:|---|
| `apify-actor-start` | $0.00005 per event | Charged when the Actor starts running |
| `apify-default-dataset-item` | $0.002 per event | One scraped result with all fields |

On the Free plan, 1,000 results = 1,000 × $0.002 = $2.00 and 10,000 results = 10,000 × $0.002 = $20.00, plus the start event.

The `apify-actor-start` event is charged once per GB of run memory, with a minimum of one event. Each dataset item is one `apify-default-dataset-item` event.

With one start event, **2,499 results = $4.99805 on Free**: 2,499 × $0.002 + $0.00005 = $4.99805. With one start event and `maxResults` set to 50, the $5 Free-plan monthly credit covers 49 full runs (2,450 dataset results).

Apify Free plan includes **$5 of monthly platform usage credit**. Account-tier prices can differ; check the Actor’s Store listing for the applicable plan price.

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

### How to use

1. **Open** the Zara Product Scraper in your Apify account.
2. **Choose** a `section`: `WOMAN`, `MAN`, `KIDS`, or `HOME`.
3. **Set** `countryAndLanguage` in the market format shown below.
4. **Enter** optional keywords in `searchItems` and set `maxResults`.
5. **Optionally adjust** `proxyConfiguration`; it defaults to Apify Proxy with the `RESIDENTIAL` group.
6. **Run** the Actor and inspect the dataset for product names, prices, availability, references, and links.
7. **Repeat** the run through Apify Schedules; daily is a suitable starting point for listing or price-monitoring jobs.

```json
{
  "section": "WOMAN",
  "searchItems": "coat",
  "countryAndLanguage": "us-en_US",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `section` | Required section: `WOMAN`, `MAN`, `KIDS`, or `HOME` | `WOMAN` |
| `searchItems` | Optional keywords used for category selection and product-name, family, subfamily, color, and category-label filtering | Empty string |
| `countryAndLanguage` | Selects the market in `country-language_LOCALE` form, such as `us-en_US` | `us-en_US` |
| `maxResults` | Maximum product records written; the schema requires an integer of at least `1` | `50` |
| `proxyConfiguration` | Apify proxy settings; if disabled or omitted, requests use a direct connection | Apify Proxy, `RESIDENTIAL` group |

`searchItems` is split into keywords and every keyword must match a product (name, description, family, subfamily, color, or category label), so extra keywords are a common cause of empty results. With empty `searchItems`, category selection starts with the section’s preferred new-in categories when available, then continues with other visible categories. With keywords, categories are ranked by matching labels and keywords before product filtering.

The market parser accepts two- or three-letter country and language parts with an optional two-letter locale region, such as `us-en_US`. Missing or invalid values fall back to the `us-en_US` market.

### Limits and edge cases

| Condition | What you see | What to do |
|---|---|---|
| More than 12 candidate categories are available | At most the first 12 selected categories are requested; the dataset may contain fewer than `maxResults` records | Use more specific `searchItems` values or separate jobs for sections or markets |
| `maxResults` exceeds available matching products | Fewer records than the requested maximum | Check the section, market, and keywords |
| `maxResults` is zero or negative | The Actor logs that no items were requested and returns without collecting records | Use an integer of at least `1`; the schema enforces this minimum |
| A product lacks an ID, non-empty name, or HTTPS image URL | The product is skipped | Try another market or category |
| SEO keyword or product ID values are missing | `productUrl` is omitted | Use the available ID, reference, or image URL |
| Zara returns HTTP 404 for a selected category | The Actor logs a warning and continues with other selected categories | Check the section and market |
| Zara returns another HTTP error, an Akamai verification page, non-JSON data, or an unexpected response shape | The request raises an error and the run can fail | Check the run log, market, and section; optionally configure the Apify proxy |
| A later non-404 category request fails after records are pushed | The run raises an error; earlier dataset records can remain | Inspect the dataset and run log, then run again if needed |
| No products match the keywords, or the section has no product records | The run raises an error indicating no matching products or records | Remove or narrow the keywords and verify the section and market |

### FAQ

#### How much does it cost to scrape Zara?

See Pricing for the Free-plan event rates, the worked example, and the monthly platform usage credit.

#### Why did my Zara run return no records?

The `searchItems` value may not match Zara’s category labels and product fields. Check the market format or run without keywords.

#### Why is the Actor not working?

The run can fail when Zara returns an HTTP error, an Akamai verification page, non-JSON data, or an unexpected response shape. Review the run log, confirm the section and market, and optionally configure the Apify proxy. HTTP 404 responses for categories are skipped while other selected categories can continue.

#### Is it legal or allowed to scrape Zara’s public catalog?

The Actor reads public catalog data from `zara.net`. Whether a use is legal or allowed depends on the source terms and applicable law for your use case; this Actor provides no legal guarantee.

### Related actors

- [Competitor Price Monitor – Price Drop Alerts, Any Store URL](https://apify.com/bovi/competitor-price-monitor) — related to monitoring competitor product prices and changes.
- [Auchan France Product Scraper](https://apify.com/bovi/auchan-scraper) — another bovi Actor for extracting retailer product data.
- [ALDI AU Scraper - Groceries, Special Buys & Prices](https://apify.com/bovi/aldi-scraper) — related retailer product, special-buy, and price data extraction.

# Actor input Schema

## `searchItems` (type: `string`):

Optional product keywords. Matching products are selected from relevant Zara categories when available.

## `section` (type: `string`):

Zara product section to collect.

## `countryAndLanguage` (type: `string`):

Zara market in country-language_LOCALE form, for example us-en_US.

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

Maximum number of product records to return.

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

Optional Apify proxy configuration. If omitted or disabled, requests use the direct connection.

## Actor input object example

```json
{
  "searchItems": "",
  "section": "WOMAN",
  "countryAndLanguage": "us-en_US",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset containing the Zara product records.

# 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 = {
    "searchItems": "",
    "section": "WOMAN",
    "countryAndLanguage": "us-en_US",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/zara-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 = {
    "searchItems": "",
    "section": "WOMAN",
    "countryAndLanguage": "us-en_US",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/zara-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 '{
  "searchItems": "",
  "section": "WOMAN",
  "countryAndLanguage": "us-en_US",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/zara-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/zara-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/4AuIb3h3yjnDf9LNl/builds/nhbM0IJP0fMkcrgKl/openapi.json
