# Zoot Scraper (`lhotanova/zoot-scraper`) Actor

Efficiently gather essential product data from Zoot, a leading Czech fashion retailer. Scrape product details, prices, sizes, brands, and more with ease using Zoot Scraper. Boost your e-commerce insights effortlessly. Works with CZ, SK, and RO domains: zoot.cz, zoot.sk and zoot.ro.

- **URL**: https://apify.com/lhotanova/zoot-scraper.md
- **Developed by:** [Kristýna Lhoťanová](https://apify.com/lhotanova) (community)
- **Categories:** E-commerce, Open source
- **Stats:** 13 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## Extract Product Data with Zoot Scraper

Zoot Scraper is an Apify actor that allows you to extract data from Zoot, a popular fashion website in Czech Republic, Slovakia, and Romania. With this scraper, you can extract various data attributes from any product on Zoot's website. Whether you want to extract products based on a specific category or provide direct product URLs, Zoot Scraper has got you covered.

Let's explore an example product to get a glimpse of the collected data:

**🔗 Product URL**: [Product URL](https://www.zoot.cz/polozka/2955680/saty-french-connection-2)

**👗 Product name**: Šaty French Connection

**🏷️ Brand**: [French Connection](https://www.zoot.cz/znacka/15105/french-connection)

**🌐 Breadcrumbs**:

- [Šaty](https://www.zoot.cz/kategorie/22911/zeny/saty) > [Šaty na denní nošení](https://www.zoot.cz/kategorie/22926/zeny/saty/saty-na-denni-noseni)

**🖼️ Thumbnail**:

<img src="https://image.zoot.cz/cache2/fit/954x1281/000/000/007/677/7677270.jpeg" alt="Thumbnail" style="max-width: 250px; float: left; margin-right: 100%; margin-bottom: 1%">

**💰 Price**: 3 119 Kč (original price: 6 249 Kč, extra discount code: `20NAZOOT`)

**📏 Available Sizes**:

- S
- M
- L (Poslední kousek!)

**🔍 Attributes**:

- **Barva**: růžová, bílá
- **Vzor**: květovaný
- **Délka**: ke kolenům
- **Zapínání**: zip
- **Modelka měří**: 172 cm
- **Modelka váží**: 49 kg
- **Modelka má na sobě velikost**: XS

This example showcases the data extracted from a specific product using Zoot Scraper. The scraper can be utilized to extract data for any product available on Zoot's website. You have the flexibility to download the extracted data in various formats, including JSON, CSV, HTML, or XML. Here's an example of the JSON output corresponding to the product mentioned above:

```json
{
	"url": "https://www.zoot.cz/polozka/2955680/saty-french-connection-2",
	"name": "Šaty French Connection",
	"priceCurrency": "czk",
	"currentBestPrice": {
		"value": 3119,
		"formattedPrice": "3 119 Kč"
	},
	"originalPrice": {
		"value": 6249,
		"formattedPrice": "6 249 Kč"
	},
	"saleCode": "20NAZOOT",
	"thumbnail": "https://image.zoot.cz/cache2/fit/1908x2562/000/000/007/677/7677270.jpeg",
	"images": [
		"https://image.zoot.cz/cache2/fit/1908x2562/000/000/007/677/7677270.jpeg",
		"https://image.zoot.cz/cache2/fit/1908x2562/000/000/007/677/7677273.jpeg",
		"https://image.zoot.cz/cache2/fit/1908x2562/000/000/007/677/7677276.jpeg",
		"https://image.zoot.cz/cache2/fit/1908x2562/000/000/007/677/7677279.jpeg"
	],
	"brand": {
		"link": "https://www.zoot.cz/znacka/15105/french-connection",
		"logo": "https://image.zoot.cz/cache2/scale/150x40/center/000/000/000/418/418024.png"
	},
	"breadcrumbs": [
		{
			"text": "Šaty",
			"url": "https://www.zoot.cz/kategorie/22911/zeny/saty"
		},
		{
			"text": "Šaty na denní nošení",
			"url": "https://www.zoot.cz/kategorie/22926/zeny/saty/saty-na-denni-noseni"
		}
	],
	"description": null,
	"attributes": [
		{
			"key": "Barva",
			"value": "růžová, bílá"
		},
		{
			"key": "Vzor",
			"value": "květovaný"
		},
		{
			"key": "Délka",
			"value": "ke kolenům"
		},
		{
			"key": "Zapínání",
			"value": "zip"
		},
		{
			"key": "Modelka měří",
			"value": "172 cm"
		},
		{
			"key": "Modelka váží",
			"value": "49 kg"
		},
		{
			"key": "Modelka má na sobě velikost",
			"value": "XS"
		}
	],
	"sizes": [
		{
			"size": "S",
			"available": true
		},
		{
			"size": "M",
			"available": true
		},
		{
			"size": "L",
			"available": true,
			"note": "Poslední kousek!"
		}
	],
	"available": true
}
```

### Integrations and Zoot Scraper

In addition to its scraping capabilities, Zoot Scraper seamlessly integrates with various cloud services and web apps through the [integrations on the Apify platform](https://apify.com/integrations). You can connect Zoot Scraper with tools like Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and many more. You can also leverage [webhooks](https://docs.apify.com/integrations/webhooks) to automate actions whenever specific events occur. For example, you can set up notifications whenever Zoot Scraper successfully completes a run.

### Using Zoot Scraper with the Apify API

The Apify API provides programmatic access to the Apify platform, allowing you to manage, schedule, and run Apify actors. With the API, you can access datasets, monitor actor performance, fetch results, create and update versions, and more. If you prefer Node.js, you can utilize the `apify-client` NPM package, while Python users can take advantage of the `apify-client` PyPI package.

For detailed information and code examples, refer to the comprehensive [Apify API reference](https://docs.apify.com/api/v2) documentation or explore the [API tab](https://apify.com/lhotanok/zoot-scraper/api) for practical code samples.

### Other E-commerce Scrapers

If you're interested in scraping data from other e-commerce platforms, Apify offers a range of dedicated scrapers. You can explore fashion-oriented scrapers like [Zalando Scraper](https://apify.com/lhotanok/zalando-scraper), [Asos Scraper](https://apify.com/epctex/asos-scraper), [Forever21 Scraper](https://apify.com/epctex/forever21-scraper), [Trendyol Product Scraper](https://apify.com/yeyo/trendyol-scraper), [Shein Scraper](https://apify.com/natanielsantos/shein-scraper) and more. Or you can utilize e-commerce scrapers with wider range of products such as [Amazon Product Scraper](https://apify.com/junglee/amazon-crawler), [eBay Scraper](https://apify.com/dtrungtin/ebay-items-scraper), [AliExpress Scraper](https://apify.com/epctex/aliexpress-scraper), [Etsy Scraper](https://apify.com/epctex/etsy-scraper), [Walmart Scraper](https://apify.com/epctex/walmart-scraper) or [Allegro Scraper](https://apify.com/lhotanok/allegro-scraper). Simply browse the [E-commerce Category](https://apify.com/store/categories/ecommerce) in the Apify Store to explore more options.

# Actor input Schema

## `startUrls` (type: `array`):

Enter URLs of product categories such as `'https://www.zoot.cz/katalog/17504/zeny'` or URLs of the individual products.

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

Set the maximum number of items you want to scrape. If you leave this field unset, the actor will extract all available items.

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

Use either automatic Apify proxies or your own.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.zoot.cz/katalog/17504/zeny",
    "https://www.zoot.cz/katalog/17572/muzi",
    "https://www.zoot.cz/vse-pro-deti"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        "https://www.zoot.cz/katalog/17504/zeny",
        "https://www.zoot.cz/katalog/17572/muzi",
        "https://www.zoot.cz/vse-pro-deti"
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lhotanova/zoot-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 = {
    "startUrls": [
        "https://www.zoot.cz/katalog/17504/zeny",
        "https://www.zoot.cz/katalog/17572/muzi",
        "https://www.zoot.cz/vse-pro-deti",
    ],
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lhotanova/zoot-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 '{
  "startUrls": [
    "https://www.zoot.cz/katalog/17504/zeny",
    "https://www.zoot.cz/katalog/17572/muzi",
    "https://www.zoot.cz/vse-pro-deti"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lhotanova/zoot-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lhotanova/zoot-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/C5a4y7snxEzDzzvT6/builds/YABWdkbVfAdwXkASp/openapi.json
