# Shoptet Scraper (`vladkuz/shoptet-scraper`) Actor

Scrape products, prices, discounts, stock and variants from any Shoptet e-shop (CZ, SK, HU). Give it a store, category or product URL. Pay only per product saved.

- **URL**: https://apify.com/vladkuz/shoptet-scraper.md
- **Developed by:** [Vladimír Kuzněcov](https://apify.com/vladkuz) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 products

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

## Shoptet Scraper: products, prices and stock from any Shoptet e-shop

Shoptet Scraper extracts products from online stores built on [Shoptet](https://www.shoptet.cz), the e-commerce platform behind tens of thousands of Czech, Slovak and Hungarian e-shops. Give it a store, a category or a product URL and get clean product data: prices with and without VAT, discounts, availability, stock, variants, parameters and images.

No login, no API key and no store cooperation needed: the Actor reads the same public pages every shopper sees.

### Use cases

- **Competitor price monitoring.** Track prices and discounts of competing Shoptet stores every day with a schedule.
- **Stock and availability tracking.** See what is in stock, sold out or low on stock, per variant.
- **Catalogue import and comparison.** Pull a supplier's or partner's catalogue with codes, EANs, parameters and images.
- **Market research.** Compare assortments, brands and price levels across stores in one niche.
- **Shoptet add-on and agency work.** Audit a client's catalogue: missing EANs, descriptions or images.

### What you get for each product

| Field | Example |
| --- | --- |
| `name`, `brand`, `code`, `ean` | Hi Tec V-Lite Infinity, Hi Tec, 7/CER, 8595123456789 |
| `price`, `regularPrice`, `discountPercent` | 899, 999, 10 |
| `priceWithoutVat`, `currency` | 742.98, CZK |
| `availability`, `availabilityText`, `stockQuantity` | InStock, Skladem, 10 |
| `category` | \["Boty", "Pánské"] |
| `variants` | each with its own code, name, price, availability and stock |
| `parameters` | {"Barva": "černá", "Materiál": "kůže"} |
| `images`, `description`, `shortDescription`, `rating`, `ratingCount` | |
| `shop`, `shopName`, `url`, `productId`, `guid`, `scrapedAt` | |

### Input

| Field | Default | What it does |
| --- | --- | --- |
| `startUrls` | required | Store homepages, category URLs or product URLs, one per line. |
| `maxProductsPerStore` | `100` | Stop after this many products from each store. `0` means no limit. |
| `maxConcurrency` | `5` | Pages loaded in parallel. Keep it low for small stores. |
| `requestTimeoutSecs` | `30` | How long to wait for a page. |
| `respectRobotsTxt` | `true` | Skip pages the store's robots.txt disallows. |

```json
{
    "startUrls": ["https://classic.shoptet.cz/", "https://techno.shoptet.cz/hodinky/"],
    "maxProductsPerStore": 500
}
```

**How each URL is handled:**

- **Store homepage:** the Actor reads the store's sitemap and scrapes every product it finds. Stores without a sitemap are crawled through their category menu.
- **Category or brand page:** the Actor scrapes all products in it, page by page.
- **Product page:** the Actor scrapes that product.

URLs that are not Shoptet stores are skipped and listed in the `ISSUES` record of the run's key-value store.

### Output example

```json
{
    "shop": "techno.shoptet.cz",
    "shopName": "Techno.shoptet.cz",
    "url": "https://techno.shoptet.cz/boty-2/hi-tec-v-lite-infinity-hpi/",
    "productId": 7,
    "code": "7/CER",
    "name": "Hi Tec V-Lite Infinity Hpi",
    "brand": "Hi Tec",
    "category": ["Boty"],
    "price": 899,
    "regularPrice": 999,
    "discountPercent": 10,
    "priceWithoutVat": 742.98,
    "currency": "CZK",
    "availability": "InStock",
    "variants": [
        { "code": "7/CER", "name": "Barva: černá", "price": 899, "regularPrice": 999, "availability": "InStock", "stockQuantity": 10 },
        { "code": "7/SED", "name": "Barva: šedá", "price": 899, "regularPrice": 999, "availability": "InStock", "stockQuantity": 8 }
    ],
    "parameters": { "Jméno značky": "Hi Tec", "Záruka": "2 roky" },
    "images": ["https://cdn.myshoptet.com/usr/techno.shoptet.cz/user/shop/big/7_hi-tec-v-lite-infinity-hpi.jpg"],
    "scrapedAt": "2026-11-20T10:00:00.000Z"
}
```

### Pricing

You pay per product saved. Pages that are not products, failed pages and URLs that are not Shoptet stores are free. Set **Maximum cost per run** in the run options to cap a run: the Actor stops cleanly when the limit is reached.

### Use it from AI agents, Clay, n8n or the API

**AI agents (MCP).** Add `https://mcp.apify.com/?tools=vladkuz/shoptet-scraper` to Claude, Cursor or any MCP client and ask, for example: "What are the five cheapest products in this Shoptet store's category?"

**API.**

```bash
curl -X POST "https://api.apify.com/v2/acts/vladkuz~shoptet-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://classic.shoptet.cz/"], "maxProductsPerStore": 50}'
```

**Schedules.** Create a task with your competitors' categories and run it daily to build a price history.

### FAQ

**Which stores does it work with?** Any store running on Shoptet, on its own domain or on `*.myshoptet.com`, in any language and currency the store offers.

**Is it legal?** The Actor reads only public product pages, respects robots.txt by default and does not log in. Prices and product facts are generally not protected, but product descriptions and images can be copyrighted: check how you may use them, and follow the store's terms.

**Why is `stockQuantity` empty?** Many stores show only "In stock" without a number. The Actor reports the number only when the store publishes it.

**Do I need proxies?** No. The default concurrency is gentle enough for normal stores.

**Something is missing or wrong?** Open an issue on the Issues tab with the store URL.

### Related tools

- [Website EOL Risk Scanner](https://apify.com/vladkuz/website-eol-risk-scanner): find websites running end-of-life PHP, CMS and JavaScript libraries.

# Actor input Schema

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

A store homepage scrapes the whole store (through its sitemap). A category URL scrapes that category with all its pages. A product URL scrapes one product. Bare domains such as example.cz work too.

## `maxProductsPerStore` (type: `integer`):

Stop after this many products from each store. Use 0 for no limit.

## `maxConcurrency` (type: `integer`):

Pages loaded in parallel. Keep it low to be gentle on small stores.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for a page.

## `respectRobotsTxt` (type: `boolean`):

Skip pages that the store's robots.txt disallows.

## Actor input object example

```json
{
  "startUrls": [
    "https://classic.shoptet.cz/"
  ],
  "maxProductsPerStore": 100,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 30,
  "respectRobotsTxt": true
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `issues` (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 = {
    "startUrls": [
        "https://classic.shoptet.cz/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vladkuz/shoptet-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://classic.shoptet.cz/"] }

# Run the Actor and wait for it to finish
run = client.actor("vladkuz/shoptet-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://classic.shoptet.cz/"
  ]
}' |
apify call vladkuz/shoptet-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vladkuz/shoptet-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/SegIwlGqK3F0cgImw/builds/8UqFAwBzs3ZOFSrU1/openapi.json
