# Zara Product Scraper 🛍️ (`easyapi/zara-product-scraper`) Actor

🛍️ Powerful Zara product scraper that extracts detailed product information including prices, variants, images, and availability from Zara's online store. Perfect for e-commerce analytics, price monitoring, and market research.

- **URL**: https://apify.com/easyapi/zara-product-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Integrations, Other
- **Features:** Limited permissions
- **Stats:** 169 total users, 3 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 🛍️

This powerful Actor scrapes detailed product information from Zara's online store. Perfect for e-commerce analytics, price monitoring, and market research.

### 🌟 Features

- Scrapes product details from any Zara search URL
- Extracts comprehensive product information including:
  - Product name and ID
  - Price and availability
  - Color variants and details
  - High-resolution image URLs
  - Section and category information
  - SEO data
- Supports multiple search URLs in a single run
- Built-in proxy rotation support
- Random user agent rotation for better reliability
- Smart pagination handling
- Configurable maximum items limit

### 📊 Output Data

The Actor provides detailed product information in JSON format, including:

- Product ID and reference numbers
- Product name and description
- Price information
- Color variants with availability
- High-quality image URLs
- Section and category classification
- SEO keywords and metadata
- Stock availability status

### 💡 Use Cases

- Price monitoring and competitive analysis
- Product catalog synchronization
- Market research and trend analysis
- Inventory tracking
- E-commerce data enrichment
- Fashion trend analysis

### 🚀 Getting Started

1. Create a new task for the Actor
2. Provide search URLs from Zara's website
3. Set the maximum number of items to scrape (optional)
4. Run the Actor and get your data!

### 📝 Notes

- Respects Zara's website structure and robots.txt
- Implements smart delays and random intervals
- Uses proxy rotation for better reliability
- Optimized for performance and reliability

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.zara.com/us/en/search?searchTerm=shirt&section=WOMAN"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.zara.com/us/en/search?searchTerm=shirt&section=WOMAN",
        "brandImpl": "zara",
        "id": 415177868,
        "reference": "C05063023620000-V2025",
        "type": "Product",
        "kind": "Wear",
        "brand": {
            "brandId": 1,
            "brandGroupId": 1,
            "brandGroupCode": "zara"
        },
        "name": "OVERSIZED COMBINATION ORGANZA SHIRT",
        "price": 4990,
        "bundleProducts": [],
        "section": 1,
        "sectionName": "WOMAN",
        "familyName": "CAMISA",
        "subfamilyName": "T.CAMISA",
        "detail": {
            "reference": "05063023-V2025",
            "displayReference": "5063/023",
            "colors": [
                {
                    "id": "620",
                    "productId": 415178131,
                    "name": "Pink",
                    "stylingId": "0",
                    "xmedia": [
                        {
                            "allowedScreens": [
                                "large",
                                "small"
                            ],
                            "datatype": "xmedia",
                            "height": 3072,
                            "kind": "full",
                            "name": "05063023620-p",
                            "path": "/assets/public/36e1/32bc/0a724fb0acdb/50ed88c7dcc9/05063023620-p",
                            "set": 2,
                            "timestamp": "1739869094600",
                            "type": "image",
                            "width": 2048,
                            "extraInfo": {
                                "assetId": "36e132bc0a724fb0acdb50ed88c7dcc9"
                            },
                            "url": "https://static.zara.net/assets/public/36e1/32bc/0a724fb0acdb/50ed88c7dcc9/05063023620-p/05063023620-p.jpg?ts=1739869094600&w={width}"
                        }
                    ],
                    "price": 4990,
                    "availability": "in_stock",
                    "reference": "C05063023620000-V2025",
                    "extraInfo": {
                        "highlightPrice": false
                    },
                    "tagTypes": [
                        {
                            "displayName": "FEW ITEMS LEFT",
                            "type": "FEW_ITEMS_LEFT"
                        }
                    ]
                }
            ]
        },
        "seo": {
            "keyword": "oversized-combination-organza-shirt",
            "seoProductId": "05063023",
            "discernProductId": 415178131
        },
        "availability": "in_stock",
        "extraInfo": {
            "highlightPrice": false,
            "isAddToCartInGridDisabled": false
        },
        "colorInfo": {
            "mainColorHexCode": "#c3918f",
            "numAdditionalColors": 0
        },
        "xmedia": [
            {
                "allowedScreens": [
                    "large",
                    "small"
                ],
                "datatype": "xmedia",
                "height": 3072,
                "kind": "full",
                "name": "05063023620-p",
                "path": "/assets/public/36e1/32bc/0a724fb0acdb/50ed88c7dcc9/05063023620-p",
                "set": 2,
                "timestamp": "1739869094600",
                "type": "image",
                "width": 2048,
                "extraInfo": {
                    "assetId": "36e132bc0a724fb0acdb50ed88c7dcc9"
                },
                "url": "https://static.zara.net/assets/public/36e1/32bc/0a724fb0acdb/50ed88c7dcc9/05063023620-p/05063023620-p.jpg?ts=1739869094600&w={width}"
            }
        ]
    },
    ...
]
```

### 🤝 Related Actors

Looking for more e-commerce and social media data? Check out these powerful scrapers:

- 🛍️ [TikTok Videos Scraper](https://apify.com/easyapi/tiktok-videos-scraper) - Extract comprehensive video metadata for product marketing research
- 🎥 [TikTok LIVE Scraper](https://apify.com/easyapi/tiktok-live-scraper) - Monitor live streaming product promotions and marketing trends
- 👥 [TikTok Following Scraper](https://apify.com/easyapi/tiktok-following-scraper) - Research fashion influencers and their audience networks
- 🔵 [Facebook Following Scraper](https://apify.com/easyapi/facebook-following-scraper) - Analyze fashion brand followers and social relationships
- 📱 [Reddit Posts Search Scraper](https://apify.com/easyapi/reddit-posts-search-scraper) - Track fashion discussions and product feedback
- 👻 [Snapchat User Stories Scraper](https://apify.com/easyapi/snapchat-user-stories-scraper) - Monitor fashion brand stories and promotions
- 🎯 [Snapchat Spotlight Detail Scraper](https://apify.com/easyapi/snapchat-spotlight-detail-scraper) - Extract fashion-related viral content
- 👥 [VK Groups Scraper](https://apify.com/easyapi/vk-groups-scraper) - Research fashion communities and brand groups
- 👤 [VK People Scraper](https://apify.com/easyapi/vk-people-scraper) - Analyze fashion enthusiasts and potential customers
- 📸 [Instagram Profile Scraper](https://apify.com/easyapi/instagram-profile-scraper) - Extract fashion influencer profiles and metrics
- 🖼️ [Instagram Post Detail Scraper](https://apify.com/easyapi/instagram-post-detail-scraper) - Monitor fashion product posts and engagement
- 📊 [Instagram Hashtag Scraper](https://apify.com/easyapi/instagram-hashtag-scraper) - Track fashion trends and hashtag performance
- 💬 [Instagram Comments Scraper](https://apify.com/easyapi/instagram-comments-scraper) - Analyze customer feedback and sentiment
- 📱 [Instagram Story Scraper](https://apify.com/easyapi/instagram-story-scraper) - Keep track of fashion brands' story content
- 🛒 [Tokopedia Product Search Scraper](https://apify.com/easyapi/tokopedia-product-scraper) - Research fashion products in Asian markets

# Actor input Schema

## `searchUrls` (type: `array`):

List of Zara search URLs to scrape

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

Maximum number of items to scrape (default: 100)

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.zara.com/us/en/search?searchTerm=new&section=WOMAN"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/zara-product-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/zara-product-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 '{}' |
apify call easyapi/zara-product-scraper --silent --output-dataset

```

## MCP server setup

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