# Zara API Scraper (`rl1987/zara-api-scraper`) Actor

Scrapes Zara (Inditex) product catalogue — PLP listings and full PDP detail (colours, sizes, materials, images, prices) via the reversed Inditex mobile API. No account. Read-only.

- **URL**: https://apify.com/rl1987/zara-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

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?

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

## Zara Catalogue Scraper – Products, Prices, Sizes & Stock 🛍️

Scrape the **Zara (Inditex) product catalogue** as clean, structured data. For any Zara market
(US, UK, ES, DE, FR and more) this **Zara scraper** returns every product in a category with its
**price, colours, images, reference and availability**, plus optional full product detail
(**all sizes, materials and per-size prices**). It talks directly to Zara's mobile catalogue API
(reversed from the Zara Android app) with TLS-fingerprint impersonation, so there's **no account,
no login, and no API key** — just pick a market and a category and run.

Great for price monitoring, assortment/range analysis, competitive research and building
fashion-catalogue datasets.

### What you can scrape

- 🛍️ **Product listings (PLP)** — every product in a category: name, price, old price, discount,
  reference, section/family, colours (with image URLs) and availability.
- 📄 **Full product detail (PDP, optional)** — per-colour and **per-size** breakdown (size, SKU,
  price, availability), materials/composition, size guide and the full image gallery.
- 🔎 **Keyword search** — search the catalogue by term (e.g. `linen dress`) with cursor
  pagination and a total count. Search rows carry the product **name and URL directly** (no PDP
  needed).
- 🗂️ **Category tree (FREE)** — the whole store category tree (id, name, path) so you can find a
  category to scrape. This mode is **free** — no per-row charge.

### Key features

| Feature | Details |
|--------|---------|
| **Data source** | Zara / Inditex `itxrest` catalogue API — the same feed the Zara app uses |
| **Auth** | **None** — TLS-fingerprint impersonation, no account, no cookies, no API key |
| **Markets** | Any Zara country — set the ISO country code (US, GB, ES, DE, FR, …) |
| **Prices** | Returned in major currency units for the selected market |
| **Export** | JSON, CSV, Excel, HTML, or via the Apify API |

### Input

Find a category first (free), then scrape it:

```json
{ "mode": "categories", "country": "US" }
```

Search the catalogue by keyword:

```json
{ "mode": "search", "country": "US", "searchTerm": "linen dress", "maxItems": 100 }
```

```json
{
  "mode": "products",
  "country": "US",
  "category": "Dresses",
  "includeDetails": true,
  "maxItems": 100,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

| Field | Notes |
|-------|-------|
| `mode` | `products` (by category), `search` (by keyword), or `categories` (free tree dump) |
| `country` | ISO 3166 alpha-2 market code (e.g. `US`, `GB`, `ES`) — sets currency & assortment |
| `category` | Products mode: a category **id** (e.g. `2419940`) or **name** (e.g. `Dresses`) |
| `searchTerm` | Search mode: a keyword, e.g. `linen dress` |
| `includeDetails` | Fetch each product's PDP (sizes/materials); billed separately |
| `detailConcurrency` | Parallel PDP fetches when details are on (1–16) |
| `maxItems` | Cap products (`0` = all) |
| `proxyConfiguration` | Optional — Apify Proxy by default |

### Output

One clean row per product (prices in the market's currency):

```json
{
  "id": 545466143,
  "reference": "20120918-I2026",
  "name": "SATIN SLIP DRESS",
  "price": 49.90,
  "old_price": 69.90,
  "currency": "USD",
  "discount_percentage": 28,
  "section_name": "WOMAN",
  "family_name": "DRESSES",
  "availability": "in_stock",
  "colors": [{ "name": "Black", "reference": "…", "images": ["https://static.zara.net/…"] }],
  "url": "https://www.zara.com/us/en/…-p20120918.html"
}
```

With `includeDetails`, each row also carries a `detail` object: per-colour `sizes`
(`size`, `sku`, `price`, `availability`), `materials`, `size_guide` and the full gallery.

### Notes on the data

- **Product name & URL come from the PDP.** Zara's PLP grid omits the user-facing product name
  and the English URL keyword (it only carries an internal family label), so **enable
  `includeDetails`** to populate `name` and `url`. PLP-only rows still carry price, reference,
  colours (+images) and availability — ideal for fast price/assortment sweeps.
- **Prices are per-market.** The `country` you choose sets the store, currency and catalogue;
  verify against that same market.
- **`availability` is the catalogue flag** (valid variant), not guaranteed live per-store stock —
  Zara's live stock endpoint is guest-token-gated and out of scope for this read-only tool.
- **Categories are store-specific.** Use the free `categories` mode to get the right ids/names for
  your chosen `country`.

### Pricing

Pay-per-event, so you only pay for the data you pull:

- **$0.001 per product**
- $0.001 per product when full **detail** (PDP) enrichment is enabled (`includeDetails`)
- **Category tree (`mode: categories`) is free** — no per-row charge

### FAQ

**Do I need a Zara account or API key?** No — the actor impersonates the app's mobile catalogue API.

**Which markets are covered?** Any Zara country — set `country` to its ISO code.

**Can I get live per-store stock?** No. The catalogue availability flag is returned; true live stock
is guest-token-gated and not part of this read-only tool.

**Does the client work for other Inditex brands?** The Inditex `itxrest` schema is shared across
Bershka, Stradivarius, Pull\&Bear and Massimo Dutti — this actor targets Zara.

### Disclaimer

This is an unofficial tool and is **not affiliated with, endorsed by, or sponsored by Zara or
Inditex**. It returns read-only public catalogue data (no accounts, no orders). All trademarks
belong to their respective owners; use the scraped data responsibly and in line with applicable
terms and laws.

# Actor input Schema

## `mode` (type: `string`):

'Products' scrapes a category's listings, 'Search' scrapes keyword search results (both billed). 'Categories (free)' dumps the store's category tree — no per-row charge.

## `country` (type: `string`):

Zara market — sets the store, currency, prices and available catalogue.

## `category` (type: `string`):

PRODUCTS MODE. A Zara category id (e.g. 2419940) or a category name (e.g. "Dresses"). Run the free Categories mode first to discover ids/names.

## `searchTerm` (type: `string`):

SEARCH MODE. A keyword to search the catalogue, e.g. "linen dress", "wide leg jeans". Results carry the product name and URL directly.

## `includeDetails` (type: `boolean`):

Fetch each product's detail page (one extra request each) for colours, sizes, materials and per-size prices. Billed separately.

## `detailConcurrency` (type: `integer`):

How many PDP requests to run in parallel when 'Include full product detail' is on (1–16). Higher is faster but heavier on the target.

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

Cap the number of products returned from the category (0 = all).

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

Optional. Zara's Akamai edge passes on the client's TLS fingerprint, NOT the IP, so the catalogue works direct with NO proxy — and datacenter/automatic proxy IPs are 403-blocked by Akamai. Leave OFF unless you need IP rotation at scale, in which case use RESIDENTIAL.

## Actor input object example

```json
{
  "mode": "products",
  "country": "US",
  "includeDetails": false,
  "detailConcurrency": 8,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "category": "",
    "searchTerm": "",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/zara-api-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 = {
    "category": "",
    "searchTerm": "",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/zara-api-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 '{
  "category": "",
  "searchTerm": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rl1987/zara-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/zara-api-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/9gSjfBPagcH8vCzkt/builds/YowOVjdFbDYQCUe9Y/openapi.json
