# 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)
- **Features:** Limited permissions
- **Stats:** 6 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

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 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` | Market — pick from the country dropdown (United States, United Kingdom, España, …). Sets store, 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

The current price of every event is on the **Pricing** tab of this Actor's page in Apify Store. That tab is generated from the Actor's own pricing record, so it is always current, and your plan's rung is applied automatically. A figure repeated here would be a second copy that drifts out of date.

You can cap what any single run may spend with **Max total 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",
  "category": "2419075",
  "searchTerm": "",
  "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": "2419075",
    "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": "2419075",
    "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": "2419075",
  "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/pQwYgvDdoyQ9dexk3/openapi.json
