# Digitec Scraper - Swiss Electronics Prices, Stock & Specs (`scrapewise/digitec-scraper`) Actor

Scrape Digitec (digitec.ch) products by link, product ID or keyword: price with and without VAT, stock, brand, category path, GTIN, seller, warranty, rating, image and full technical specs. Galaxus links work too. English, German, French or Italian. Error rows are free.

- **URL**: https://apify.com/scrapewise/digitec-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product delivereds

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

## Digitec Scraper: Swiss electronics prices, stock and specs from digitec.ch

This Digitec scraper turns **product pages of digitec.ch (and galaxus.ch)** into clean rows: **price with and without VAT**, stock, brand, full category path, GTIN, seller, warranty, rating, image and the complete technical specs. Paste product links or just product IDs, or search by keyword, and choose English, German, French or Italian output.

Digitec is Switzerland's largest online shop for electronics, computers and household goods. Use this Actor for price monitoring and repricing, competitor and assortment analysis, product catalog enrichment (GTIN, MPN and specs), stock tracking and market research on Swiss retail prices. Everything comes from public product pages, with no account needed.

### At a glance

| What | Price |
|---|---|
| Product delivered | **US$ 1.00 per 1,000 products** (US$ 0.001 each) |
| Run start | US$ 0.005 per run |

- 100 products = **US$ 0.105** (100 x 0.001 + 0.005 start).
- Error rows, products that do not exist and duplicates are never charged. `maxItems` is a hard cap, and a spending limit set on the run stops it cleanly with everything delivered so far.
- Page access for the product pages is included in the price.

### Quick start

Paste product links (any language version) or numeric product IDs:

```json
{
  "productUrls": [
    "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930",
    "61318913"
  ],
  "language": "en",
  "maxItems": 25
}
```

Or search by keyword (a brand or product type):

```json
{
  "keywords": ["Logitech", "Netzteil"],
  "maxItems": 50
}
```

With an empty input the Actor runs a small example product so you can see the output format.

### Input

| Field | Type | What it does |
|---|---|---|
| `productUrls` | list | Digitec or Galaxus product links (`/de/`, `/en/`, `/fr/`, `/it/`) or numeric product IDs, one per line. The ID is the number at the end of a product link. |
| `keywords` | list | Words looked for in product names, one search per line. Names are matched in German, so German words and brand names work best (Netzteil, Kopfhoerer, Logitech). Several words in one line must all match. |
| `language` | select | `en` (default), `de`, `fr` or `it`: language of category names, descriptions and specs. |
| `maxItems` | number | Hard cap for the whole run. Default 25, 0 = no cap. |
| `proxyConfiguration` | object | Connection settings. The defaults work for most runs. |

Notes:

- Product IDs and links of other language versions all work. Links are opened in the language you pick in `language`.
- Keyword search looks through a large part of the catalog, not all of it. It is built to find products by brand or type quickly. When you need a specific product, use its link or ID.
- The same product given twice (for example as a link and as an ID) is delivered and charged once.

### Output

One row per product. Fields that the page does not have are left out instead of shown empty.

| Field | Description |
|---|---|
| `productId` | Digitec product number |
| `name`, `brand` | Product name and brand |
| `url` | Product page link in the chosen language |
| `price` | Current price in CHF including VAT |
| `priceExclTax` | Current price excluding VAT |
| `currency` | Currency code (CHF) |
| `availability`, `inStock` | Availability text (for example InStock) and a true/false flag |
| `stockQuantity` | Units shown as available, when the page shows them |
| `expectedDeliveryAt` | Earliest expected delivery, when shown |
| `itemCondition` | New, Used or Refurbished |
| `category`, `categoryPath` | Product type and the full path from the main category |
| `gtin`, `mpn` | EAN/GTIN barcode and manufacturer part number |
| `seller`, `sellerType` | Seller name for marketplace offers, and Retail or Marketplace |
| `warrantyMonths`, `returnPolicy` | Manufacturer warranty and return policy |
| `rating`, `reviewCount` | Average rating and number of ratings (only for products with ratings) |
| `imageUrl` | Main product image |
| `description` | Product description |
| `specs` | Technical specs grouped by section (dimensions, connections, battery and so on) |
| `inputUrl` | The link, ID or keyword that produced the row |
| `scrapedAt` | Time of collection (UTC) |

Reviews are not included: you get the rating summary, never who wrote what.

#### Example output

```json
{
  "productId": "61276930",
  "name": "Momentum 4 Wireless",
  "brand": "Sennheiser",
  "url": "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930",
  "price": 170.0,
  "priceExclTax": 157.26,
  "currency": "CHF",
  "availability": "InStock",
  "inStock": true,
  "stockQuantity": 11,
  "expectedDeliveryAt": "2026-11-02T23:00:00Z",
  "itemCondition": "New",
  "category": "Headphones",
  "categoryPath": [
    "Audio",
    "Headphones + Headset",
    "Headphones"
  ],
  "gtin": "4260752333955",
  "mpn": "800074",
  "sellerType": "Retail",
  "warrantyMonths": 24,
  "returnPolicy": "30-day right of return",
  "rating": 4.5,
  "reviewCount": 837,
  "imageUrl": "https://static01.galaxus.com/productimages/8/0/2/1/1/9/9/1/4/8/9/2/9/3/5/0/0/2/4/01a0d416-ced9-7d56-8dcc-20e4dfe6a2fa_sea.jpeg",
  "description": "The Momentum 4 Wireless Headphones from Sennheiser offer a premium listening experience with cutting-edge technology. These wireless over-ear headphones are ...",
  "specs": {
    "General information": {
      "Item number": "61276930",
      "Manufacturer": "Sennheiser",
      "Category": "Headphones"
    },
    "Colour": {
      "Colour": "Brown",
      "Exact colour description": "Brown"
    },
    "Material": {
      "Material": "Plastic"
    }
  },
  "inputUrl": "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930",
  "scrapedAt": "2026-11-02T01:30:00Z"
}
```

### Errors you may see

Error rows are free and carry `errorCode` and `error`:

| errorCode | Meaning |
|---|---|
| `INVALID_URL` | The text is not a Digitec or Galaxus product link or a numeric ID. |
| `NOT_FOUND` | The product does not exist (any more). |
| `NO_RESULTS` | No product matched a keyword, or nothing matched the whole input. |
| `BLOCKED` | The product could not be read after several attempts. Run it again in a few minutes. |
| `INVALID_INPUT` | An input value is not valid, for example an unknown language. |

### Integrations, scheduling and AI agents

- **Schedules:** run the Actor every day or every hour with your list of product IDs to build a price and stock history.
- **Export:** download the dataset as JSON, CSV, Excel, XML or HTML, or read it with the Apify API.
- **Make, n8n, Zapier and Google Sheets:** use the Apify integrations to send new rows to your tools or trigger a flow when a run finishes.
- **Webhooks:** call your own endpoint when a run ends, for example to refresh a repricing table.
- **AI agents:** connect the Actor to the Apify MCP server so an assistant can look up a Swiss price, check stock or compare specs on demand.

### FAQ

**Does it need a login or cookies?** No. It only reads public product pages.

**Can I get prices for many products every day?** Yes. Put the IDs in `productUrls` and schedule the run. Each product costs US$ 0.001.

**Do Galaxus links work?** Yes, galaxus.ch product links give the same fields.

**Which currency do I get?** The prices on these shops are in Swiss francs (CHF).

**Why is a name short, without the brand?** `name` is the product name as the shop shows it, and the brand is in its own field.

**Can I scrape a whole category?** Not in this version. Use keywords for brand or product-type discovery, or give the product IDs you track.

**How many products per run?** Set `maxItems`. Runs of a few hundred products finish in minutes.

### Limitations

- Product pages only: category lists, search results pages, reviews and cart data are not scraped.
- Keyword search covers part of the catalog and matches product names in German.
- Prices and stock are those shown to a visitor in Switzerland at the moment of the run.

### Changelog

- **2 Nov 2026 (0.1):** first release with product links, IDs and keyword search, four languages, VAT-inclusive and exclusive prices, stock, category path, GTIN, seller, warranty, rating and technical specs.

# Actor input Schema

## `productUrls` (type: `array`):

Digitec or Galaxus product page links (any language: /de/, /en/, /fr/, /it/) or just the numeric product ID, one per line. The ID is the number at the end of a product link.

## `keywords` (type: `array`):

Words to look for in product names, one search per line, for example a brand or a product type. Product names are matched in German, so German words and brand names work best (Netzteil, Kopfhörer, Logitech). Several words in one line must all match. Matches come from a large part of the catalog, not all of it: for a specific product use the links above. Leave empty if you use links.

## `language` (type: `string`):

Language of category names, descriptions and specs.

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

Hard cap for the whole run. 0 = no cap.

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

The defaults work for most runs. Change it only if you know you need to.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930"
  ],
  "language": "en",
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "productUrls": [
        "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930"
    ],
    "maxItems": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/digitec-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 = {
    "productUrls": ["https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930"],
    "maxItems": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/digitec-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 '{
  "productUrls": [
    "https://www.digitec.ch/en/s1/product/sennheiser-momentum-4-wireless-anc-60-h-cable-wireless-headphones-61276930"
  ],
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/digitec-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/digitec-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/EkicFDMJoInhjlIA5/builds/4eLu5hzeplelWa9o0/openapi.json
