# Rewe Product Scraper (`getdataforme/rewe-product-scraper`) Actor

Extract detailed recipe data from REWE's website via keyword-based search. Captures titles, images, ratings, difficulty, and tags for market research and content aggregation. Features proxy support, pagination control, and reliable PlaywrightCrawler for scalable, structured JSON output.

- **URL**: https://apify.com/getdataforme/rewe-product-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Agents, E-commerce, Lead generation
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 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

## Rewe Product Scraper

The Rewe Product Scraper is a powerful Apify Actor designed to extract detailed recipe data from REWE's website efficiently and reliably. It allows users to search for recipes based on keywords, scrape comprehensive information including titles, images, ratings, and more, making it ideal for data-driven insights into culinary trends. Whether you're conducting market research or aggregating content, this tool delivers high-quality, structured data with minimal setup.

### Features

- **Keyword-Based Search**: Easily scrape recipes by entering specific search terms like "Fleisch" or "Vegan".
- **Comprehensive Data Extraction**: Captures essential details such as recipe titles, images, difficulty levels, total time, ratings, and tags.
- **Proxy Support**: Utilizes residential proxies to avoid IP blocks and ensure smooth, undetected scraping.
- **Pagination Control**: Set maximum pages to scrape, allowing for targeted data collection without overwhelming resources.
- **Structured Output**: Delivers clean JSON data, perfect for integration with databases or analytics tools.
- **High Reliability**: Built on PlaywrightCrawler for robust handling of dynamic web content.
- **Fast and Scalable**: Processes multiple pages quickly, supporting large-scale data extraction projects.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| searchKeyword | string | Yes | The keyword to search for recipes on REWE's site. | "Fleisch" |
| proxyConfiguration | object | No | Configures proxy settings to mask the scraper's origin and avoid blocks. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |
| MaxPages | number | No | Limits the number of pages to scrape per keyword for controlled data volume. | 10 |

### Example Usage

#### Input JSON

```json
{
  "searchKeyword": "Fleisch",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  },
  "MaxPages": 5
}
```

#### Output JSON

```json
[
  {
    "searchTerm": "Fleisch",
    "recipeId": "blt7e515877c1583c8a",
    "urlName": "linsensuppe",
    "title": "Linsensuppe",
    "imageUrl": "https://c.rewe-static.de/35348639/1/35348639.png",
    "youtubeId": "ko9dVkl2l04",
    "tags": [
      "Vegetarisch",
      "Vegan",
      "Laktosefrei",
      "Kalorienarm"
    ],
    "difficulty": 1,
    "totalTime": 55,
    "isRecipeOfTheDay": false,
    "detailUrl": "https://www.rewe.de/rezepte/linsensuppe/",
    "loggedIn": false,
    "favored": false,
    "hasOfferedIngredient": false,
    "icid": "",
    "hasIngredientReweBonus": false,
    "aggregatedRating": {
      "recipeId": "blt7e515877c1583c8a",
      "averageRating": 3.772152,
      "totalNumberOfRatings": 79
    },
    "imageSizesConfig": null,
    "scrapedAt": "2025-11-17T05:56:20.752Z"
  }
]
```

### Use Cases

- **Market Research**: Analyze popular recipes and trends to inform product development in the food industry.
- **Competitive Intelligence**: Monitor REWE's recipe offerings to compare with competitors.
- **Price Monitoring**: Track ingredient availability and related recipes for pricing strategies.
- **Content Aggregation**: Build databases of recipes for blogs, apps, or meal planning services.
- **Academic Research**: Study dietary patterns and nutritional data from recipe metadata.
- **Business Automation**: Automate data feeds for e-commerce platforms or recommendation engines.

### Installation and Usage

1. Search for "Rewe Product Scraper" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs an array of JSON objects, each representing a scraped recipe. Key fields include `searchTerm` (the keyword used), `recipeId` (unique identifier), `title` (recipe name), `imageUrl` (link to image), `tags` (array of dietary labels), `difficulty` (numeric level), `totalTime` (in minutes), `aggregatedRating` (object with average and count), and `scrapedAt` (timestamp). This structure ensures easy parsing and integration.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

# Actor input Schema

## `searchKeyword` (type: `string`):

Enter the search keyword for which you want to scrape recipes from REWE.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## `MaxPages` (type: `number`):

Maximum number of pages to scrape per search keyword.

## Actor input object example

```json
{
  "searchKeyword": "Fleisch",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "MaxPages": 10
}
```

# 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 = {
    "searchKeyword": "Fleisch",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/rewe-product-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 = {
    "searchKeyword": "Fleisch",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/rewe-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchKeyword": "Fleisch",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/rewe-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=getdataforme/rewe-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8ezVVT7TsyaSuffkS/builds/bxTelVIGLtGcxZKnC/openapi.json
