# Denner.ch Scraper — Swiss Wine & Grocery Prices (`studio-amba/denner-ch-scraper`) Actor

Scrape wine and grocery products, prices, promotions, ratings and images from denner.ch, Migros-owned Denner's Swiss wine and discount grocery shop. Search any keyword and export clean structured product data.

- **URL**: https://apify.com/studio-amba/denner-ch-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Denner.ch Scraper — Swiss Wine & Grocery Prices

Scrape wine and grocery products, prices, promotions, ratings, and images from **denner.ch**, the online wine and discount grocery shop of Denner — Switzerland's third-largest grocery chain, owned by Migros. Browse the buyable wine catalogue by category or search any keyword, and export clean, structured product data.

### Why use this actor?

Denner is a Migros Group brand with a large national footprint of discount stores and its own online wine shop (Weinshop) with real cart checkout. Its wine assortment, prices, and weekly promotions are useful for price monitoring, competitor benchmarking, and market research alongside the other Swiss grocery chains (Migros, Coop). This actor turns a category browse or keyword search into a structured dataset you can drop straight into a spreadsheet, database, or price-comparison pipeline. Every product comes with its Denner product ID, current price, unit price, and — when discounted — the original price and the promotion percentage shown on the site.

### How to scrape Denner data

1. Choose a mode:
   - **Category URL** (recommended): paste a denner.ch Weinshop category URL, e.g. `https://www.denner.ch/de/weinshop/wein/champagner~c1144373`. This returns the actual webshop-orderable wine catalogue for that category.
   - **Search query**: a German keyword (e.g. `wein`, `rotwein`, `schokolade`, `kaffee`). This searches Denner's weekly flyer/in-store promotions across wine and grocery.
2. Set **Max Results** to how many products you want.
3. Run the actor. Results land in the dataset and can be exported as JSON, CSV, Excel, or via the API.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `categoryUrl` | String | No | A denner.ch Weinshop category URL ending in `~c{id}`. Takes priority over `searchQuery` when set. |
| `searchQuery` | String | No | Search keyword in German (default: `rotwein`). Used only when `categoryUrl` is empty. |
| `maxResults` | Integer | No | Maximum products to return (default: 100) |
| `proxyConfiguration` | Object | No | Apify Proxy settings. Automatic proxy works out of the box — denner.ch has no anti-bot wall on its search API. |

### Output

Each result contains:

| Field | Type | Example |
|-------|------|---------|
| `name` | String | `"Leopardo Spumante Extra Dry"` |
| `brand` | String | `"Denner"` (only for Denner's own-label line; most wine is unbranded private-label) |
| `price` | Number | `59.7` |
| `currency` | String | `"CHF"` |
| `originalPrice` | Number | `71.7` (only when on promotion) |
| `pricePerUnit` | String | `"Flasche: 9.95"` (per-bottle price for multi-packs) |
| `discount` | String | `"31%"` or `"½ PREIS"` (only when on promotion) |
| `quantity` | String | `"Italien, 75 cl"` |
| `sku` / `productId` | String | `"1027008"` |
| `inStock` | Boolean or null | `true` — whether the item is orderable via the webshop |
| `rating` | Number | `4.5` |
| `reviewCount` | Number | `116` |
| `imageUrl` | String | Product image URL |
| `description` | String | Wine tasting notes ("character"), when available |
| `category` | String | `"Schaumwein"` |
| `specs` | Object | `{"country": "Italien", "region": "Toskana", "vintage": "2024"}` (wine items) |
| `url` | String | Full product page URL |
| `scrapedAt` | String | ISO 8601 timestamp |

### Example output

```json
{
    "name": "Leopardo Spumante Extra Dry",
    "brand": "",
    "price": 59.7,
    "currency": "CHF",
    "url": "https://www.denner.ch/de/weinshop/leopardo-spumante-extra-dry~p1027008",
    "scrapedAt": "2026-08-26T14:15:40.882Z",
    "pricePerUnit": "Flasche: 9.95",
    "quantity": "Italien, 75 cl",
    "sku": "1027008",
    "productId": "1027008",
    "inStock": true,
    "rating": 4.5,
    "reviewCount": 116,
    "imageUrl": "https://denner.imgix.net/assets/72df2377-2ea7-43a5-94dd-cc6d036ad091/web/051072_23_02_21.tif_PACK_ITEM.png",
    "description": "Helles Strohgelb mit grünen Reflexen. Aromatisch, mit feinem Duft von gelben Früchten. Lebhafte Perlage, mittlerer Körper und lang anhaltender Abgang.",
    "category": "Schaumwein",
    "specs": { "country": "Italien", "region": "verschiedene Regionen" }
}
```

### How it works

denner.ch (a Nuxt 3 frontend) runs [Prediggo](https://www.prediggo.com), a merchandising/search engine, behind a JSON API at `/search-api/simplePageContent`. The frontend calls this endpoint server-side to render every category-listing and search-results page — this actor calls the same endpoint directly, so it gets full structured product data (name, price, promo, rating, images, tasting notes) in one lightweight request per page, without parsing HTML or running a browser.

There are two distinct product feeds behind this one API:

- **Category browsing** (`categoryUrl` input) hits the "Wine Shop Listing" block (24 results/page) and returns products that are genuinely orderable through the webshop (`isBuyable: true` on every item tested).
- **Keyword search** (`searchQuery` input) hits the "Pre-search" block (5 results/page, fixed) and returns Denner's weekly flyer/in-store promotions — real price and discount data, but not addable to an online cart (`isBuyable: false` on every item tested). Both are exposed here; the actor is honest about which mode you're in via the `inStock` field.

No anti-bot protection sits in front of either endpoint (plain nginx, confirmed live) — no proxy escalation or browser automation is needed.

### Cost estimate

Each page fetch is a single lightweight JSON POST request (no browser, no rendering). A run of 100 results costs roughly 5 requests in category mode (24/page) or 20 requests in search mode (5/page), each completing in well under a second. Apify platform compute for a typical run is a few seconds. The run's usage cost only settles after the run status reports SUCCEEDED — reading the dataset mid-run undercounts the actual cost.

### Limitations

- `inStock` reflects the "orderable via the webshop" signal (`isBuyable`); it is `null` on any item where that signal isn't present, and it is `false` on every keyword-search result by design (search surfaces in-store-only weekly promotions, not the webshop catalogue — use `categoryUrl` for buyable items).
- Prices and promotions are the national online values; results are in Swiss Francs (CHF) only.
- Most wine and grocery items are unbranded / Denner private-label — `brand` is only populated for the "Denner"-branded own-label line.
- Data is scraped from the public website and may change without notice.
- Respect the website's terms of service and use responsibly.

### Related Scrapers

- [Migros Scraper](https://apify.com/store) — Switzerland's #1 grocery retailer, Denner's parent company
- [Coop Switzerland Scraper](https://apify.com/store) — Switzerland's #2 grocery retailer
- [Tutti.ch Scraper](https://apify.com/store) — Swiss classifieds marketplace
- [Local.ch Scraper](https://apify.com/store) — Swiss business directory

### Need this data on a schedule, or a custom version?

We run this scraper as a managed service for businesses: scheduled runs,
deduplication, delta detection, and delivery to your inbox, Google Sheets,
or API — maintenance included. We can also build a custom version with your
exact fields and filters, or combine multiple sources into one feed.

See [studioamba.dev/services](https://studioamba.dev/services/) or email
<hello@studioamba.dev> for a free data sample.
We maintain 300+ European web scrapers and answer within one business day.

# Actor input Schema

## `categoryUrl` (type: `string`):

A denner.ch Weinshop category URL ending in '~c{id}' (e.g. https://www.denner.ch/de/weinshop/wein/champagner~c1144373). Returns the actual webshop-orderable wine catalogue for that category. Takes priority over Search Query when set. Leave empty to search by keyword instead.

## `searchQuery` (type: `string`):

Search denner.ch for wine or grocery products by keyword, in German (e.g. 'wein', 'rotwein', 'schokolade', 'kaffee'). Used only when Wine Shop Category URL is empty. Note: search results are Denner's weekly flyer/in-store promotions (real price/promo data, but not orderable via the webshop) — use Category URL for the buyable wine catalogue.

## `maxResults` (type: `integer`):

Maximum number of products to return.

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

Proxy settings. denner.ch has no anti-bot wall on its search API, so Apify's default (automatic) proxy is sufficient.

## Actor input object example

```json
{
  "searchQuery": "rotwein",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchQuery": "rotwein",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/denner-ch-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 = {
    "searchQuery": "rotwein",
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/denner-ch-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 '{
  "searchQuery": "rotwein",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/denner-ch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/denner-ch-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/3FS08P9Nw3GknC2dR/builds/cp2zGiEkKM28MXAFy/openapi.json
