# Bershka (`datasaurus/bershka`) Actor

Scrape products from bershka.com websites. All countries and languages. Scrape the full website or scrape by product category or individual product. Fast and efficient. n8n node: n8n-nodes-bershka

- **URL**: https://apify.com/datasaurus/bershka.md
- **Developed by:** [datasaurus](https://apify.com/datasaurus) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 47 total users, 1 monthly users, 100.0% runs succeeded, 8 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Bershka Products Scraper

Extract structured **Bershka product data** including **prices, colours, sizes, SKUs, images and availability** across Bershka website countries and languages. Product details can include **composition, care instructions, sustainability information, promotions and first available dates** where returned by the website.

Start from a regional website homepage, category or individual product URL, and combine multiple countries in one run. The Actor scrapes individual product pages for detailed information and supports configurable limits and product deduplication.

Category lookup mappings are cached between runs and checked against live category metadata before reuse. Product details, prices and availability are fetched fresh. Proxy routing tries datacentre first and switches to residential when needed.

Checkout our other scrapers: [Zara](https://apify.com/datasaurus/zara) | [ASOS](https://apify.com/datasaurus/asos) | [Boohoo](https://apify.com/datasaurus/boohoo) | [Stradivarius](https://apify.com/datasaurus/stradivarius) | [Pull\&Bear](https://apify.com/datasaurus/pullandbear) | [MassimoDutti](https://apify.com/datasaurus/massimodutti) | [H\&M](https://apify.com/datasaurus/hm-products) | [Oysho](https://apify.com/datasaurus/oysho) | [ZaraHome](https://apify.com/datasaurus/zarahome) | [Boots](https://apify.com/datasaurus/boots) | [Sephora](https://apify.com/datasaurus/sephora) | [Argos](https://apify.com/datasaurus/agros)

n8n node: [n8n-nodes-bershka](https://www.npmjs.com/package/n8n-nodes-bershka)

### What data can be extracted?

| Data | Available information |
|---|---|
| Product | Name, ID, reference, display reference, descriptions and product URL |
| Pricing | Product and size prices, previous prices and promotion information |
| Availability | Product and size buyability, back-soon indicators |
| Variants | Colours, colour references, sizes, SKUs and part numbers |
| Categories | Category, product type, SEO keyword and source URLs |
| Images | Main image and images for each colour |
| Product details | Composition, care instructions and first available date |
| Materials and origin | Sustainability, certified-material and traceability fields, and size-level country information where available |

Available fields depend on the product and information returned by Bershka. Some fields may be empty or null, including descriptions and sustainability or traceability details.

### Use cases

- **Catalogue analysis** — research products, categories, colours and sizes.
- **Price monitoring** — compare current prices, previous prices and promotions.
- **Availability monitoring** — track product and size availability.
- **Competitor research** — compare assortment, composition and product details.
- **International comparison** — analyse regional product ranges and prices.

### Supported URLs

| Scope | Example |
|---|---|
| Website | `https://www.bershka.com/gb/` |
| Category | `https://www.bershka.com/gb/men/clothes/jeans-n3676.html` |
| Product | `https://www.bershka.com/gb/long-sleeve-print-t-shirt-c0p209128236.html?colorId=605` |

Use current URLs from Bershka; category and product links can change as collections are updated.

#### Country and language examples

| Country | Language | Website URL |
|---|---|---|
| United Kingdom | English | `https://www.bershka.com/gb/` |
| United States | English | `https://www.bershka.com/us/` |
| Spain | Spanish | `https://www.bershka.com/es/` |
| France | French | `https://www.bershka.com/fr/` |

These illustrate regional website URLs rather than the full country list. Combine regional homepage, category or product URLs in `start_urls` to collect multiple markets. Product ranges, prices and availability can differ between markets.

### Input example

```json
{
  "start_urls": [
    {
      "url": "https://www.bershka.com/gb/"
    }
  ],
  "deduplicate_across_all_start_urls": true,
  "max_results": 10
}
```

### Output

Results are returned as **structured JSON**. Each record represents a product bundle that can contain several colours and sizes. Colour variants are nested in `colorsSizesImagesJSON`, with a `sizes` array inside each colour.

A shortened example record (only 2 colours, 2 sizes and 2 photos are shown below but the actual output contains all values):

### Example Output

```json
{
  "id": 176011023,
  "name": "Mega baggy jeans",
  "description": "",
  "longDescription": "",
  "reference": "00351352-V2025",
  "displayReference": "0351/352",
  "productType": "Clothing",
  "mainImage": "https://static.bershka.net/assets/public/f1fa/df1f/8cc84ba7a5f7/59920947066e/00351352800-a4o/00351352800-a4o.jpg?ts=1737039457826",
  "colors": "Black, Green",
  "sizes": "26, 28, 29, 30, 31, 32, 34, 36",
  "price": 4999,
  "oldPrice": null,
  "keyword": "mega-baggy-jeans",
  "category": "men/clothes/jeans-n3676",
  "availabilityDate": "2024-11-14 08:28:24.0",
  "colorsSizesImagesJSON": [
    {
      "id": "800",
      "reference": "C00351352800-V2025",
      "displayReference": "0351/352/800",
      "name": "Black",
      "productPageSelectedColor": "https://www.bershka.com/gb/mega-baggy-jeans-c0p176011023.html?colorId=800",
      "xmedia": [
        "https://static.bershka.net/assets/public/f1fa/df1f/8cc84ba7a5f7/59920947066e/00351352800-a4o/00351352800-a4o.jpg?ts=1737039457826",
        "https://static.bershka.net/assets/public/65d4/d919/18a540129dda/3e5f1986c7cd/00351352800-b/00351352800-b.jpg?ts=1737039465915",
        "https://static.bershka.net/assets/public/3412/ba14/9c7945c3a36a/d1b793814a8d/00351352800-p/00351352800-p.jpg?ts=1737114486092"
      ],
      "sizes": [
        {
          "sku": 176011025,
          "name": "26",
          "description": null,
          "partnumber": "0035135280032-V2025",
          "isBuyable": true,
          "backSoon": "0",
          "mastersSizeId": "32",
          "price": "4999",
          "oldPrice": null,
          "sizeType": "regular",
          "country": "BANGLADESH",
          "skuDimensions": []
        },
        {
          "sku": 176011027,
          "name": "28",
          "description": null,
          "partnumber": "0035135280034-V2025",
          "isBuyable": true,
          "backSoon": "0",
          "mastersSizeId": "34",
          "price": "4999",
          "oldPrice": null,
          "sizeType": "regular",
          "country": "BANGLADESH",
          "skuDimensions": []
        }
      ]
    },
    {
      "id": "525",
      "reference": "C00351352525-V2025",
      "displayReference": "0351/352/525",
      "name": "Green",
      "productPageSelectedColor": "https://www.bershka.com/gb/mega-baggy-jeans-c0p176011023.html?colorId=525",
      "xmedia": [
        "https://static.bershka.net/assets/public/93de/5435/34f6493293f2/5e0169ef14ce/00351352525-a4o/00351352525-a4o.jpg?ts=1737039462562",
        "https://static.bershka.net/assets/public/272a/d3d9/92e7446b92d9/31d6a0f91f2e/00351352525-b/00351352525-b.jpg?ts=1737039469347",
        "https://static.bershka.net/assets/public/8147/cd8f/45f342a2952d/cb4296cf0413/00351352525-r/00351352525-r.jpg?ts=1737114501708"
      ],
      "sizes": [
        {
          "sku": 176011036,
          "name": "26",
          "description": null,
          "partnumber": "0035135252532-V2025",
          "isBuyable": true,
          "backSoon": "0",
          "mastersSizeId": "32",
          "price": "4999",
          "oldPrice": null,
          "sizeType": "regular",
          "country": "BANGLADESH",
          "skuDimensions": []
        },
        {
          "sku": 176011037,
          "name": "28",
          "description": null,
          "partnumber": "0035135252534-V2025",
          "isBuyable": true,
          "backSoon": "0",
          "mastersSizeId": "34",
          "price": "4999",
          "oldPrice": null,
          "sizeType": "regular",
          "country": "BANGLADESH",
          "skuDimensions": []
        }
      ]
    }
  ],
  "isBuyable": true,
  "onSpecial": false,
  "website": "https://www.bershka.com/gb/",
  "categoryPage": "https://www.bershka.com/gb/men/clothes/jeans-n3676",
  "productPage": "https://www.bershka.com/gb/mega-baggy-jeans-c0p176011023.html",
  "mainColorid": "800",
  "composition": [
    {
      "part": "1",
      "composition": [
        {
          "id": "173862329036959261",
          "name": "cotton",
          "description": "100",
          "percentage": "100"
        }
      ]
    }
  ],
  "compositionDetail": {
    "parts": [
      {
        "id": "1",
        "description": "OUTER SHELL",
        "areas": [],
        "components": [
          {
            "material": "cotton",
            "percentage": "100%"
          }
        ],
        "microcontents": [],
        "reinforcements": []
      }
    ],
    "exceptions": [
      "EXCEPT ORNAMENTAL YARNS"
    ]
  },
  "care": [
    "MACHINE WASH UP TO 40ºC/104ºF GENTLE CYCLE",
    "DO NOT BLEACH",
    "IRON UP TO 110ºC/230ºF",
    "TUMBLE DRY LOW",
    "DRY CLEAN TETRACHLORETHYLENE"
  ],
  "sustainability": {
    "show": false,
    "syntheticFiberPercentage": {
      "name": ""
    }
  },
  "certifiedMaterials": {
    "show": true,
    "materials": []
  },
  "nameEn": "Mega baggy jeans",
  "traceability": {
    "show": false,
    "weaving": {
      "name": "",
      "country": []
    },
    "dyeingPrinting": {
      "name": "",
      "country": []
    },
    "confection": {
      "name": "",
      "country": []
    },
    "assembly": {
      "name": "",
      "country": []
    },
    "pricking": {
      "name": "",
      "country": []
    },
    "finish": {
      "name": "",
      "country": []
    }
  },
  "country": ""
}
```

Prices retain the source representation: this example has a numeric product `price` of `4999` and a string size `price` of `"4999"`. Check the regional currency and price scale before comparing or displaying values.

### AI agents and integrations

Connect chat clients such as **Claude and ChatGPT** to Apify through the [Apify MCP server](https://docs.apify.com/integrations/mcp) to discover and run eligible Actors from a conversation. Bershka product data can also be used in agents built with frameworks such as OpenAI Agents SDK and LangChain; see Apify's [AI integration guides](https://docs.apify.com/integrations/ai).

Structured records let agents work directly with product names, prices, colours, sizes and availability.

Example requests:

> Collect products from this Bershka category and return their names, prices and available sizes.

> Collect detailed data for these Bershka products, including composition and care instructions.

n8n node: [n8n-nodes-bershka](https://www.npmjs.com/package/n8n-nodes-bershka)

#### Official integration guides

- [AI integrations](https://docs.apify.com/integrations/ai) — connect Apify data collection with AI applications and agent frameworks.
- [Apify MCP server](https://docs.apify.com/integrations/mcp) — setup, authentication and Actor eligibility requirements.
- [n8n integration](https://docs.apify.com/integrations/n8n) — run Actors and retrieve their results in n8n workflows.

### Resources

- [Getting Started with Apify 1/4 - Introduction](https://www.youtube.com/watch?v=b_nep8vMnkc\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=1)
- [Getting Started with Apify 4/4 - Integrations](https://www.youtube.com/watch?v=bNACk1_S_6w\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=4)
- [Try Apify for Free - 2,000+ Pre-built Web Scraping and Automation Tools](https://www.youtube.com/watch?v=WQNgQVRG9_U)
- [Integration with Make, GitHub, Zapier, Google Drive, and other apps](https://apify.com/integrations)
- [How to Train ChatGPT on Your Own Data - Build a Custom AI Chatbot](https://www.youtube.com/watch?v=LcG919C4UeU)
- [Apify Platform Documentation](https://docs.apify.com/platform)

### Notes

- **Product bundles:** The website may display different colours separately, while the Actor groups them into one product record. Requesting five listing entries can therefore return one record containing five colours.
- **Result limits:** `max_results` is optional and applies per start URL. Omit it to collect all available products within the selected categories, subject to Actor runtime and request limits. Bundles and unavailable items can produce fewer output records. `max_results` is a limit rather than a guaranteed record count. Blank placeholder products are filtered out, which can also reduce the number returned.
- **Deduplication:** `deduplicate_across_all_start_urls` defaults to true. Overlapping inputs share lookups and skip source IDs already requested in the same store, catalogue and language. Products from different regional markets remain separate.
- **Proxies:** The Actor tries datacentre first and keeps a working session. A fast IP block can trigger one fresh datacentre session per host per run, followed by residential fallback. Repeatedly blocked hosts stay on residential for the rest of the run.
- **Blocked requests:** A `403` response can prevent a run from starting or completing. Rerunning may resolve the issue, but repeated blocking can persist.
- **Output format:** JSON preserves nested variant data. Summary fields such as `colors`, `sizes`, `category` and `mainImage` support flatter exports for Excel or Google Sheets. Source field names are preserved.
- Detailed `color` and `size` information is contained within the `colorsSizesImagesJSON` json field.
- Each line/item in the result is a unique product within which the can be multiple colors and sizes.
- The field names match the field names returned by the website.

### Support

For bugs, additional fields or supported URL requests, use the Actor's **Issues** tab. New to Apify? See the [platform documentation](https://docs.apify.com/platform).

[Browse all Datasaurus scrapers](https://apify.com/datasaurus).

# Actor input Schema

## `start_urls` (type: `array`):

Website: e.g.
https://www.bershka.com/gb/
-see Information tab for a list of country websites-
Category page: e.g.
https://www.bershka.com/gb/men/clothes/jeans-n3676.html
Product page: e.g.
https://www.bershka.com/gb/baggy-jeans-c0p226929266.html
-the full url is required to scrape product pages-

## `deduplicate_across_all_start_urls` (type: `boolean`):

Activate to deduplicate results across all start urls. Deactivate to deduplicate results for each start url independently.

## `max_categories` (type: `integer`):

Select the number of category product pages to scrape per url. This works with main page urls only.

## `max_results` (type: `integer`):

Select the maximum number of products to scrape per start url. Actual results may be lower than this number due to the way products are displayed on the website. On the website individual colors of the same item may appear separately, however the scraper will retrieve the 'product bundle' containing all colours of that item. So requesting 5 products might return 1 result if 5 colour variations of the same product where displayed separately on the webpage. Omit to collect all available products within the selected categories, subject to Actor runtime and request limits.

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.bershka.com/gb/"
    },
    {
      "url": "https://www.bershka.com/gb/men/clothes/jeans-n3676.html"
    },
    {
      "url": "https://www.bershka.com/gb/baggy-jeans-c0p226929266.html"
    }
  ],
  "deduplicate_across_all_start_urls": true,
  "max_results": 10
}
```

# 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 = {
    "start_urls": [
        {
            "url": "https://www.bershka.com/gb/"
        },
        {
            "url": "https://www.bershka.com/gb/men/clothes/jeans-n3676.html"
        },
        {
            "url": "https://www.bershka.com/gb/baggy-jeans-c0p226929266.html"
        }
    ],
    "max_results": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasaurus/bershka").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 = {
    "start_urls": [
        { "url": "https://www.bershka.com/gb/" },
        { "url": "https://www.bershka.com/gb/men/clothes/jeans-n3676.html" },
        { "url": "https://www.bershka.com/gb/baggy-jeans-c0p226929266.html" },
    ],
    "max_results": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("datasaurus/bershka").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 '{
  "start_urls": [
    {
      "url": "https://www.bershka.com/gb/"
    },
    {
      "url": "https://www.bershka.com/gb/men/clothes/jeans-n3676.html"
    },
    {
      "url": "https://www.bershka.com/gb/baggy-jeans-c0p226929266.html"
    }
  ],
  "max_results": 10
}' |
apify call datasaurus/bershka --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datasaurus/bershka"
        }
    }
}
```

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/2AnRZdQkB8kARBaV3/builds/cahzsyV9vFFD43ZaC/openapi.json
