# Lidl Scraper (`one_house/lidl-scraper`) Actor

Scrape product listings from lidl.de categories, subcategories, and search results.

- **URL**: https://apify.com/one\_house/lidl-scraper.md
- **Developed by:** [One House](https://apify.com/one_house) (community)
- **Categories:** E-commerce, Integrations, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 results

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/platform/actors/running/actors-in-store#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

Extract product listings from [lidl.de](https://www.lidl.de) — any category, subcategory, or search results — including price, discount, rating, availability, and images, by calling Lidl's own JSON search API directly.

### What does Lidl Scraper do?

This Actor scrapes product data from lidl.de category pages, subcategory pages, and search results. Give it one or more category URLs (e.g. `https://www.lidl.de/c/wohnen-einrichtung/s10067762`) or plain keywords (e.g. `silvercrest`), and it returns every matching product with title, brand, price, discount, rating, stock status, and images — no browser rendering needed, so runs are fast and cheap. Use the Apify platform to schedule recurring price/catalog monitoring, export results via API, or integrate with your own pipeline.

### Why use Lidl Scraper?

- **Price and discount tracking** — monitor Lidl's rotating weekly deals and "Mega Schnäppchen" discounts across whole categories.
- **Catalog monitoring** — track new products, availability, and rating changes for a category over time.
- **Market research** — pull structured pricing and assortment data for competitor analysis.

### How to use Lidl Scraper

1. Open this Actor and click **Start**.
2. Add one or more **Start URLs** — copy any lidl.de category or subcategory URL from your browser (e.g. `https://www.lidl.de/c/wohnen-einrichtung/s10067762` or `https://www.lidl.de/h/garten-balkon/h10067558`), or a `/q/api/...` URL if you already have one.
3. Alternatively (or in addition), add plain keywords under **Search queries** — no URL needed.
4. Optionally set **Sort by** to control result order.
5. Set **Max items per source** to cap how many products come back per URL/query (0 = all matching products).
6. Run and download results from the **Dataset** tab.

### Input example

```json
{
    "startUrls": [
        { "url": "https://www.lidl.de/c/wohnen-einrichtung/s10067762" },
        { "url": "https://www.lidl.de/h/garten-balkon/h10067558" }
    ],
    "searchQueries": ["silvercrest"],
    "maxItemsPerSource": 200
}
```

### Output example

```json
{
    "productId": 100407498,
    "title": "Bettwäsche Mikrofaser Seersucker, 135 x 200 cm (Blumen)",
    "brand": "LIVARNO®",
    "url": "https://www.lidl.de/p/livarno-bettwaesche-mikrofaser-seersucker-135-x-200-cm/p100407498004",
    "price": 4.99,
    "currency": "EUR",
    "recommendedPrice": 5.99,
    "discountPercentage": 17,
    "rating": 4.2,
    "ratingCount": 11,
    "onlineAvailable": true,
    "category": "Kategorien/Wohnen & Einrichten/Heimtextilien/Bettwäsche/Seersucker Bettwäsche",
    "source": "www.lidl.de",
    "scrapedAt": "2026-08-09T00:00:00.000Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field                                     | Description                                              |
| ----------------------------------------- | -------------------------------------------------------- |
| `title` / `fullTitle`                     | Product name (short and brand-prefixed)                  |
| `brand`                                   | Brand name                                               |
| `price` / `currency`                      | Current price                                            |
| `recommendedPrice` / `discountPercentage` | Reference price and discount, when on offer              |
| `basePrice`                               | Unit price (e.g. price per liter), when applicable       |
| `rating` / `ratingCount`                  | Average rating and review count                          |
| `onlineAvailable` / `availabilityText`    | Stock status                                             |
| `image` / `images`                        | Product image URLs                                       |
| `category` / `categoryPath`               | Category breadcrumb                                      |
| `url`                                     | Product page URL                                         |
| `raw`                                     | Full unmodified API item, for any field not mapped above |

### Tips

- Start with a small **Max items per source** to confirm results look right before scaling up.
- Combine several category URLs and search queries in a single run — each is fetched and paginated independently.
- `raw` always contains the complete original API response item, so nothing is lost even if a named field mapping goes stale.

# Actor input Schema

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

Category pages (e.g. https://www.lidl.de/c/wohnen-einrichtung/s10067762 or https://www.lidl.de/h/garten-balkon/h10067558) or already-direct https://www.lidl.de/q/api/... URLs copied from the site.

## `searchQueries` (type: `array`):

Plain keywords to search for, as an alternative (or addition) to Start URLs.

## `sortBy` (type: `string`):

Result order. Leave unset to use lidl.de's own default for that page.

## `maxItemsPerSource` (type: `integer`):

Maximum number of products to return per start URL or search query. Set 0 for all matching products.

## `pageSize` (type: `integer`):

Products fetched per API request (1-1000).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.lidl.de/c/wohnen-einrichtung/s10067762"
    }
  ],
  "searchQueries": [
    "silvercrest"
  ],
  "maxItemsPerSource": 200,
  "pageSize": 48
}
```

# 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": [
        {
            "url": "https://www.lidl.de/c/wohnen-einrichtung/s10067762"
        }
    ],
    "searchQueries": [
        "silvercrest"
    ],
    "maxItemsPerSource": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("one_house/lidl-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": [{ "url": "https://www.lidl.de/c/wohnen-einrichtung/s10067762" }],
    "searchQueries": ["silvercrest"],
    "maxItemsPerSource": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("one_house/lidl-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": [
    {
      "url": "https://www.lidl.de/c/wohnen-einrichtung/s10067762"
    }
  ],
  "searchQueries": [
    "silvercrest"
  ],
  "maxItemsPerSource": 200
}' |
apify call one_house/lidl-scraper --silent --output-dataset

```

## MCP server setup

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